AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
DescribeInputDeviceResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/InputDeviceConnectionState.h>
10#include <aws/medialive/model/DeviceSettingsSyncState.h>
11#include <aws/medialive/model/DeviceUpdateStatus.h>
12#include <aws/medialive/model/InputDeviceHdSettings.h>
13#include <aws/medialive/model/InputDeviceNetworkSettings.h>
14#include <aws/medialive/model/InputDeviceType.h>
15#include <aws/medialive/model/InputDeviceUhdSettings.h>
16#include <aws/core/utils/memory/stl/AWSMap.h>
17#include <aws/core/utils/memory/stl/AWSVector.h>
18#include <aws/medialive/model/InputDeviceOutputType.h>
19#include <utility>
20
21namespace Aws
22{
23template<typename RESULT_TYPE>
24class AmazonWebServiceResult;
25
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31} // namespace Json
32} // namespace Utils
33namespace MediaLive
34{
35namespace Model
36{
44 {
45 public:
46 AWS_MEDIALIVE_API DescribeInputDeviceResult() = default;
49
50
52
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template<typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
58 template<typename ArnT = Aws::String>
59 DescribeInputDeviceResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
61
63
66 inline InputDeviceConnectionState GetConnectionState() const { return m_connectionState; }
67 inline void SetConnectionState(InputDeviceConnectionState value) { m_connectionStateHasBeenSet = true; m_connectionState = value; }
70
72
79 inline DeviceSettingsSyncState GetDeviceSettingsSyncState() const { return m_deviceSettingsSyncState; }
80 inline void SetDeviceSettingsSyncState(DeviceSettingsSyncState value) { m_deviceSettingsSyncStateHasBeenSet = true; m_deviceSettingsSyncState = value; }
83
85
88 inline DeviceUpdateStatus GetDeviceUpdateStatus() const { return m_deviceUpdateStatus; }
89 inline void SetDeviceUpdateStatus(DeviceUpdateStatus value) { m_deviceUpdateStatusHasBeenSet = true; m_deviceUpdateStatus = value; }
92
94
97 inline const InputDeviceHdSettings& GetHdDeviceSettings() const { return m_hdDeviceSettings; }
98 template<typename HdDeviceSettingsT = InputDeviceHdSettings>
99 void SetHdDeviceSettings(HdDeviceSettingsT&& value) { m_hdDeviceSettingsHasBeenSet = true; m_hdDeviceSettings = std::forward<HdDeviceSettingsT>(value); }
100 template<typename HdDeviceSettingsT = InputDeviceHdSettings>
101 DescribeInputDeviceResult& WithHdDeviceSettings(HdDeviceSettingsT&& value) { SetHdDeviceSettings(std::forward<HdDeviceSettingsT>(value)); return *this;}
103
105
108 inline const Aws::String& GetId() const { return m_id; }
109 template<typename IdT = Aws::String>
110 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
111 template<typename IdT = Aws::String>
112 DescribeInputDeviceResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
114
116
119 inline const Aws::String& GetMacAddress() const { return m_macAddress; }
120 template<typename MacAddressT = Aws::String>
121 void SetMacAddress(MacAddressT&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::forward<MacAddressT>(value); }
122 template<typename MacAddressT = Aws::String>
123 DescribeInputDeviceResult& WithMacAddress(MacAddressT&& value) { SetMacAddress(std::forward<MacAddressT>(value)); return *this;}
125
127
130 inline const Aws::String& GetName() const { return m_name; }
131 template<typename NameT = Aws::String>
132 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
133 template<typename NameT = Aws::String>
134 DescribeInputDeviceResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
136
138
141 inline const InputDeviceNetworkSettings& GetNetworkSettings() const { return m_networkSettings; }
142 template<typename NetworkSettingsT = InputDeviceNetworkSettings>
143 void SetNetworkSettings(NetworkSettingsT&& value) { m_networkSettingsHasBeenSet = true; m_networkSettings = std::forward<NetworkSettingsT>(value); }
144 template<typename NetworkSettingsT = InputDeviceNetworkSettings>
145 DescribeInputDeviceResult& WithNetworkSettings(NetworkSettingsT&& value) { SetNetworkSettings(std::forward<NetworkSettingsT>(value)); return *this;}
147
149
152 inline const Aws::String& GetSerialNumber() const { return m_serialNumber; }
153 template<typename SerialNumberT = Aws::String>
154 void SetSerialNumber(SerialNumberT&& value) { m_serialNumberHasBeenSet = true; m_serialNumber = std::forward<SerialNumberT>(value); }
155 template<typename SerialNumberT = Aws::String>
156 DescribeInputDeviceResult& WithSerialNumber(SerialNumberT&& value) { SetSerialNumber(std::forward<SerialNumberT>(value)); return *this;}
158
160
163 inline InputDeviceType GetType() const { return m_type; }
164 inline void SetType(InputDeviceType value) { m_typeHasBeenSet = true; m_type = value; }
165 inline DescribeInputDeviceResult& WithType(InputDeviceType value) { SetType(value); return *this;}
167
169
172 inline const InputDeviceUhdSettings& GetUhdDeviceSettings() const { return m_uhdDeviceSettings; }
173 template<typename UhdDeviceSettingsT = InputDeviceUhdSettings>
174 void SetUhdDeviceSettings(UhdDeviceSettingsT&& value) { m_uhdDeviceSettingsHasBeenSet = true; m_uhdDeviceSettings = std::forward<UhdDeviceSettingsT>(value); }
175 template<typename UhdDeviceSettingsT = InputDeviceUhdSettings>
176 DescribeInputDeviceResult& WithUhdDeviceSettings(UhdDeviceSettingsT&& value) { SetUhdDeviceSettings(std::forward<UhdDeviceSettingsT>(value)); return *this;}
178
180
183 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
184 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
185 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
186 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
187 DescribeInputDeviceResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
188 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
189 DescribeInputDeviceResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
190 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
191 }
193
195
198 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
199 template<typename AvailabilityZoneT = Aws::String>
200 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
201 template<typename AvailabilityZoneT = Aws::String>
202 DescribeInputDeviceResult& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
204
206
210 inline const Aws::Vector<Aws::String>& GetMedialiveInputArns() const { return m_medialiveInputArns; }
211 template<typename MedialiveInputArnsT = Aws::Vector<Aws::String>>
212 void SetMedialiveInputArns(MedialiveInputArnsT&& value) { m_medialiveInputArnsHasBeenSet = true; m_medialiveInputArns = std::forward<MedialiveInputArnsT>(value); }
213 template<typename MedialiveInputArnsT = Aws::Vector<Aws::String>>
214 DescribeInputDeviceResult& WithMedialiveInputArns(MedialiveInputArnsT&& value) { SetMedialiveInputArns(std::forward<MedialiveInputArnsT>(value)); return *this;}
215 template<typename MedialiveInputArnsT = Aws::String>
216 DescribeInputDeviceResult& AddMedialiveInputArns(MedialiveInputArnsT&& value) { m_medialiveInputArnsHasBeenSet = true; m_medialiveInputArns.emplace_back(std::forward<MedialiveInputArnsT>(value)); return *this; }
218
220
225 inline InputDeviceOutputType GetOutputType() const { return m_outputType; }
226 inline void SetOutputType(InputDeviceOutputType value) { m_outputTypeHasBeenSet = true; m_outputType = value; }
229
231
232 inline const Aws::String& GetRequestId() const { return m_requestId; }
233 template<typename RequestIdT = Aws::String>
234 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
235 template<typename RequestIdT = Aws::String>
236 DescribeInputDeviceResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
238 private:
239
240 Aws::String m_arn;
241 bool m_arnHasBeenSet = false;
242
244 bool m_connectionStateHasBeenSet = false;
245
247 bool m_deviceSettingsSyncStateHasBeenSet = false;
248
250 bool m_deviceUpdateStatusHasBeenSet = false;
251
252 InputDeviceHdSettings m_hdDeviceSettings;
253 bool m_hdDeviceSettingsHasBeenSet = false;
254
255 Aws::String m_id;
256 bool m_idHasBeenSet = false;
257
258 Aws::String m_macAddress;
259 bool m_macAddressHasBeenSet = false;
260
261 Aws::String m_name;
262 bool m_nameHasBeenSet = false;
263
264 InputDeviceNetworkSettings m_networkSettings;
265 bool m_networkSettingsHasBeenSet = false;
266
267 Aws::String m_serialNumber;
268 bool m_serialNumberHasBeenSet = false;
269
271 bool m_typeHasBeenSet = false;
272
273 InputDeviceUhdSettings m_uhdDeviceSettings;
274 bool m_uhdDeviceSettingsHasBeenSet = false;
275
277 bool m_tagsHasBeenSet = false;
278
279 Aws::String m_availabilityZone;
280 bool m_availabilityZoneHasBeenSet = false;
281
282 Aws::Vector<Aws::String> m_medialiveInputArns;
283 bool m_medialiveInputArnsHasBeenSet = false;
284
286 bool m_outputTypeHasBeenSet = false;
287
288 Aws::String m_requestId;
289 bool m_requestIdHasBeenSet = false;
290 };
291
292} // namespace Model
293} // namespace MediaLive
294} // 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