AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
InputDeviceSummary.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{
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28 class JsonView;
29} // namespace Json
30} // namespace Utils
31namespace MediaLive
32{
33namespace Model
34{
35
42 {
43 public:
44 AWS_MEDIALIVE_API InputDeviceSummary() = default;
45 AWS_MEDIALIVE_API InputDeviceSummary(Aws::Utils::Json::JsonView jsonValue);
47 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
54 inline const Aws::String& GetArn() const { return m_arn; }
55 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
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 InputDeviceSummary& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
61
63
66 inline InputDeviceConnectionState GetConnectionState() const { return m_connectionState; }
67 inline bool ConnectionStateHasBeenSet() const { return m_connectionStateHasBeenSet; }
68 inline void SetConnectionState(InputDeviceConnectionState value) { m_connectionStateHasBeenSet = true; m_connectionState = value; }
71
73
80 inline DeviceSettingsSyncState GetDeviceSettingsSyncState() const { return m_deviceSettingsSyncState; }
81 inline bool DeviceSettingsSyncStateHasBeenSet() const { return m_deviceSettingsSyncStateHasBeenSet; }
82 inline void SetDeviceSettingsSyncState(DeviceSettingsSyncState value) { m_deviceSettingsSyncStateHasBeenSet = true; m_deviceSettingsSyncState = value; }
85
87
90 inline DeviceUpdateStatus GetDeviceUpdateStatus() const { return m_deviceUpdateStatus; }
91 inline bool DeviceUpdateStatusHasBeenSet() const { return m_deviceUpdateStatusHasBeenSet; }
92 inline void SetDeviceUpdateStatus(DeviceUpdateStatus value) { m_deviceUpdateStatusHasBeenSet = true; m_deviceUpdateStatus = value; }
95
97
100 inline const InputDeviceHdSettings& GetHdDeviceSettings() const { return m_hdDeviceSettings; }
101 inline bool HdDeviceSettingsHasBeenSet() const { return m_hdDeviceSettingsHasBeenSet; }
102 template<typename HdDeviceSettingsT = InputDeviceHdSettings>
103 void SetHdDeviceSettings(HdDeviceSettingsT&& value) { m_hdDeviceSettingsHasBeenSet = true; m_hdDeviceSettings = std::forward<HdDeviceSettingsT>(value); }
104 template<typename HdDeviceSettingsT = InputDeviceHdSettings>
105 InputDeviceSummary& WithHdDeviceSettings(HdDeviceSettingsT&& value) { SetHdDeviceSettings(std::forward<HdDeviceSettingsT>(value)); return *this;}
107
109
112 inline const Aws::String& GetId() const { return m_id; }
113 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
114 template<typename IdT = Aws::String>
115 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
116 template<typename IdT = Aws::String>
117 InputDeviceSummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
119
121
124 inline const Aws::String& GetMacAddress() const { return m_macAddress; }
125 inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
126 template<typename MacAddressT = Aws::String>
127 void SetMacAddress(MacAddressT&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::forward<MacAddressT>(value); }
128 template<typename MacAddressT = Aws::String>
129 InputDeviceSummary& WithMacAddress(MacAddressT&& value) { SetMacAddress(std::forward<MacAddressT>(value)); return *this;}
131
133
136 inline const Aws::String& GetName() const { return m_name; }
137 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
138 template<typename NameT = Aws::String>
139 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
140 template<typename NameT = Aws::String>
141 InputDeviceSummary& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
143
145
148 inline const InputDeviceNetworkSettings& GetNetworkSettings() const { return m_networkSettings; }
149 inline bool NetworkSettingsHasBeenSet() const { return m_networkSettingsHasBeenSet; }
150 template<typename NetworkSettingsT = InputDeviceNetworkSettings>
151 void SetNetworkSettings(NetworkSettingsT&& value) { m_networkSettingsHasBeenSet = true; m_networkSettings = std::forward<NetworkSettingsT>(value); }
152 template<typename NetworkSettingsT = InputDeviceNetworkSettings>
153 InputDeviceSummary& WithNetworkSettings(NetworkSettingsT&& value) { SetNetworkSettings(std::forward<NetworkSettingsT>(value)); return *this;}
155
157
160 inline const Aws::String& GetSerialNumber() const { return m_serialNumber; }
161 inline bool SerialNumberHasBeenSet() const { return m_serialNumberHasBeenSet; }
162 template<typename SerialNumberT = Aws::String>
163 void SetSerialNumber(SerialNumberT&& value) { m_serialNumberHasBeenSet = true; m_serialNumber = std::forward<SerialNumberT>(value); }
164 template<typename SerialNumberT = Aws::String>
165 InputDeviceSummary& WithSerialNumber(SerialNumberT&& value) { SetSerialNumber(std::forward<SerialNumberT>(value)); return *this;}
167
169
172 inline InputDeviceType GetType() const { return m_type; }
173 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
174 inline void SetType(InputDeviceType value) { m_typeHasBeenSet = true; m_type = value; }
175 inline InputDeviceSummary& WithType(InputDeviceType value) { SetType(value); return *this;}
177
179
182 inline const InputDeviceUhdSettings& GetUhdDeviceSettings() const { return m_uhdDeviceSettings; }
183 inline bool UhdDeviceSettingsHasBeenSet() const { return m_uhdDeviceSettingsHasBeenSet; }
184 template<typename UhdDeviceSettingsT = InputDeviceUhdSettings>
185 void SetUhdDeviceSettings(UhdDeviceSettingsT&& value) { m_uhdDeviceSettingsHasBeenSet = true; m_uhdDeviceSettings = std::forward<UhdDeviceSettingsT>(value); }
186 template<typename UhdDeviceSettingsT = InputDeviceUhdSettings>
187 InputDeviceSummary& WithUhdDeviceSettings(UhdDeviceSettingsT&& value) { SetUhdDeviceSettings(std::forward<UhdDeviceSettingsT>(value)); return *this;}
189
191
194 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
195 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
196 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
197 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
198 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
199 InputDeviceSummary& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
200 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
201 InputDeviceSummary& AddTags(TagsKeyT&& key, TagsValueT&& value) {
202 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
203 }
205
207
210 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
211 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
212 template<typename AvailabilityZoneT = Aws::String>
213 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
214 template<typename AvailabilityZoneT = Aws::String>
215 InputDeviceSummary& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
217
219
223 inline const Aws::Vector<Aws::String>& GetMedialiveInputArns() const { return m_medialiveInputArns; }
224 inline bool MedialiveInputArnsHasBeenSet() const { return m_medialiveInputArnsHasBeenSet; }
225 template<typename MedialiveInputArnsT = Aws::Vector<Aws::String>>
226 void SetMedialiveInputArns(MedialiveInputArnsT&& value) { m_medialiveInputArnsHasBeenSet = true; m_medialiveInputArns = std::forward<MedialiveInputArnsT>(value); }
227 template<typename MedialiveInputArnsT = Aws::Vector<Aws::String>>
228 InputDeviceSummary& WithMedialiveInputArns(MedialiveInputArnsT&& value) { SetMedialiveInputArns(std::forward<MedialiveInputArnsT>(value)); return *this;}
229 template<typename MedialiveInputArnsT = Aws::String>
230 InputDeviceSummary& AddMedialiveInputArns(MedialiveInputArnsT&& value) { m_medialiveInputArnsHasBeenSet = true; m_medialiveInputArns.emplace_back(std::forward<MedialiveInputArnsT>(value)); return *this; }
232
234
239 inline InputDeviceOutputType GetOutputType() const { return m_outputType; }
240 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
241 inline void SetOutputType(InputDeviceOutputType value) { m_outputTypeHasBeenSet = true; m_outputType = value; }
244 private:
245
246 Aws::String m_arn;
247 bool m_arnHasBeenSet = false;
248
250 bool m_connectionStateHasBeenSet = false;
251
253 bool m_deviceSettingsSyncStateHasBeenSet = false;
254
256 bool m_deviceUpdateStatusHasBeenSet = false;
257
258 InputDeviceHdSettings m_hdDeviceSettings;
259 bool m_hdDeviceSettingsHasBeenSet = false;
260
261 Aws::String m_id;
262 bool m_idHasBeenSet = false;
263
264 Aws::String m_macAddress;
265 bool m_macAddressHasBeenSet = false;
266
267 Aws::String m_name;
268 bool m_nameHasBeenSet = false;
269
270 InputDeviceNetworkSettings m_networkSettings;
271 bool m_networkSettingsHasBeenSet = false;
272
273 Aws::String m_serialNumber;
274 bool m_serialNumberHasBeenSet = false;
275
277 bool m_typeHasBeenSet = false;
278
279 InputDeviceUhdSettings m_uhdDeviceSettings;
280 bool m_uhdDeviceSettingsHasBeenSet = false;
281
283 bool m_tagsHasBeenSet = false;
284
285 Aws::String m_availabilityZone;
286 bool m_availabilityZoneHasBeenSet = false;
287
288 Aws::Vector<Aws::String> m_medialiveInputArns;
289 bool m_medialiveInputArnsHasBeenSet = false;
290
292 bool m_outputTypeHasBeenSet = false;
293 };
294
295} // namespace Model
296} // namespace MediaLive
297} // namespace Aws
InputDeviceConnectionState GetConnectionState() const
const InputDeviceNetworkSettings & GetNetworkSettings() const
DeviceSettingsSyncState GetDeviceSettingsSyncState() const
InputDeviceSummary & WithArn(ArnT &&value)
InputDeviceSummary & WithTags(TagsT &&value)
void SetNetworkSettings(NetworkSettingsT &&value)
InputDeviceSummary & WithOutputType(InputDeviceOutputType value)
InputDeviceSummary & WithSerialNumber(SerialNumberT &&value)
void SetDeviceUpdateStatus(DeviceUpdateStatus value)
InputDeviceSummary & WithMedialiveInputArns(MedialiveInputArnsT &&value)
AWS_MEDIALIVE_API InputDeviceSummary(Aws::Utils::Json::JsonView jsonValue)
void SetAvailabilityZone(AvailabilityZoneT &&value)
InputDeviceSummary & WithMacAddress(MacAddressT &&value)
InputDeviceSummary & WithUhdDeviceSettings(UhdDeviceSettingsT &&value)
InputDeviceSummary & WithHdDeviceSettings(HdDeviceSettingsT &&value)
InputDeviceSummary & WithDeviceSettingsSyncState(DeviceSettingsSyncState value)
AWS_MEDIALIVE_API InputDeviceSummary()=default
InputDeviceOutputType GetOutputType() const
void SetConnectionState(InputDeviceConnectionState value)
AWS_MEDIALIVE_API InputDeviceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
DeviceUpdateStatus GetDeviceUpdateStatus() const
const InputDeviceUhdSettings & GetUhdDeviceSettings() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
InputDeviceSummary & WithName(NameT &&value)
InputDeviceSummary & AddMedialiveInputArns(MedialiveInputArnsT &&value)
const Aws::Vector< Aws::String > & GetMedialiveInputArns() const
InputDeviceSummary & WithNetworkSettings(NetworkSettingsT &&value)
InputDeviceSummary & WithConnectionState(InputDeviceConnectionState value)
InputDeviceSummary & WithId(IdT &&value)
void SetMedialiveInputArns(MedialiveInputArnsT &&value)
InputDeviceSummary & WithType(InputDeviceType value)
void SetOutputType(InputDeviceOutputType value)
void SetUhdDeviceSettings(UhdDeviceSettingsT &&value)
InputDeviceSummary & AddTags(TagsKeyT &&key, TagsValueT &&value)
InputDeviceSummary & WithDeviceUpdateStatus(DeviceUpdateStatus value)
const Aws::String & GetAvailabilityZone() const
void SetDeviceSettingsSyncState(DeviceSettingsSyncState value)
void SetHdDeviceSettings(HdDeviceSettingsT &&value)
InputDeviceSummary & WithAvailabilityZone(AvailabilityZoneT &&value)
const InputDeviceHdSettings & GetHdDeviceSettings() 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