AWS SDK for C++  1.9.40
AWS SDK for C++
CreateMultiplexProgramRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 #include <aws/core/utils/UUID.h>
13 
14 namespace Aws
15 {
16 namespace MediaLive
17 {
18 namespace Model
19 {
20 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "CreateMultiplexProgram"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
43  inline const Aws::String& GetMultiplexId() const{ return m_multiplexId; }
44 
48  inline bool MultiplexIdHasBeenSet() const { return m_multiplexIdHasBeenSet; }
49 
53  inline void SetMultiplexId(const Aws::String& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = value; }
54 
58  inline void SetMultiplexId(Aws::String&& value) { m_multiplexIdHasBeenSet = true; m_multiplexId = std::move(value); }
59 
63  inline void SetMultiplexId(const char* value) { m_multiplexIdHasBeenSet = true; m_multiplexId.assign(value); }
64 
68  inline CreateMultiplexProgramRequest& WithMultiplexId(const Aws::String& value) { SetMultiplexId(value); return *this;}
69 
73  inline CreateMultiplexProgramRequest& WithMultiplexId(Aws::String&& value) { SetMultiplexId(std::move(value)); return *this;}
74 
78  inline CreateMultiplexProgramRequest& WithMultiplexId(const char* value) { SetMultiplexId(value); return *this;}
79 
80 
84  inline const MultiplexProgramSettings& GetMultiplexProgramSettings() const{ return m_multiplexProgramSettings; }
85 
89  inline bool MultiplexProgramSettingsHasBeenSet() const { return m_multiplexProgramSettingsHasBeenSet; }
90 
94  inline void SetMultiplexProgramSettings(const MultiplexProgramSettings& value) { m_multiplexProgramSettingsHasBeenSet = true; m_multiplexProgramSettings = value; }
95 
99  inline void SetMultiplexProgramSettings(MultiplexProgramSettings&& value) { m_multiplexProgramSettingsHasBeenSet = true; m_multiplexProgramSettings = std::move(value); }
100 
104  inline CreateMultiplexProgramRequest& WithMultiplexProgramSettings(const MultiplexProgramSettings& value) { SetMultiplexProgramSettings(value); return *this;}
105 
109  inline CreateMultiplexProgramRequest& WithMultiplexProgramSettings(MultiplexProgramSettings&& value) { SetMultiplexProgramSettings(std::move(value)); return *this;}
110 
111 
115  inline const Aws::String& GetProgramName() const{ return m_programName; }
116 
120  inline bool ProgramNameHasBeenSet() const { return m_programNameHasBeenSet; }
121 
125  inline void SetProgramName(const Aws::String& value) { m_programNameHasBeenSet = true; m_programName = value; }
126 
130  inline void SetProgramName(Aws::String&& value) { m_programNameHasBeenSet = true; m_programName = std::move(value); }
131 
135  inline void SetProgramName(const char* value) { m_programNameHasBeenSet = true; m_programName.assign(value); }
136 
140  inline CreateMultiplexProgramRequest& WithProgramName(const Aws::String& value) { SetProgramName(value); return *this;}
141 
145  inline CreateMultiplexProgramRequest& WithProgramName(Aws::String&& value) { SetProgramName(std::move(value)); return *this;}
146 
150  inline CreateMultiplexProgramRequest& WithProgramName(const char* value) { SetProgramName(value); return *this;}
151 
152 
158  inline const Aws::String& GetRequestId() const{ return m_requestId; }
159 
165  inline bool RequestIdHasBeenSet() const { return m_requestIdHasBeenSet; }
166 
172  inline void SetRequestId(const Aws::String& value) { m_requestIdHasBeenSet = true; m_requestId = value; }
173 
179  inline void SetRequestId(Aws::String&& value) { m_requestIdHasBeenSet = true; m_requestId = std::move(value); }
180 
186  inline void SetRequestId(const char* value) { m_requestIdHasBeenSet = true; m_requestId.assign(value); }
187 
193  inline CreateMultiplexProgramRequest& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
194 
200  inline CreateMultiplexProgramRequest& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
201 
207  inline CreateMultiplexProgramRequest& WithRequestId(const char* value) { SetRequestId(value); return *this;}
208 
209  private:
210 
211  Aws::String m_multiplexId;
212  bool m_multiplexIdHasBeenSet;
213 
214  MultiplexProgramSettings m_multiplexProgramSettings;
215  bool m_multiplexProgramSettingsHasBeenSet;
216 
217  Aws::String m_programName;
218  bool m_programNameHasBeenSet;
219 
220  Aws::String m_requestId;
221  bool m_requestIdHasBeenSet;
222  };
223 
224 } // namespace Model
225 } // namespace MediaLive
226 } // namespace Aws
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetMultiplexProgramSettings
void SetMultiplexProgramSettings(const MultiplexProgramSettings &value)
Definition: CreateMultiplexProgramRequest.h:94
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithMultiplexProgramSettings
CreateMultiplexProgramRequest & WithMultiplexProgramSettings(MultiplexProgramSettings &&value)
Definition: CreateMultiplexProgramRequest.h:109
Aws::MediaLive::Model::CreateMultiplexProgramRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateMultiplexProgramRequest.h:35
Aws::MediaLive::Model::MultiplexProgramSettings
Definition: MultiplexProgramSettings.h:34
Aws::MediaLive::Model::CreateMultiplexProgramRequest
Definition: CreateMultiplexProgramRequest.h:27
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithProgramName
CreateMultiplexProgramRequest & WithProgramName(const char *value)
Definition: CreateMultiplexProgramRequest.h:150
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetProgramName
void SetProgramName(const Aws::String &value)
Definition: CreateMultiplexProgramRequest.h:125
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: CreateMultiplexProgramRequest.h:179
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetMultiplexId
void SetMultiplexId(Aws::String &&value)
Definition: CreateMultiplexProgramRequest.h:58
Aws::MediaLive::MediaLiveRequest
Definition: MediaLiveRequest.h:17
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithProgramName
CreateMultiplexProgramRequest & WithProgramName(const Aws::String &value)
Definition: CreateMultiplexProgramRequest.h:140
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithRequestId
CreateMultiplexProgramRequest & WithRequestId(const Aws::String &value)
Definition: CreateMultiplexProgramRequest.h:193
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithMultiplexId
CreateMultiplexProgramRequest & WithMultiplexId(const Aws::String &value)
Definition: CreateMultiplexProgramRequest.h:68
MultiplexProgramSettings.h
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetProgramName
void SetProgramName(Aws::String &&value)
Definition: CreateMultiplexProgramRequest.h:130
AWS_MEDIALIVE_API
#define AWS_MEDIALIVE_API
Definition: MediaLive_EXPORTS.h:28
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithMultiplexProgramSettings
CreateMultiplexProgramRequest & WithMultiplexProgramSettings(const MultiplexProgramSettings &value)
Definition: CreateMultiplexProgramRequest.h:104
Aws::MediaLive::Model::CreateMultiplexProgramRequest::ProgramNameHasBeenSet
bool ProgramNameHasBeenSet() const
Definition: CreateMultiplexProgramRequest.h:120
Aws::MediaLive::Model::CreateMultiplexProgramRequest::RequestIdHasBeenSet
bool RequestIdHasBeenSet() const
Definition: CreateMultiplexProgramRequest.h:165
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetRequestId
void SetRequestId(const char *value)
Definition: CreateMultiplexProgramRequest.h:186
AWSString.h
Aws::MediaLive::Model::CreateMultiplexProgramRequest::MultiplexIdHasBeenSet
bool MultiplexIdHasBeenSet() const
Definition: CreateMultiplexProgramRequest.h:48
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithMultiplexId
CreateMultiplexProgramRequest & WithMultiplexId(const char *value)
Definition: CreateMultiplexProgramRequest.h:78
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithRequestId
CreateMultiplexProgramRequest & WithRequestId(Aws::String &&value)
Definition: CreateMultiplexProgramRequest.h:200
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: CreateMultiplexProgramRequest.h:172
Aws::MediaLive::Model::CreateMultiplexProgramRequest::GetRequestId
const Aws::String & GetRequestId() const
Definition: CreateMultiplexProgramRequest.h:158
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithProgramName
CreateMultiplexProgramRequest & WithProgramName(Aws::String &&value)
Definition: CreateMultiplexProgramRequest.h:145
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetProgramName
void SetProgramName(const char *value)
Definition: CreateMultiplexProgramRequest.h:135
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetMultiplexProgramSettings
void SetMultiplexProgramSettings(MultiplexProgramSettings &&value)
Definition: CreateMultiplexProgramRequest.h:99
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetMultiplexId
void SetMultiplexId(const char *value)
Definition: CreateMultiplexProgramRequest.h:63
Aws
Definition: AccessManagementClient.h:15
MediaLiveRequest.h
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaLive::Model::CreateMultiplexProgramRequest::GetMultiplexId
const Aws::String & GetMultiplexId() const
Definition: CreateMultiplexProgramRequest.h:43
Aws::MediaLive::Model::CreateMultiplexProgramRequest::GetMultiplexProgramSettings
const MultiplexProgramSettings & GetMultiplexProgramSettings() const
Definition: CreateMultiplexProgramRequest.h:84
Aws::MediaLive::Model::CreateMultiplexProgramRequest::CreateMultiplexProgramRequest
CreateMultiplexProgramRequest()
Aws::MediaLive::Model::CreateMultiplexProgramRequest::GetProgramName
const Aws::String & GetProgramName() const
Definition: CreateMultiplexProgramRequest.h:115
UUID.h
Aws::MediaLive::Model::CreateMultiplexProgramRequest::SetMultiplexId
void SetMultiplexId(const Aws::String &value)
Definition: CreateMultiplexProgramRequest.h:53
Aws::MediaLive::Model::CreateMultiplexProgramRequest::MultiplexProgramSettingsHasBeenSet
bool MultiplexProgramSettingsHasBeenSet() const
Definition: CreateMultiplexProgramRequest.h:89
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithMultiplexId
CreateMultiplexProgramRequest & WithMultiplexId(Aws::String &&value)
Definition: CreateMultiplexProgramRequest.h:73
MediaLive_EXPORTS.h
Aws::MediaLive::Model::CreateMultiplexProgramRequest::WithRequestId
CreateMultiplexProgramRequest & WithRequestId(const char *value)
Definition: CreateMultiplexProgramRequest.h:207