AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
DescribeInputDeviceResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/MediaLive_EXPORTS.h>
11#include <aws/medialive/model/DeviceSettingsSyncState.h>
12#include <aws/medialive/model/DeviceUpdateStatus.h>
13#include <aws/medialive/model/InputDeviceConnectionState.h>
14#include <aws/medialive/model/InputDeviceHdSettings.h>
15#include <aws/medialive/model/InputDeviceNetworkSettings.h>
16#include <aws/medialive/model/InputDeviceOutputType.h>
17#include <aws/medialive/model/InputDeviceType.h>
18#include <aws/medialive/model/InputDeviceUhdSettings.h>
19
20#include <utility>
21
22namespace Aws {
23template <typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils {
27namespace Json {
28class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace MediaLive {
32namespace Model {
40 public:
41 AWS_MEDIALIVE_API DescribeInputDeviceResult() = default;
44
46
49 inline const Aws::String& GetArn() const { return m_arn; }
50 template <typename ArnT = Aws::String>
51 void SetArn(ArnT&& value) {
52 m_arnHasBeenSet = true;
53 m_arn = std::forward<ArnT>(value);
54 }
55 template <typename ArnT = Aws::String>
57 SetArn(std::forward<ArnT>(value));
58 return *this;
59 }
61
63
66 inline InputDeviceConnectionState GetConnectionState() const { return m_connectionState; }
68 m_connectionStateHasBeenSet = true;
69 m_connectionState = value;
70 }
72 SetConnectionState(value);
73 return *this;
74 }
76
78
85 inline DeviceSettingsSyncState GetDeviceSettingsSyncState() const { return m_deviceSettingsSyncState; }
87 m_deviceSettingsSyncStateHasBeenSet = true;
88 m_deviceSettingsSyncState = value;
89 }
92 return *this;
93 }
95
97
100 inline DeviceUpdateStatus GetDeviceUpdateStatus() const { return m_deviceUpdateStatus; }
102 m_deviceUpdateStatusHasBeenSet = true;
103 m_deviceUpdateStatus = value;
104 }
107 return *this;
108 }
110
112
115 inline const InputDeviceHdSettings& GetHdDeviceSettings() const { return m_hdDeviceSettings; }
116 template <typename HdDeviceSettingsT = InputDeviceHdSettings>
117 void SetHdDeviceSettings(HdDeviceSettingsT&& value) {
118 m_hdDeviceSettingsHasBeenSet = true;
119 m_hdDeviceSettings = std::forward<HdDeviceSettingsT>(value);
120 }
121 template <typename HdDeviceSettingsT = InputDeviceHdSettings>
123 SetHdDeviceSettings(std::forward<HdDeviceSettingsT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetId() const { return m_id; }
133 template <typename IdT = Aws::String>
134 void SetId(IdT&& value) {
135 m_idHasBeenSet = true;
136 m_id = std::forward<IdT>(value);
137 }
138 template <typename IdT = Aws::String>
140 SetId(std::forward<IdT>(value));
141 return *this;
142 }
144
146
149 inline const Aws::String& GetMacAddress() const { return m_macAddress; }
150 template <typename MacAddressT = Aws::String>
151 void SetMacAddress(MacAddressT&& value) {
152 m_macAddressHasBeenSet = true;
153 m_macAddress = std::forward<MacAddressT>(value);
154 }
155 template <typename MacAddressT = Aws::String>
157 SetMacAddress(std::forward<MacAddressT>(value));
158 return *this;
159 }
161
163
166 inline const Aws::String& GetName() const { return m_name; }
167 template <typename NameT = Aws::String>
168 void SetName(NameT&& value) {
169 m_nameHasBeenSet = true;
170 m_name = std::forward<NameT>(value);
171 }
172 template <typename NameT = Aws::String>
174 SetName(std::forward<NameT>(value));
175 return *this;
176 }
178
180
183 inline const InputDeviceNetworkSettings& GetNetworkSettings() const { return m_networkSettings; }
184 template <typename NetworkSettingsT = InputDeviceNetworkSettings>
185 void SetNetworkSettings(NetworkSettingsT&& value) {
186 m_networkSettingsHasBeenSet = true;
187 m_networkSettings = std::forward<NetworkSettingsT>(value);
188 }
189 template <typename NetworkSettingsT = InputDeviceNetworkSettings>
191 SetNetworkSettings(std::forward<NetworkSettingsT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::String& GetSerialNumber() const { return m_serialNumber; }
201 template <typename SerialNumberT = Aws::String>
202 void SetSerialNumber(SerialNumberT&& value) {
203 m_serialNumberHasBeenSet = true;
204 m_serialNumber = std::forward<SerialNumberT>(value);
205 }
206 template <typename SerialNumberT = Aws::String>
208 SetSerialNumber(std::forward<SerialNumberT>(value));
209 return *this;
210 }
212
214
217 inline InputDeviceType GetType() const { return m_type; }
218 inline void SetType(InputDeviceType value) {
219 m_typeHasBeenSet = true;
220 m_type = value;
221 }
223 SetType(value);
224 return *this;
225 }
227
229
232 inline const InputDeviceUhdSettings& GetUhdDeviceSettings() const { return m_uhdDeviceSettings; }
233 template <typename UhdDeviceSettingsT = InputDeviceUhdSettings>
234 void SetUhdDeviceSettings(UhdDeviceSettingsT&& value) {
235 m_uhdDeviceSettingsHasBeenSet = true;
236 m_uhdDeviceSettings = std::forward<UhdDeviceSettingsT>(value);
237 }
238 template <typename UhdDeviceSettingsT = InputDeviceUhdSettings>
240 SetUhdDeviceSettings(std::forward<UhdDeviceSettingsT>(value));
241 return *this;
242 }
244
246
249 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
250 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
251 void SetTags(TagsT&& value) {
252 m_tagsHasBeenSet = true;
253 m_tags = std::forward<TagsT>(value);
254 }
255 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
257 SetTags(std::forward<TagsT>(value));
258 return *this;
259 }
260 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
261 DescribeInputDeviceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
262 m_tagsHasBeenSet = true;
263 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
264 return *this;
265 }
267
269
272 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
273 template <typename AvailabilityZoneT = Aws::String>
274 void SetAvailabilityZone(AvailabilityZoneT&& value) {
275 m_availabilityZoneHasBeenSet = true;
276 m_availabilityZone = std::forward<AvailabilityZoneT>(value);
277 }
278 template <typename AvailabilityZoneT = Aws::String>
280 SetAvailabilityZone(std::forward<AvailabilityZoneT>(value));
281 return *this;
282 }
284
286
290 inline const Aws::Vector<Aws::String>& GetMedialiveInputArns() const { return m_medialiveInputArns; }
291 template <typename MedialiveInputArnsT = Aws::Vector<Aws::String>>
292 void SetMedialiveInputArns(MedialiveInputArnsT&& value) {
293 m_medialiveInputArnsHasBeenSet = true;
294 m_medialiveInputArns = std::forward<MedialiveInputArnsT>(value);
295 }
296 template <typename MedialiveInputArnsT = Aws::Vector<Aws::String>>
297 DescribeInputDeviceResult& WithMedialiveInputArns(MedialiveInputArnsT&& value) {
298 SetMedialiveInputArns(std::forward<MedialiveInputArnsT>(value));
299 return *this;
300 }
301 template <typename MedialiveInputArnsT = Aws::String>
302 DescribeInputDeviceResult& AddMedialiveInputArns(MedialiveInputArnsT&& value) {
303 m_medialiveInputArnsHasBeenSet = true;
304 m_medialiveInputArns.emplace_back(std::forward<MedialiveInputArnsT>(value));
305 return *this;
306 }
308
310
315 inline InputDeviceOutputType GetOutputType() const { return m_outputType; }
317 m_outputTypeHasBeenSet = true;
318 m_outputType = value;
319 }
321 SetOutputType(value);
322 return *this;
323 }
325
327
328 inline const Aws::String& GetRequestId() const { return m_requestId; }
329 template <typename RequestIdT = Aws::String>
330 void SetRequestId(RequestIdT&& value) {
331 m_requestIdHasBeenSet = true;
332 m_requestId = std::forward<RequestIdT>(value);
333 }
334 template <typename RequestIdT = Aws::String>
336 SetRequestId(std::forward<RequestIdT>(value));
337 return *this;
338 }
340 private:
341 Aws::String m_arn;
342
344
346
348
349 InputDeviceHdSettings m_hdDeviceSettings;
350
351 Aws::String m_id;
352
353 Aws::String m_macAddress;
354
355 Aws::String m_name;
356
357 InputDeviceNetworkSettings m_networkSettings;
358
359 Aws::String m_serialNumber;
360
362
363 InputDeviceUhdSettings m_uhdDeviceSettings;
364
366
367 Aws::String m_availabilityZone;
368
369 Aws::Vector<Aws::String> m_medialiveInputArns;
370
372
373 Aws::String m_requestId;
374 bool m_arnHasBeenSet = false;
375 bool m_connectionStateHasBeenSet = false;
376 bool m_deviceSettingsSyncStateHasBeenSet = false;
377 bool m_deviceUpdateStatusHasBeenSet = false;
378 bool m_hdDeviceSettingsHasBeenSet = false;
379 bool m_idHasBeenSet = false;
380 bool m_macAddressHasBeenSet = false;
381 bool m_nameHasBeenSet = false;
382 bool m_networkSettingsHasBeenSet = false;
383 bool m_serialNumberHasBeenSet = false;
384 bool m_typeHasBeenSet = false;
385 bool m_uhdDeviceSettingsHasBeenSet = false;
386 bool m_tagsHasBeenSet = false;
387 bool m_availabilityZoneHasBeenSet = false;
388 bool m_medialiveInputArnsHasBeenSet = false;
389 bool m_outputTypeHasBeenSet = false;
390 bool m_requestIdHasBeenSet = false;
391};
392
393} // namespace Model
394} // namespace MediaLive
395} // namespace Aws
DescribeInputDeviceResult & WithMacAddress(MacAddressT &&value)
DescribeInputDeviceResult & WithDeviceUpdateStatus(DeviceUpdateStatus value)
DescribeInputDeviceResult & AddMedialiveInputArns(MedialiveInputArnsT &&value)
DescribeInputDeviceResult & WithOutputType(InputDeviceOutputType value)
DescribeInputDeviceResult & WithName(NameT &&value)
DescribeInputDeviceResult & WithSerialNumber(SerialNumberT &&value)
DescribeInputDeviceResult & WithArn(ArnT &&value)
DescribeInputDeviceResult & WithRequestId(RequestIdT &&value)
DescribeInputDeviceResult & WithTags(TagsT &&value)
DescribeInputDeviceResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const InputDeviceUhdSettings & GetUhdDeviceSettings() const
DescribeInputDeviceResult & WithConnectionState(InputDeviceConnectionState value)
DescribeInputDeviceResult & WithDeviceSettingsSyncState(DeviceSettingsSyncState value)
void SetDeviceSettingsSyncState(DeviceSettingsSyncState value)
const InputDeviceNetworkSettings & GetNetworkSettings() const
DescribeInputDeviceResult & WithHdDeviceSettings(HdDeviceSettingsT &&value)
AWS_MEDIALIVE_API DescribeInputDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const InputDeviceHdSettings & GetHdDeviceSettings() const
DescribeInputDeviceResult & WithId(IdT &&value)
AWS_MEDIALIVE_API DescribeInputDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInputDeviceResult & WithAvailabilityZone(AvailabilityZoneT &&value)
void SetConnectionState(InputDeviceConnectionState value)
AWS_MEDIALIVE_API DescribeInputDeviceResult()=default
DescribeInputDeviceResult & WithType(InputDeviceType value)
DescribeInputDeviceResult & WithNetworkSettings(NetworkSettingsT &&value)
const Aws::Vector< Aws::String > & GetMedialiveInputArns() const
DescribeInputDeviceResult & WithMedialiveInputArns(MedialiveInputArnsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeInputDeviceResult & WithUhdDeviceSettings(UhdDeviceSettingsT &&value)
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