1 /**
2  * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3  * SPDX-License-Identifier: Apache-2.0.
4  */
5 
6 #pragma once
7 #include <aws/medialive/MediaLive_EXPORTS.h>
8 #include <aws/medialive/MediaLiveRequest.h>
9 #include <aws/core/utils/memory/stl/AWSString.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace MediaLive
15 {
16 namespace Model
17 {
18 
19   /**
20    * Placeholder documentation for DeleteMultiplexProgramRequest<p><h3>See Also:</h3>
21    * <a
22    * href="http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteMultiplexProgramRequest">AWS
23    * API Reference</a></p>
24    */
25   class AWS_MEDIALIVE_API DeleteMultiplexProgramRequest : public MediaLiveRequest
26   {
27   public:
28     DeleteMultiplexProgramRequest();
29 
30     // Service request name is the Operation name which will send this request out,
31     // each operation should has unique request name, so that we can get operation's name from this request.
32     // Note: this is not true for response, multiple operations may have the same response name,
33     // so we can not get operation's name from response.
GetServiceRequestName()34     inline virtual const char* GetServiceRequestName() const override { return "DeleteMultiplexProgram"; }
35 
36     Aws::String SerializePayload() const override;
37 
38 
39     /**
40      * The ID of the multiplex that the program belongs to.
41      */
GetMultiplexId()42     inline const Aws::String& GetMultiplexId() const{ return m_multiplexId; }
43 
44     /**
45      * The ID of the multiplex that the program belongs to.
46      */
MultiplexIdHasBeenSet()47     inline bool MultiplexIdHasBeenSet() const { return m_multiplexIdHasBeenSet; }
48 
49     /**
50      * The ID of the multiplex that the program belongs to.
51      */
SetMultiplexId(const Aws::String & value)52     inline void SetMultiplexId(const Aws::String& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = value; }
53 
54     /**
55      * The ID of the multiplex that the program belongs to.
56      */
SetMultiplexId(Aws::String && value)57     inline void SetMultiplexId(Aws::String&& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = std::move(value); }
58 
59     /**
60      * The ID of the multiplex that the program belongs to.
61      */
SetMultiplexId(const char * value)62     inline void SetMultiplexId(const char* value) { m_multiplexIdHasBeenSet = true; m_multiplexId.assign(value); }
63 
64     /**
65      * The ID of the multiplex that the program belongs to.
66      */
WithMultiplexId(const Aws::String & value)67     inline DeleteMultiplexProgramRequest& WithMultiplexId(const Aws::String& value) { SetMultiplexId(value); return *this;}
68 
69     /**
70      * The ID of the multiplex that the program belongs to.
71      */
WithMultiplexId(Aws::String && value)72     inline DeleteMultiplexProgramRequest& WithMultiplexId(Aws::String&& value) { SetMultiplexId(std::move(value)); return *this;}
73 
74     /**
75      * The ID of the multiplex that the program belongs to.
76      */
WithMultiplexId(const char * value)77     inline DeleteMultiplexProgramRequest& WithMultiplexId(const char* value) { SetMultiplexId(value); return *this;}
78 
79 
80     /**
81      * The multiplex program name.
82      */
GetProgramName()83     inline const Aws::String& GetProgramName() const{ return m_programName; }
84 
85     /**
86      * The multiplex program name.
87      */
ProgramNameHasBeenSet()88     inline bool ProgramNameHasBeenSet() const { return m_programNameHasBeenSet; }
89 
90     /**
91      * The multiplex program name.
92      */
SetProgramName(const Aws::String & value)93     inline void SetProgramName(const Aws::String& value) { m_programNameHasBeenSet = true; m_programName = value; }
94 
95     /**
96      * The multiplex program name.
97      */
SetProgramName(Aws::String && value)98     inline void SetProgramName(Aws::String&& value) { m_programNameHasBeenSet = true; m_programName = std::move(value); }
99 
100     /**
101      * The multiplex program name.
102      */
SetProgramName(const char * value)103     inline void SetProgramName(const char* value) { m_programNameHasBeenSet = true; m_programName.assign(value); }
104 
105     /**
106      * The multiplex program name.
107      */
WithProgramName(const Aws::String & value)108     inline DeleteMultiplexProgramRequest& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;}
109 
110     /**
111      * The multiplex program name.
112      */
WithProgramName(Aws::String && value)113     inline DeleteMultiplexProgramRequest& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;}
114 
115     /**
116      * The multiplex program name.
117      */
WithProgramName(const char * value)118     inline DeleteMultiplexProgramRequest& WithProgramName(const char* value) { SetProgramName(value); return *this;}
119 
120   private:
121 
122     Aws::String m_multiplexId;
123     bool m_multiplexIdHasBeenSet;
124 
125     Aws::String m_programName;
126     bool m_programNameHasBeenSet;
127   };
128 
129 } // namespace Model
130 } // namespace MediaLive
131 } // namespace Aws
132