AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
59 inline InputDeviceSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline InputDeviceSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline InputDeviceSummary& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const InputDeviceConnectionState& GetConnectionState() const{ return m_connectionState; }
69 inline bool ConnectionStateHasBeenSet() const { return m_connectionStateHasBeenSet; }
70 inline void SetConnectionState(const InputDeviceConnectionState& value) { m_connectionStateHasBeenSet = true; m_connectionState = value; }
71 inline void SetConnectionState(InputDeviceConnectionState&& value) { m_connectionStateHasBeenSet = true; m_connectionState = std::move(value); }
73 inline InputDeviceSummary& WithConnectionState(InputDeviceConnectionState&& value) { SetConnectionState(std::move(value)); return *this;}
75
77
84 inline const DeviceSettingsSyncState& GetDeviceSettingsSyncState() const{ return m_deviceSettingsSyncState; }
85 inline bool DeviceSettingsSyncStateHasBeenSet() const { return m_deviceSettingsSyncStateHasBeenSet; }
86 inline void SetDeviceSettingsSyncState(const DeviceSettingsSyncState& value) { m_deviceSettingsSyncStateHasBeenSet = true; m_deviceSettingsSyncState = value; }
87 inline void SetDeviceSettingsSyncState(DeviceSettingsSyncState&& value) { m_deviceSettingsSyncStateHasBeenSet = true; m_deviceSettingsSyncState = std::move(value); }
91
93
96 inline const DeviceUpdateStatus& GetDeviceUpdateStatus() const{ return m_deviceUpdateStatus; }
97 inline bool DeviceUpdateStatusHasBeenSet() const { return m_deviceUpdateStatusHasBeenSet; }
98 inline void SetDeviceUpdateStatus(const DeviceUpdateStatus& value) { m_deviceUpdateStatusHasBeenSet = true; m_deviceUpdateStatus = value; }
99 inline void SetDeviceUpdateStatus(DeviceUpdateStatus&& value) { m_deviceUpdateStatusHasBeenSet = true; m_deviceUpdateStatus = std::move(value); }
101 inline InputDeviceSummary& WithDeviceUpdateStatus(DeviceUpdateStatus&& value) { SetDeviceUpdateStatus(std::move(value)); return *this;}
103
105
108 inline const InputDeviceHdSettings& GetHdDeviceSettings() const{ return m_hdDeviceSettings; }
109 inline bool HdDeviceSettingsHasBeenSet() const { return m_hdDeviceSettingsHasBeenSet; }
110 inline void SetHdDeviceSettings(const InputDeviceHdSettings& value) { m_hdDeviceSettingsHasBeenSet = true; m_hdDeviceSettings = value; }
111 inline void SetHdDeviceSettings(InputDeviceHdSettings&& value) { m_hdDeviceSettingsHasBeenSet = true; m_hdDeviceSettings = std::move(value); }
113 inline InputDeviceSummary& WithHdDeviceSettings(InputDeviceHdSettings&& value) { SetHdDeviceSettings(std::move(value)); return *this;}
115
117
120 inline const Aws::String& GetId() const{ return m_id; }
121 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
122 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
123 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
124 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
125 inline InputDeviceSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
126 inline InputDeviceSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
127 inline InputDeviceSummary& WithId(const char* value) { SetId(value); return *this;}
129
131
134 inline const Aws::String& GetMacAddress() const{ return m_macAddress; }
135 inline bool MacAddressHasBeenSet() const { return m_macAddressHasBeenSet; }
136 inline void SetMacAddress(const Aws::String& value) { m_macAddressHasBeenSet = true; m_macAddress = value; }
137 inline void SetMacAddress(Aws::String&& value) { m_macAddressHasBeenSet = true; m_macAddress = std::move(value); }
138 inline void SetMacAddress(const char* value) { m_macAddressHasBeenSet = true; m_macAddress.assign(value); }
139 inline InputDeviceSummary& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
140 inline InputDeviceSummary& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;}
141 inline InputDeviceSummary& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
143
145
148 inline const Aws::String& GetName() const{ return m_name; }
149 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
150 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
151 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
152 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
153 inline InputDeviceSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
154 inline InputDeviceSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
155 inline InputDeviceSummary& WithName(const char* value) { SetName(value); return *this;}
157
159
162 inline const InputDeviceNetworkSettings& GetNetworkSettings() const{ return m_networkSettings; }
163 inline bool NetworkSettingsHasBeenSet() const { return m_networkSettingsHasBeenSet; }
164 inline void SetNetworkSettings(const InputDeviceNetworkSettings& value) { m_networkSettingsHasBeenSet = true; m_networkSettings = value; }
165 inline void SetNetworkSettings(InputDeviceNetworkSettings&& value) { m_networkSettingsHasBeenSet = true; m_networkSettings = std::move(value); }
167 inline InputDeviceSummary& WithNetworkSettings(InputDeviceNetworkSettings&& value) { SetNetworkSettings(std::move(value)); return *this;}
169
171
174 inline const Aws::String& GetSerialNumber() const{ return m_serialNumber; }
175 inline bool SerialNumberHasBeenSet() const { return m_serialNumberHasBeenSet; }
176 inline void SetSerialNumber(const Aws::String& value) { m_serialNumberHasBeenSet = true; m_serialNumber = value; }
177 inline void SetSerialNumber(Aws::String&& value) { m_serialNumberHasBeenSet = true; m_serialNumber = std::move(value); }
178 inline void SetSerialNumber(const char* value) { m_serialNumberHasBeenSet = true; m_serialNumber.assign(value); }
179 inline InputDeviceSummary& WithSerialNumber(const Aws::String& value) { SetSerialNumber(value); return *this;}
180 inline InputDeviceSummary& WithSerialNumber(Aws::String&& value) { SetSerialNumber(std::move(value)); return *this;}
181 inline InputDeviceSummary& WithSerialNumber(const char* value) { SetSerialNumber(value); return *this;}
183
185
188 inline const InputDeviceType& GetType() const{ return m_type; }
189 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
190 inline void SetType(const InputDeviceType& value) { m_typeHasBeenSet = true; m_type = value; }
191 inline void SetType(InputDeviceType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
192 inline InputDeviceSummary& WithType(const InputDeviceType& value) { SetType(value); return *this;}
193 inline InputDeviceSummary& WithType(InputDeviceType&& value) { SetType(std::move(value)); return *this;}
195
197
200 inline const InputDeviceUhdSettings& GetUhdDeviceSettings() const{ return m_uhdDeviceSettings; }
201 inline bool UhdDeviceSettingsHasBeenSet() const { return m_uhdDeviceSettingsHasBeenSet; }
202 inline void SetUhdDeviceSettings(const InputDeviceUhdSettings& value) { m_uhdDeviceSettingsHasBeenSet = true; m_uhdDeviceSettings = value; }
203 inline void SetUhdDeviceSettings(InputDeviceUhdSettings&& value) { m_uhdDeviceSettingsHasBeenSet = true; m_uhdDeviceSettings = std::move(value); }
205 inline InputDeviceSummary& WithUhdDeviceSettings(InputDeviceUhdSettings&& value) { SetUhdDeviceSettings(std::move(value)); return *this;}
207
209
212 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
213 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
214 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
215 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
216 inline InputDeviceSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
217 inline InputDeviceSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
218 inline InputDeviceSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
219 inline InputDeviceSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
220 inline InputDeviceSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
221 inline InputDeviceSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
222 inline InputDeviceSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
223 inline InputDeviceSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
224 inline InputDeviceSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
226
228
231 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
232 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
233 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
234 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); }
235 inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
236 inline InputDeviceSummary& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
237 inline InputDeviceSummary& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
238 inline InputDeviceSummary& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
240
242
246 inline const Aws::Vector<Aws::String>& GetMedialiveInputArns() const{ return m_medialiveInputArns; }
247 inline bool MedialiveInputArnsHasBeenSet() const { return m_medialiveInputArnsHasBeenSet; }
248 inline void SetMedialiveInputArns(const Aws::Vector<Aws::String>& value) { m_medialiveInputArnsHasBeenSet = true; m_medialiveInputArns = value; }
249 inline void SetMedialiveInputArns(Aws::Vector<Aws::String>&& value) { m_medialiveInputArnsHasBeenSet = true; m_medialiveInputArns = std::move(value); }
252 inline InputDeviceSummary& AddMedialiveInputArns(const Aws::String& value) { m_medialiveInputArnsHasBeenSet = true; m_medialiveInputArns.push_back(value); return *this; }
253 inline InputDeviceSummary& AddMedialiveInputArns(Aws::String&& value) { m_medialiveInputArnsHasBeenSet = true; m_medialiveInputArns.push_back(std::move(value)); return *this; }
254 inline InputDeviceSummary& AddMedialiveInputArns(const char* value) { m_medialiveInputArnsHasBeenSet = true; m_medialiveInputArns.push_back(value); return *this; }
256
258
263 inline const InputDeviceOutputType& GetOutputType() const{ return m_outputType; }
264 inline bool OutputTypeHasBeenSet() const { return m_outputTypeHasBeenSet; }
265 inline void SetOutputType(const InputDeviceOutputType& value) { m_outputTypeHasBeenSet = true; m_outputType = value; }
266 inline void SetOutputType(InputDeviceOutputType&& value) { m_outputTypeHasBeenSet = true; m_outputType = std::move(value); }
267 inline InputDeviceSummary& WithOutputType(const InputDeviceOutputType& value) { SetOutputType(value); return *this;}
268 inline InputDeviceSummary& WithOutputType(InputDeviceOutputType&& value) { SetOutputType(std::move(value)); return *this;}
270 private:
271
272 Aws::String m_arn;
273 bool m_arnHasBeenSet = false;
274
275 InputDeviceConnectionState m_connectionState;
276 bool m_connectionStateHasBeenSet = false;
277
278 DeviceSettingsSyncState m_deviceSettingsSyncState;
279 bool m_deviceSettingsSyncStateHasBeenSet = false;
280
281 DeviceUpdateStatus m_deviceUpdateStatus;
282 bool m_deviceUpdateStatusHasBeenSet = false;
283
284 InputDeviceHdSettings m_hdDeviceSettings;
285 bool m_hdDeviceSettingsHasBeenSet = false;
286
287 Aws::String m_id;
288 bool m_idHasBeenSet = false;
289
290 Aws::String m_macAddress;
291 bool m_macAddressHasBeenSet = false;
292
293 Aws::String m_name;
294 bool m_nameHasBeenSet = false;
295
296 InputDeviceNetworkSettings m_networkSettings;
297 bool m_networkSettingsHasBeenSet = false;
298
299 Aws::String m_serialNumber;
300 bool m_serialNumberHasBeenSet = false;
301
302 InputDeviceType m_type;
303 bool m_typeHasBeenSet = false;
304
305 InputDeviceUhdSettings m_uhdDeviceSettings;
306 bool m_uhdDeviceSettingsHasBeenSet = false;
307
309 bool m_tagsHasBeenSet = false;
310
311 Aws::String m_availabilityZone;
312 bool m_availabilityZoneHasBeenSet = false;
313
314 Aws::Vector<Aws::String> m_medialiveInputArns;
315 bool m_medialiveInputArnsHasBeenSet = false;
316
317 InputDeviceOutputType m_outputType;
318 bool m_outputTypeHasBeenSet = false;
319 };
320
321} // namespace Model
322} // namespace MediaLive
323} // namespace Aws
InputDeviceSummary & WithNetworkSettings(const InputDeviceNetworkSettings &value)
InputDeviceSummary & WithOutputType(InputDeviceOutputType &&value)
InputDeviceSummary & WithType(InputDeviceType &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const InputDeviceNetworkSettings & GetNetworkSettings() const
InputDeviceSummary & WithMedialiveInputArns(const Aws::Vector< Aws::String > &value)
InputDeviceSummary & AddMedialiveInputArns(const Aws::String &value)
InputDeviceSummary & WithName(const Aws::String &value)
InputDeviceSummary & WithConnectionState(InputDeviceConnectionState &&value)
void SetDeviceSettingsSyncState(DeviceSettingsSyncState &&value)
void SetConnectionState(InputDeviceConnectionState &&value)
InputDeviceSummary & WithId(const char *value)
InputDeviceSummary & WithHdDeviceSettings(const InputDeviceHdSettings &value)
InputDeviceSummary & WithType(const InputDeviceType &value)
AWS_MEDIALIVE_API InputDeviceSummary(Aws::Utils::Json::JsonView jsonValue)
const InputDeviceConnectionState & GetConnectionState() const
InputDeviceSummary & AddMedialiveInputArns(const char *value)
void SetArn(const Aws::String &value)
InputDeviceSummary & WithAvailabilityZone(const Aws::String &value)
const InputDeviceType & GetType() const
const DeviceSettingsSyncState & GetDeviceSettingsSyncState() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
InputDeviceSummary & WithArn(const Aws::String &value)
InputDeviceSummary & WithArn(const char *value)
const InputDeviceOutputType & GetOutputType() const
InputDeviceSummary & AddTags(Aws::String &&key, Aws::String &&value)
InputDeviceSummary & AddTags(const char *key, Aws::String &&value)
void SetConnectionState(const InputDeviceConnectionState &value)
InputDeviceSummary & WithHdDeviceSettings(InputDeviceHdSettings &&value)
AWS_MEDIALIVE_API InputDeviceSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InputDeviceSummary & WithDeviceSettingsSyncState(const DeviceSettingsSyncState &value)
InputDeviceSummary & AddTags(Aws::String &&key, const char *value)
void SetDeviceUpdateStatus(DeviceUpdateStatus &&value)
InputDeviceSummary & WithDeviceSettingsSyncState(DeviceSettingsSyncState &&value)
InputDeviceSummary & WithName(Aws::String &&value)
InputDeviceSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const InputDeviceUhdSettings & GetUhdDeviceSettings() const
void SetMedialiveInputArns(const Aws::Vector< Aws::String > &value)
void SetOutputType(InputDeviceOutputType &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
InputDeviceSummary & WithConnectionState(const InputDeviceConnectionState &value)
const Aws::Vector< Aws::String > & GetMedialiveInputArns() const
InputDeviceSummary & AddTags(const Aws::String &key, Aws::String &&value)
void SetUhdDeviceSettings(InputDeviceUhdSettings &&value)
void SetDeviceUpdateStatus(const DeviceUpdateStatus &value)
InputDeviceSummary & AddTags(Aws::String &&key, const Aws::String &value)
InputDeviceSummary & WithMedialiveInputArns(Aws::Vector< Aws::String > &&value)
InputDeviceSummary & AddMedialiveInputArns(Aws::String &&value)
InputDeviceSummary & WithNetworkSettings(InputDeviceNetworkSettings &&value)
InputDeviceSummary & WithMacAddress(const char *value)
InputDeviceSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
InputDeviceSummary & AddTags(const Aws::String &key, const Aws::String &value)
InputDeviceSummary & WithUhdDeviceSettings(const InputDeviceUhdSettings &value)
void SetAvailabilityZone(const Aws::String &value)
InputDeviceSummary & WithArn(Aws::String &&value)
void SetSerialNumber(const Aws::String &value)
InputDeviceSummary & WithDeviceUpdateStatus(DeviceUpdateStatus &&value)
InputDeviceSummary & WithSerialNumber(Aws::String &&value)
void SetDeviceSettingsSyncState(const DeviceSettingsSyncState &value)
void SetMacAddress(const Aws::String &value)
void SetNetworkSettings(InputDeviceNetworkSettings &&value)
InputDeviceSummary & WithAvailabilityZone(Aws::String &&value)
InputDeviceSummary & WithMacAddress(Aws::String &&value)
void SetHdDeviceSettings(const InputDeviceHdSettings &value)
InputDeviceSummary & WithId(const Aws::String &value)
InputDeviceSummary & WithId(Aws::String &&value)
InputDeviceSummary & WithSerialNumber(const char *value)
void SetType(const InputDeviceType &value)
void SetOutputType(const InputDeviceOutputType &value)
InputDeviceSummary & AddTags(const char *key, const char *value)
InputDeviceSummary & WithSerialNumber(const Aws::String &value)
void SetNetworkSettings(const InputDeviceNetworkSettings &value)
InputDeviceSummary & WithUhdDeviceSettings(InputDeviceUhdSettings &&value)
const Aws::String & GetAvailabilityZone() const
InputDeviceSummary & WithOutputType(const InputDeviceOutputType &value)
void SetMedialiveInputArns(Aws::Vector< Aws::String > &&value)
InputDeviceSummary & WithName(const char *value)
const DeviceUpdateStatus & GetDeviceUpdateStatus() const
const InputDeviceHdSettings & GetHdDeviceSettings() const
InputDeviceSummary & WithMacAddress(const Aws::String &value)
void SetHdDeviceSettings(InputDeviceHdSettings &&value)
InputDeviceSummary & WithAvailabilityZone(const char *value)
InputDeviceSummary & WithDeviceUpdateStatus(const DeviceUpdateStatus &value)
void SetUhdDeviceSettings(const InputDeviceUhdSettings &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