AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateInputDeviceResult.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 UpdateInputDeviceResult();
49
50
52
55 inline const Aws::String& GetArn() const{ return m_arn; }
56 inline void SetArn(const Aws::String& value) { m_arn = value; }
57 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
58 inline void SetArn(const char* value) { m_arn.assign(value); }
59 inline UpdateInputDeviceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
60 inline UpdateInputDeviceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
61 inline UpdateInputDeviceResult& WithArn(const char* value) { SetArn(value); return *this;}
63
65
68 inline const InputDeviceConnectionState& GetConnectionState() const{ return m_connectionState; }
69 inline void SetConnectionState(const InputDeviceConnectionState& value) { m_connectionState = value; }
70 inline void SetConnectionState(InputDeviceConnectionState&& value) { m_connectionState = std::move(value); }
74
76
83 inline const DeviceSettingsSyncState& GetDeviceSettingsSyncState() const{ return m_deviceSettingsSyncState; }
84 inline void SetDeviceSettingsSyncState(const DeviceSettingsSyncState& value) { m_deviceSettingsSyncState = value; }
85 inline void SetDeviceSettingsSyncState(DeviceSettingsSyncState&& value) { m_deviceSettingsSyncState = std::move(value); }
89
91
94 inline const DeviceUpdateStatus& GetDeviceUpdateStatus() const{ return m_deviceUpdateStatus; }
95 inline void SetDeviceUpdateStatus(const DeviceUpdateStatus& value) { m_deviceUpdateStatus = value; }
96 inline void SetDeviceUpdateStatus(DeviceUpdateStatus&& value) { m_deviceUpdateStatus = std::move(value); }
100
102
105 inline const InputDeviceHdSettings& GetHdDeviceSettings() const{ return m_hdDeviceSettings; }
106 inline void SetHdDeviceSettings(const InputDeviceHdSettings& value) { m_hdDeviceSettings = value; }
107 inline void SetHdDeviceSettings(InputDeviceHdSettings&& value) { m_hdDeviceSettings = std::move(value); }
111
113
116 inline const Aws::String& GetId() const{ return m_id; }
117 inline void SetId(const Aws::String& value) { m_id = value; }
118 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
119 inline void SetId(const char* value) { m_id.assign(value); }
120 inline UpdateInputDeviceResult& WithId(const Aws::String& value) { SetId(value); return *this;}
121 inline UpdateInputDeviceResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
122 inline UpdateInputDeviceResult& WithId(const char* value) { SetId(value); return *this;}
124
126
129 inline const Aws::String& GetMacAddress() const{ return m_macAddress; }
130 inline void SetMacAddress(const Aws::String& value) { m_macAddress = value; }
131 inline void SetMacAddress(Aws::String&& value) { m_macAddress = std::move(value); }
132 inline void SetMacAddress(const char* value) { m_macAddress.assign(value); }
133 inline UpdateInputDeviceResult& WithMacAddress(const Aws::String& value) { SetMacAddress(value); return *this;}
134 inline UpdateInputDeviceResult& WithMacAddress(Aws::String&& value) { SetMacAddress(std::move(value)); return *this;}
135 inline UpdateInputDeviceResult& WithMacAddress(const char* value) { SetMacAddress(value); return *this;}
137
139
142 inline const Aws::String& GetName() const{ return m_name; }
143 inline void SetName(const Aws::String& value) { m_name = value; }
144 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
145 inline void SetName(const char* value) { m_name.assign(value); }
146 inline UpdateInputDeviceResult& WithName(const Aws::String& value) { SetName(value); return *this;}
147 inline UpdateInputDeviceResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
148 inline UpdateInputDeviceResult& WithName(const char* value) { SetName(value); return *this;}
150
152
155 inline const InputDeviceNetworkSettings& GetNetworkSettings() const{ return m_networkSettings; }
156 inline void SetNetworkSettings(const InputDeviceNetworkSettings& value) { m_networkSettings = value; }
157 inline void SetNetworkSettings(InputDeviceNetworkSettings&& value) { m_networkSettings = std::move(value); }
161
163
166 inline const Aws::String& GetSerialNumber() const{ return m_serialNumber; }
167 inline void SetSerialNumber(const Aws::String& value) { m_serialNumber = value; }
168 inline void SetSerialNumber(Aws::String&& value) { m_serialNumber = std::move(value); }
169 inline void SetSerialNumber(const char* value) { m_serialNumber.assign(value); }
170 inline UpdateInputDeviceResult& WithSerialNumber(const Aws::String& value) { SetSerialNumber(value); return *this;}
171 inline UpdateInputDeviceResult& WithSerialNumber(Aws::String&& value) { SetSerialNumber(std::move(value)); return *this;}
172 inline UpdateInputDeviceResult& WithSerialNumber(const char* value) { SetSerialNumber(value); return *this;}
174
176
179 inline const InputDeviceType& GetType() const{ return m_type; }
180 inline void SetType(const InputDeviceType& value) { m_type = value; }
181 inline void SetType(InputDeviceType&& value) { m_type = std::move(value); }
182 inline UpdateInputDeviceResult& WithType(const InputDeviceType& value) { SetType(value); return *this;}
183 inline UpdateInputDeviceResult& WithType(InputDeviceType&& value) { SetType(std::move(value)); return *this;}
185
187
190 inline const InputDeviceUhdSettings& GetUhdDeviceSettings() const{ return m_uhdDeviceSettings; }
191 inline void SetUhdDeviceSettings(const InputDeviceUhdSettings& value) { m_uhdDeviceSettings = value; }
192 inline void SetUhdDeviceSettings(InputDeviceUhdSettings&& value) { m_uhdDeviceSettings = std::move(value); }
196
198
201 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
202 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
203 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
204 inline UpdateInputDeviceResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
205 inline UpdateInputDeviceResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
206 inline UpdateInputDeviceResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
207 inline UpdateInputDeviceResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
208 inline UpdateInputDeviceResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
209 inline UpdateInputDeviceResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
210 inline UpdateInputDeviceResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
211 inline UpdateInputDeviceResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
212 inline UpdateInputDeviceResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
214
216
219 inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
220 inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZone = value; }
221 inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZone = std::move(value); }
222 inline void SetAvailabilityZone(const char* value) { m_availabilityZone.assign(value); }
224 inline UpdateInputDeviceResult& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;}
225 inline UpdateInputDeviceResult& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
227
229
233 inline const Aws::Vector<Aws::String>& GetMedialiveInputArns() const{ return m_medialiveInputArns; }
234 inline void SetMedialiveInputArns(const Aws::Vector<Aws::String>& value) { m_medialiveInputArns = value; }
235 inline void SetMedialiveInputArns(Aws::Vector<Aws::String>&& value) { m_medialiveInputArns = std::move(value); }
238 inline UpdateInputDeviceResult& AddMedialiveInputArns(const Aws::String& value) { m_medialiveInputArns.push_back(value); return *this; }
239 inline UpdateInputDeviceResult& AddMedialiveInputArns(Aws::String&& value) { m_medialiveInputArns.push_back(std::move(value)); return *this; }
240 inline UpdateInputDeviceResult& AddMedialiveInputArns(const char* value) { m_medialiveInputArns.push_back(value); return *this; }
242
244
249 inline const InputDeviceOutputType& GetOutputType() const{ return m_outputType; }
250 inline void SetOutputType(const InputDeviceOutputType& value) { m_outputType = value; }
251 inline void SetOutputType(InputDeviceOutputType&& value) { m_outputType = std::move(value); }
252 inline UpdateInputDeviceResult& WithOutputType(const InputDeviceOutputType& value) { SetOutputType(value); return *this;}
253 inline UpdateInputDeviceResult& WithOutputType(InputDeviceOutputType&& value) { SetOutputType(std::move(value)); return *this;}
255
257
258 inline const Aws::String& GetRequestId() const{ return m_requestId; }
259 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
260 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
261 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
262 inline UpdateInputDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
263 inline UpdateInputDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
264 inline UpdateInputDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
266 private:
267
268 Aws::String m_arn;
269
270 InputDeviceConnectionState m_connectionState;
271
272 DeviceSettingsSyncState m_deviceSettingsSyncState;
273
274 DeviceUpdateStatus m_deviceUpdateStatus;
275
276 InputDeviceHdSettings m_hdDeviceSettings;
277
278 Aws::String m_id;
279
280 Aws::String m_macAddress;
281
282 Aws::String m_name;
283
284 InputDeviceNetworkSettings m_networkSettings;
285
286 Aws::String m_serialNumber;
287
288 InputDeviceType m_type;
289
290 InputDeviceUhdSettings m_uhdDeviceSettings;
291
293
294 Aws::String m_availabilityZone;
295
296 Aws::Vector<Aws::String> m_medialiveInputArns;
297
298 InputDeviceOutputType m_outputType;
299
300 Aws::String m_requestId;
301 };
302
303} // namespace Model
304} // namespace MediaLive
305} // namespace Aws
void SetUhdDeviceSettings(const InputDeviceUhdSettings &value)
UpdateInputDeviceResult & WithMacAddress(const char *value)
UpdateInputDeviceResult & WithOutputType(InputDeviceOutputType &&value)
void SetMedialiveInputArns(const Aws::Vector< Aws::String > &value)
UpdateInputDeviceResult & WithDeviceUpdateStatus(const DeviceUpdateStatus &value)
void SetDeviceSettingsSyncState(const DeviceSettingsSyncState &value)
UpdateInputDeviceResult & WithName(Aws::String &&value)
UpdateInputDeviceResult & WithMedialiveInputArns(const Aws::Vector< Aws::String > &value)
void SetConnectionState(InputDeviceConnectionState &&value)
UpdateInputDeviceResult & AddTags(const Aws::String &key, Aws::String &&value)
UpdateInputDeviceResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetOutputType(const InputDeviceOutputType &value)
UpdateInputDeviceResult & WithNetworkSettings(InputDeviceNetworkSettings &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const DeviceUpdateStatus & GetDeviceUpdateStatus() const
void SetDeviceUpdateStatus(DeviceUpdateStatus &&value)
UpdateInputDeviceResult & WithAvailabilityZone(Aws::String &&value)
UpdateInputDeviceResult & WithName(const char *value)
void SetHdDeviceSettings(const InputDeviceHdSettings &value)
UpdateInputDeviceResult & WithConnectionState(InputDeviceConnectionState &&value)
void SetHdDeviceSettings(InputDeviceHdSettings &&value)
UpdateInputDeviceResult & WithId(const Aws::String &value)
UpdateInputDeviceResult & WithAvailabilityZone(const Aws::String &value)
UpdateInputDeviceResult & WithAvailabilityZone(const char *value)
UpdateInputDeviceResult & WithRequestId(const Aws::String &value)
UpdateInputDeviceResult & WithDeviceSettingsSyncState(DeviceSettingsSyncState &&value)
void SetUhdDeviceSettings(InputDeviceUhdSettings &&value)
UpdateInputDeviceResult & WithHdDeviceSettings(InputDeviceHdSettings &&value)
UpdateInputDeviceResult & WithRequestId(Aws::String &&value)
UpdateInputDeviceResult & WithId(Aws::String &&value)
void SetConnectionState(const InputDeviceConnectionState &value)
AWS_MEDIALIVE_API UpdateInputDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateInputDeviceResult & WithMacAddress(Aws::String &&value)
UpdateInputDeviceResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetMedialiveInputArns(Aws::Vector< Aws::String > &&value)
UpdateInputDeviceResult & AddTags(Aws::String &&key, const Aws::String &value)
UpdateInputDeviceResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateInputDeviceResult & WithUhdDeviceSettings(const InputDeviceUhdSettings &value)
const InputDeviceConnectionState & GetConnectionState() const
UpdateInputDeviceResult & WithOutputType(const InputDeviceOutputType &value)
UpdateInputDeviceResult & AddTags(const char *key, const char *value)
void SetDeviceUpdateStatus(const DeviceUpdateStatus &value)
UpdateInputDeviceResult & WithUhdDeviceSettings(InputDeviceUhdSettings &&value)
const DeviceSettingsSyncState & GetDeviceSettingsSyncState() const
void SetNetworkSettings(const InputDeviceNetworkSettings &value)
UpdateInputDeviceResult & AddTags(Aws::String &&key, const char *value)
UpdateInputDeviceResult & WithType(const InputDeviceType &value)
UpdateInputDeviceResult & WithMedialiveInputArns(Aws::Vector< Aws::String > &&value)
void SetDeviceSettingsSyncState(DeviceSettingsSyncState &&value)
AWS_MEDIALIVE_API UpdateInputDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
UpdateInputDeviceResult & WithName(const Aws::String &value)
UpdateInputDeviceResult & WithConnectionState(const InputDeviceConnectionState &value)
const InputDeviceUhdSettings & GetUhdDeviceSettings() const
UpdateInputDeviceResult & WithId(const char *value)
UpdateInputDeviceResult & AddTags(const char *key, Aws::String &&value)
UpdateInputDeviceResult & WithArn(const Aws::String &value)
UpdateInputDeviceResult & WithDeviceSettingsSyncState(const DeviceSettingsSyncState &value)
UpdateInputDeviceResult & WithArn(const char *value)
void SetOutputType(InputDeviceOutputType &&value)
UpdateInputDeviceResult & WithHdDeviceSettings(const InputDeviceHdSettings &value)
UpdateInputDeviceResult & WithMacAddress(const Aws::String &value)
UpdateInputDeviceResult & AddMedialiveInputArns(Aws::String &&value)
const InputDeviceOutputType & GetOutputType() const
UpdateInputDeviceResult & WithArn(Aws::String &&value)
UpdateInputDeviceResult & WithSerialNumber(Aws::String &&value)
UpdateInputDeviceResult & WithSerialNumber(const char *value)
UpdateInputDeviceResult & WithRequestId(const char *value)
UpdateInputDeviceResult & WithDeviceUpdateStatus(DeviceUpdateStatus &&value)
UpdateInputDeviceResult & AddMedialiveInputArns(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
UpdateInputDeviceResult & WithType(InputDeviceType &&value)
UpdateInputDeviceResult & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Vector< Aws::String > & GetMedialiveInputArns() const
const InputDeviceHdSettings & GetHdDeviceSettings() const
const InputDeviceNetworkSettings & GetNetworkSettings() const
UpdateInputDeviceResult & AddMedialiveInputArns(const Aws::String &value)
UpdateInputDeviceResult & WithNetworkSettings(const InputDeviceNetworkSettings &value)
UpdateInputDeviceResult & WithSerialNumber(const Aws::String &value)
void SetNetworkSettings(InputDeviceNetworkSettings &&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