AWS SDK for C++

AWS SDK for C++ Version 1.11.784

Loading...
Searching...
No Matches
UpdateInputDeviceResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/medialive/MediaLive_EXPORTS.h>
12#include <aws/medialive/model/DeviceSettingsSyncState.h>
13#include <aws/medialive/model/DeviceUpdateStatus.h>
14#include <aws/medialive/model/InputDeviceConnectionState.h>
15#include <aws/medialive/model/InputDeviceHdSettings.h>
16#include <aws/medialive/model/InputDeviceNetworkSettings.h>
17#include <aws/medialive/model/InputDeviceOutputType.h>
18#include <aws/medialive/model/InputDeviceType.h>
19#include <aws/medialive/model/InputDeviceUhdSettings.h>
20
21#include <utility>
22
23namespace Aws {
24template <typename RESULT_TYPE>
25class AmazonWebServiceResult;
26
27namespace Utils {
28namespace Json {
29class JsonValue;
30} // namespace Json
31} // namespace Utils
32namespace MediaLive {
33namespace Model {
41 public:
42 AWS_MEDIALIVE_API UpdateInputDeviceResult() = default;
45
47
50 inline const Aws::String& GetArn() const { return m_arn; }
51 template <typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) {
53 m_arnHasBeenSet = true;
54 m_arn = std::forward<ArnT>(value);
55 }
56 template <typename ArnT = Aws::String>
58 SetArn(std::forward<ArnT>(value));
59 return *this;
60 }
62
64
67 inline InputDeviceConnectionState GetConnectionState() const { return m_connectionState; }
69 m_connectionStateHasBeenSet = true;
70 m_connectionState = value;
71 }
73 SetConnectionState(value);
74 return *this;
75 }
77
79
86 inline DeviceSettingsSyncState GetDeviceSettingsSyncState() const { return m_deviceSettingsSyncState; }
88 m_deviceSettingsSyncStateHasBeenSet = true;
89 m_deviceSettingsSyncState = value;
90 }
93 return *this;
94 }
96
98
101 inline DeviceUpdateStatus GetDeviceUpdateStatus() const { return m_deviceUpdateStatus; }
103 m_deviceUpdateStatusHasBeenSet = true;
104 m_deviceUpdateStatus = value;
105 }
108 return *this;
109 }
111
113
116 inline const InputDeviceHdSettings& GetHdDeviceSettings() const { return m_hdDeviceSettings; }
117 template <typename HdDeviceSettingsT = InputDeviceHdSettings>
118 void SetHdDeviceSettings(HdDeviceSettingsT&& value) {
119 m_hdDeviceSettingsHasBeenSet = true;
120 m_hdDeviceSettings = std::forward<HdDeviceSettingsT>(value);
121 }
122 template <typename HdDeviceSettingsT = InputDeviceHdSettings>
123 UpdateInputDeviceResult& WithHdDeviceSettings(HdDeviceSettingsT&& value) {
124 SetHdDeviceSettings(std::forward<HdDeviceSettingsT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetId() const { return m_id; }
134 template <typename IdT = Aws::String>
135 void SetId(IdT&& value) {
136 m_idHasBeenSet = true;
137 m_id = std::forward<IdT>(value);
138 }
139 template <typename IdT = Aws::String>
141 SetId(std::forward<IdT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::String& GetMacAddress() const { return m_macAddress; }
151 template <typename MacAddressT = Aws::String>
152 void SetMacAddress(MacAddressT&& value) {
153 m_macAddressHasBeenSet = true;
154 m_macAddress = std::forward<MacAddressT>(value);
155 }
156 template <typename MacAddressT = Aws::String>
158 SetMacAddress(std::forward<MacAddressT>(value));
159 return *this;
160 }
162
164
167 inline const Aws::String& GetName() const { return m_name; }
168 template <typename NameT = Aws::String>
169 void SetName(NameT&& value) {
170 m_nameHasBeenSet = true;
171 m_name = std::forward<NameT>(value);
172 }
173 template <typename NameT = Aws::String>
175 SetName(std::forward<NameT>(value));
176 return *this;
177 }
179
181
184 inline const InputDeviceNetworkSettings& GetNetworkSettings() const { return m_networkSettings; }
185 template <typename NetworkSettingsT = InputDeviceNetworkSettings>
186 void SetNetworkSettings(NetworkSettingsT&& value) {
187 m_networkSettingsHasBeenSet = true;
188 m_networkSettings = std::forward<NetworkSettingsT>(value);
189 }
190 template <typename NetworkSettingsT = InputDeviceNetworkSettings>
191 UpdateInputDeviceResult& WithNetworkSettings(NetworkSettingsT&& value) {
192 SetNetworkSettings(std::forward<NetworkSettingsT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetSerialNumber() const { return m_serialNumber; }
202 template <typename SerialNumberT = Aws::String>
203 void SetSerialNumber(SerialNumberT&& value) {
204 m_serialNumberHasBeenSet = true;
205 m_serialNumber = std::forward<SerialNumberT>(value);
206 }
207 template <typename SerialNumberT = Aws::String>
209 SetSerialNumber(std::forward<SerialNumberT>(value));
210 return *this;
211 }
213
215
218 inline InputDeviceType GetType() const { return m_type; }
219 inline void SetType(InputDeviceType value) {
220 m_typeHasBeenSet = true;
221 m_type = value;
222 }
224 SetType(value);
225 return *this;
226 }
228
230
233 inline const InputDeviceUhdSettings& GetUhdDeviceSettings() const { return m_uhdDeviceSettings; }
234 template <typename UhdDeviceSettingsT = InputDeviceUhdSettings>
235 void SetUhdDeviceSettings(UhdDeviceSettingsT&& value) {
236 m_uhdDeviceSettingsHasBeenSet = true;
237 m_uhdDeviceSettings = std::forward<UhdDeviceSettingsT>(value);
238 }
239 template <typename UhdDeviceSettingsT = InputDeviceUhdSettings>
240 UpdateInputDeviceResult& WithUhdDeviceSettings(UhdDeviceSettingsT&& value) {
241 SetUhdDeviceSettings(std::forward<UhdDeviceSettingsT>(value));
242 return *this;
243 }
245
247
250 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
251 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
252 void SetTags(TagsT&& value) {
253 m_tagsHasBeenSet = true;
254 m_tags = std::forward<TagsT>(value);
255 }
256 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
258 SetTags(std::forward<TagsT>(value));
259 return *this;
260 }
261 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
262 UpdateInputDeviceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
263 m_tagsHasBeenSet = true;
264 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
265 return *this;
266 }
268
270
273 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
274 template <typename AvailabilityZoneT = Aws::String>
275 void SetAvailabilityZone(AvailabilityZoneT&& value) {
276 m_availabilityZoneHasBeenSet = true;
277 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
278 }
279 template <typename AvailabilityZoneT = Aws::String>
280 UpdateInputDeviceResult& WithAvailabilityZone(AvailabilityZoneT&& value) {
281 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
282 return *this;
283 }
285
287
291 inline const Aws::Vector<Aws::String>& GetMedialiveInputArns() const { return m_medialiveInputArns; }
292 template <typename MedialiveInputArnsT = Aws::Vector<Aws::String>>
293 void SetMedialiveInputArns(MedialiveInputArnsT&& value) {
294 m_medialiveInputArnsHasBeenSet = true;
295 m_medialiveInputArns = std::forward<MedialiveInputArnsT>(value);
296 }
297 template <typename MedialiveInputArnsT = Aws::Vector<Aws::String>>
298 UpdateInputDeviceResult& WithMedialiveInputArns(MedialiveInputArnsT&& value) {
299 SetMedialiveInputArns(std::forward<MedialiveInputArnsT>(value));
300 return *this;
301 }
302 template <typename MedialiveInputArnsT = Aws::String>
303 UpdateInputDeviceResult& AddMedialiveInputArns(MedialiveInputArnsT&& value) {
304 m_medialiveInputArnsHasBeenSet = true;
305 m_medialiveInputArns.emplace_back(std::forward<MedialiveInputArnsT>(value));
306 return *this;
307 }
309
311
316 inline InputDeviceOutputType GetOutputType() const { return m_outputType; }
318 m_outputTypeHasBeenSet = true;
319 m_outputType = value;
320 }
322 SetOutputType(value);
323 return *this;
324 }
326
328
329 inline const Aws::String& GetRequestId() const { return m_requestId; }
330 template <typename RequestIdT = Aws::String>
331 void SetRequestId(RequestIdT&& value) {
332 m_requestIdHasBeenSet = true;
333 m_requestId = std::forward<RequestIdT>(value);
334 }
335 template <typename RequestIdT = Aws::String>
337 SetRequestId(std::forward<RequestIdT>(value));
338 return *this;
339 }
341 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
342
343 private:
344 Aws::String m_arn;
345
347
349
351
352 InputDeviceHdSettings m_hdDeviceSettings;
353
354 Aws::String m_id;
355
356 Aws::String m_macAddress;
357
358 Aws::String m_name;
359
360 InputDeviceNetworkSettings m_networkSettings;
361
362 Aws::String m_serialNumber;
363
365
366 InputDeviceUhdSettings m_uhdDeviceSettings;
367
369
370 Aws::String m_availabilityZone;
371
372 Aws::Vector<Aws::String> m_medialiveInputArns;
373
375
376 Aws::String m_requestId;
377 Aws::Http::HttpResponseCode m_HttpResponseCode;
378 bool m_arnHasBeenSet = false;
379 bool m_connectionStateHasBeenSet = false;
380 bool m_deviceSettingsSyncStateHasBeenSet = false;
381 bool m_deviceUpdateStatusHasBeenSet = false;
382 bool m_hdDeviceSettingsHasBeenSet = false;
383 bool m_idHasBeenSet = false;
384 bool m_macAddressHasBeenSet = false;
385 bool m_nameHasBeenSet = false;
386 bool m_networkSettingsHasBeenSet = false;
387 bool m_serialNumberHasBeenSet = false;
388 bool m_typeHasBeenSet = false;
389 bool m_uhdDeviceSettingsHasBeenSet = false;
390 bool m_tagsHasBeenSet = false;
391 bool m_availabilityZoneHasBeenSet = false;
392 bool m_medialiveInputArnsHasBeenSet = false;
393 bool m_outputTypeHasBeenSet = false;
394 bool m_requestIdHasBeenSet = false;
395};
396
397} // namespace Model
398} // namespace MediaLive
399} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateInputDeviceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateInputDeviceResult & WithTags(TagsT &&value)
UpdateInputDeviceResult & WithRequestId(RequestIdT &&value)
UpdateInputDeviceResult & WithName(NameT &&value)
UpdateInputDeviceResult & WithConnectionState(InputDeviceConnectionState value)
UpdateInputDeviceResult & WithArn(ArnT &&value)
UpdateInputDeviceResult & WithType(InputDeviceType value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateInputDeviceResult & WithAvailabilityZone(AvailabilityZoneT &&value)
UpdateInputDeviceResult & WithDeviceUpdateStatus(DeviceUpdateStatus value)
DeviceSettingsSyncState GetDeviceSettingsSyncState() const
void SetDeviceSettingsSyncState(DeviceSettingsSyncState value)
UpdateInputDeviceResult & WithMacAddress(MacAddressT &&value)
UpdateInputDeviceResult & WithMedialiveInputArns(MedialiveInputArnsT &&value)
AWS_MEDIALIVE_API UpdateInputDeviceResult()=default
AWS_MEDIALIVE_API UpdateInputDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateInputDeviceResult & WithHdDeviceSettings(HdDeviceSettingsT &&value)
void SetConnectionState(InputDeviceConnectionState value)
UpdateInputDeviceResult & WithUhdDeviceSettings(UhdDeviceSettingsT &&value)
UpdateInputDeviceResult & WithSerialNumber(SerialNumberT &&value)
UpdateInputDeviceResult & WithId(IdT &&value)
AWS_MEDIALIVE_API UpdateInputDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const InputDeviceUhdSettings & GetUhdDeviceSettings() const
UpdateInputDeviceResult & WithDeviceSettingsSyncState(DeviceSettingsSyncState value)
UpdateInputDeviceResult & WithOutputType(InputDeviceOutputType value)
UpdateInputDeviceResult & WithNetworkSettings(NetworkSettingsT &&value)
InputDeviceConnectionState GetConnectionState() const
UpdateInputDeviceResult & AddMedialiveInputArns(MedialiveInputArnsT &&value)
void SetMedialiveInputArns(MedialiveInputArnsT &&value)
const Aws::Vector< Aws::String > & GetMedialiveInputArns() const
const InputDeviceHdSettings & GetHdDeviceSettings() const
const InputDeviceNetworkSettings & GetNetworkSettings() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue