AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateInputRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/medialive/MediaLiveRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/medialive/model/SrtSettingsRequest.h>
12#include <aws/medialive/model/MulticastSettingsUpdateRequest.h>
13#include <aws/medialive/model/InputDestinationRequest.h>
14#include <aws/medialive/model/InputDeviceRequest.h>
15#include <aws/medialive/model/MediaConnectFlowRequest.h>
16#include <aws/medialive/model/InputSourceRequest.h>
17#include <utility>
18
19namespace Aws
20{
21namespace MediaLive
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MEDIALIVE_API UpdateInputRequest();
35
36 // Service request name is the Operation name which will send this request out,
37 // each operation should has unique request name, so that we can get operation's name from this request.
38 // Note: this is not true for response, multiple operations may have the same response name,
39 // so we can not get operation's name from response.
40 inline virtual const char* GetServiceRequestName() const override { return "UpdateInput"; }
41
42 AWS_MEDIALIVE_API Aws::String SerializePayload() const override;
43
44
46
49 inline const Aws::Vector<InputDestinationRequest>& GetDestinations() const{ return m_destinations; }
50 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
51 inline void SetDestinations(const Aws::Vector<InputDestinationRequest>& value) { m_destinationsHasBeenSet = true; m_destinations = value; }
52 inline void SetDestinations(Aws::Vector<InputDestinationRequest>&& value) { m_destinationsHasBeenSet = true; m_destinations = std::move(value); }
55 inline UpdateInputRequest& AddDestinations(const InputDestinationRequest& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; }
56 inline UpdateInputRequest& AddDestinations(InputDestinationRequest&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(value)); return *this; }
58
60
63 inline const Aws::Vector<InputDeviceRequest>& GetInputDevices() const{ return m_inputDevices; }
64 inline bool InputDevicesHasBeenSet() const { return m_inputDevicesHasBeenSet; }
65 inline void SetInputDevices(const Aws::Vector<InputDeviceRequest>& value) { m_inputDevicesHasBeenSet = true; m_inputDevices = value; }
66 inline void SetInputDevices(Aws::Vector<InputDeviceRequest>&& value) { m_inputDevicesHasBeenSet = true; m_inputDevices = std::move(value); }
68 inline UpdateInputRequest& WithInputDevices(Aws::Vector<InputDeviceRequest>&& value) { SetInputDevices(std::move(value)); return *this;}
69 inline UpdateInputRequest& AddInputDevices(const InputDeviceRequest& value) { m_inputDevicesHasBeenSet = true; m_inputDevices.push_back(value); return *this; }
70 inline UpdateInputRequest& AddInputDevices(InputDeviceRequest&& value) { m_inputDevicesHasBeenSet = true; m_inputDevices.push_back(std::move(value)); return *this; }
72
74
77 inline const Aws::String& GetInputId() const{ return m_inputId; }
78 inline bool InputIdHasBeenSet() const { return m_inputIdHasBeenSet; }
79 inline void SetInputId(const Aws::String& value) { m_inputIdHasBeenSet = true; m_inputId = value; }
80 inline void SetInputId(Aws::String&& value) { m_inputIdHasBeenSet = true; m_inputId = std::move(value); }
81 inline void SetInputId(const char* value) { m_inputIdHasBeenSet = true; m_inputId.assign(value); }
82 inline UpdateInputRequest& WithInputId(const Aws::String& value) { SetInputId(value); return *this;}
83 inline UpdateInputRequest& WithInputId(Aws::String&& value) { SetInputId(std::move(value)); return *this;}
84 inline UpdateInputRequest& WithInputId(const char* value) { SetInputId(value); return *this;}
86
88
91 inline const Aws::Vector<Aws::String>& GetInputSecurityGroups() const{ return m_inputSecurityGroups; }
92 inline bool InputSecurityGroupsHasBeenSet() const { return m_inputSecurityGroupsHasBeenSet; }
93 inline void SetInputSecurityGroups(const Aws::Vector<Aws::String>& value) { m_inputSecurityGroupsHasBeenSet = true; m_inputSecurityGroups = value; }
94 inline void SetInputSecurityGroups(Aws::Vector<Aws::String>&& value) { m_inputSecurityGroupsHasBeenSet = true; m_inputSecurityGroups = std::move(value); }
97 inline UpdateInputRequest& AddInputSecurityGroups(const Aws::String& value) { m_inputSecurityGroupsHasBeenSet = true; m_inputSecurityGroups.push_back(value); return *this; }
98 inline UpdateInputRequest& AddInputSecurityGroups(Aws::String&& value) { m_inputSecurityGroupsHasBeenSet = true; m_inputSecurityGroups.push_back(std::move(value)); return *this; }
99 inline UpdateInputRequest& AddInputSecurityGroups(const char* value) { m_inputSecurityGroupsHasBeenSet = true; m_inputSecurityGroups.push_back(value); return *this; }
101
103
112 inline const Aws::Vector<MediaConnectFlowRequest>& GetMediaConnectFlows() const{ return m_mediaConnectFlows; }
113 inline bool MediaConnectFlowsHasBeenSet() const { return m_mediaConnectFlowsHasBeenSet; }
114 inline void SetMediaConnectFlows(const Aws::Vector<MediaConnectFlowRequest>& value) { m_mediaConnectFlowsHasBeenSet = true; m_mediaConnectFlows = value; }
115 inline void SetMediaConnectFlows(Aws::Vector<MediaConnectFlowRequest>&& value) { m_mediaConnectFlowsHasBeenSet = true; m_mediaConnectFlows = std::move(value); }
118 inline UpdateInputRequest& AddMediaConnectFlows(const MediaConnectFlowRequest& value) { m_mediaConnectFlowsHasBeenSet = true; m_mediaConnectFlows.push_back(value); return *this; }
119 inline UpdateInputRequest& AddMediaConnectFlows(MediaConnectFlowRequest&& value) { m_mediaConnectFlowsHasBeenSet = true; m_mediaConnectFlows.push_back(std::move(value)); return *this; }
121
123
126 inline const Aws::String& GetName() const{ return m_name; }
127 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
128 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
129 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
130 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
131 inline UpdateInputRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
132 inline UpdateInputRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
133 inline UpdateInputRequest& WithName(const char* value) { SetName(value); return *this;}
135
137
141 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
142 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
143 inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; }
144 inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); }
145 inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); }
146 inline UpdateInputRequest& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
147 inline UpdateInputRequest& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
148 inline UpdateInputRequest& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
150
152
159 inline const Aws::Vector<InputSourceRequest>& GetSources() const{ return m_sources; }
160 inline bool SourcesHasBeenSet() const { return m_sourcesHasBeenSet; }
161 inline void SetSources(const Aws::Vector<InputSourceRequest>& value) { m_sourcesHasBeenSet = true; m_sources = value; }
162 inline void SetSources(Aws::Vector<InputSourceRequest>&& value) { m_sourcesHasBeenSet = true; m_sources = std::move(value); }
163 inline UpdateInputRequest& WithSources(const Aws::Vector<InputSourceRequest>& value) { SetSources(value); return *this;}
164 inline UpdateInputRequest& WithSources(Aws::Vector<InputSourceRequest>&& value) { SetSources(std::move(value)); return *this;}
165 inline UpdateInputRequest& AddSources(const InputSourceRequest& value) { m_sourcesHasBeenSet = true; m_sources.push_back(value); return *this; }
166 inline UpdateInputRequest& AddSources(InputSourceRequest&& value) { m_sourcesHasBeenSet = true; m_sources.push_back(std::move(value)); return *this; }
168
170
173 inline const SrtSettingsRequest& GetSrtSettings() const{ return m_srtSettings; }
174 inline bool SrtSettingsHasBeenSet() const { return m_srtSettingsHasBeenSet; }
175 inline void SetSrtSettings(const SrtSettingsRequest& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = value; }
176 inline void SetSrtSettings(SrtSettingsRequest&& value) { m_srtSettingsHasBeenSet = true; m_srtSettings = std::move(value); }
177 inline UpdateInputRequest& WithSrtSettings(const SrtSettingsRequest& value) { SetSrtSettings(value); return *this;}
178 inline UpdateInputRequest& WithSrtSettings(SrtSettingsRequest&& value) { SetSrtSettings(std::move(value)); return *this;}
180
182
185 inline const MulticastSettingsUpdateRequest& GetMulticastSettings() const{ return m_multicastSettings; }
186 inline bool MulticastSettingsHasBeenSet() const { return m_multicastSettingsHasBeenSet; }
187 inline void SetMulticastSettings(const MulticastSettingsUpdateRequest& value) { m_multicastSettingsHasBeenSet = true; m_multicastSettings = value; }
188 inline void SetMulticastSettings(MulticastSettingsUpdateRequest&& value) { m_multicastSettingsHasBeenSet = true; m_multicastSettings = std::move(value); }
192 private:
193
195 bool m_destinationsHasBeenSet = false;
196
197 Aws::Vector<InputDeviceRequest> m_inputDevices;
198 bool m_inputDevicesHasBeenSet = false;
199
200 Aws::String m_inputId;
201 bool m_inputIdHasBeenSet = false;
202
203 Aws::Vector<Aws::String> m_inputSecurityGroups;
204 bool m_inputSecurityGroupsHasBeenSet = false;
205
206 Aws::Vector<MediaConnectFlowRequest> m_mediaConnectFlows;
207 bool m_mediaConnectFlowsHasBeenSet = false;
208
209 Aws::String m_name;
210 bool m_nameHasBeenSet = false;
211
212 Aws::String m_roleArn;
213 bool m_roleArnHasBeenSet = false;
214
216 bool m_sourcesHasBeenSet = false;
217
218 SrtSettingsRequest m_srtSettings;
219 bool m_srtSettingsHasBeenSet = false;
220
221 MulticastSettingsUpdateRequest m_multicastSettings;
222 bool m_multicastSettingsHasBeenSet = false;
223 };
224
225} // namespace Model
226} // namespace MediaLive
227} // namespace Aws
UpdateInputRequest & WithMulticastSettings(MulticastSettingsUpdateRequest &&value)
UpdateInputRequest & WithInputSecurityGroups(const Aws::Vector< Aws::String > &value)
UpdateInputRequest & AddInputSecurityGroups(const char *value)
UpdateInputRequest & WithName(Aws::String &&value)
UpdateInputRequest & AddMediaConnectFlows(const MediaConnectFlowRequest &value)
void SetInputId(const Aws::String &value)
UpdateInputRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
UpdateInputRequest & WithSrtSettings(const SrtSettingsRequest &value)
UpdateInputRequest & AddInputSecurityGroups(const Aws::String &value)
void SetRoleArn(const Aws::String &value)
const MulticastSettingsUpdateRequest & GetMulticastSettings() const
UpdateInputRequest & AddInputSecurityGroups(Aws::String &&value)
void SetDestinations(Aws::Vector< InputDestinationRequest > &&value)
UpdateInputRequest & AddInputDevices(const InputDeviceRequest &value)
UpdateInputRequest & WithSources(Aws::Vector< InputSourceRequest > &&value)
UpdateInputRequest & WithDestinations(Aws::Vector< InputDestinationRequest > &&value)
UpdateInputRequest & AddDestinations(InputDestinationRequest &&value)
UpdateInputRequest & WithMediaConnectFlows(const Aws::Vector< MediaConnectFlowRequest > &value)
void SetSources(Aws::Vector< InputSourceRequest > &&value)
void SetSources(const Aws::Vector< InputSourceRequest > &value)
UpdateInputRequest & AddDestinations(const InputDestinationRequest &value)
UpdateInputRequest & WithInputDevices(Aws::Vector< InputDeviceRequest > &&value)
UpdateInputRequest & WithSources(const Aws::Vector< InputSourceRequest > &value)
const SrtSettingsRequest & GetSrtSettings() const
const Aws::Vector< Aws::String > & GetInputSecurityGroups() const
UpdateInputRequest & AddSources(InputSourceRequest &&value)
const Aws::Vector< InputSourceRequest > & GetSources() const
UpdateInputRequest & WithMediaConnectFlows(Aws::Vector< MediaConnectFlowRequest > &&value)
const Aws::Vector< InputDeviceRequest > & GetInputDevices() const
void SetDestinations(const Aws::Vector< InputDestinationRequest > &value)
void SetInputSecurityGroups(Aws::Vector< Aws::String > &&value)
UpdateInputRequest & WithInputDevices(const Aws::Vector< InputDeviceRequest > &value)
UpdateInputRequest & WithInputId(Aws::String &&value)
void SetInputSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetMulticastSettings(MulticastSettingsUpdateRequest &&value)
UpdateInputRequest & WithRoleArn(const Aws::String &value)
UpdateInputRequest & AddMediaConnectFlows(MediaConnectFlowRequest &&value)
void SetMediaConnectFlows(Aws::Vector< MediaConnectFlowRequest > &&value)
UpdateInputRequest & WithMulticastSettings(const MulticastSettingsUpdateRequest &value)
void SetSrtSettings(SrtSettingsRequest &&value)
void SetMulticastSettings(const MulticastSettingsUpdateRequest &value)
UpdateInputRequest & WithDestinations(const Aws::Vector< InputDestinationRequest > &value)
void SetInputDevices(const Aws::Vector< InputDeviceRequest > &value)
UpdateInputRequest & WithName(const Aws::String &value)
void SetInputDevices(Aws::Vector< InputDeviceRequest > &&value)
const Aws::Vector< MediaConnectFlowRequest > & GetMediaConnectFlows() const
const Aws::Vector< InputDestinationRequest > & GetDestinations() const
UpdateInputRequest & WithInputId(const Aws::String &value)
UpdateInputRequest & WithInputSecurityGroups(Aws::Vector< Aws::String > &&value)
UpdateInputRequest & AddSources(const InputSourceRequest &value)
UpdateInputRequest & WithRoleArn(const char *value)
UpdateInputRequest & WithSrtSettings(SrtSettingsRequest &&value)
UpdateInputRequest & WithRoleArn(Aws::String &&value)
void SetSrtSettings(const SrtSettingsRequest &value)
UpdateInputRequest & AddInputDevices(InputDeviceRequest &&value)
UpdateInputRequest & WithInputId(const char *value)
void SetMediaConnectFlows(const Aws::Vector< MediaConnectFlowRequest > &value)
AWS_MEDIALIVE_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector