AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeInputResult.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/medialive/model/InputClass.h>
11#include <aws/medialive/model/InputSourceType.h>
12#include <aws/medialive/model/InputState.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/medialive/model/InputType.h>
15#include <aws/medialive/model/SrtSettings.h>
16#include <aws/medialive/model/InputNetworkLocation.h>
17#include <aws/medialive/model/MulticastSettings.h>
18#include <aws/medialive/model/InputDestination.h>
19#include <aws/medialive/model/InputDeviceSettings.h>
20#include <aws/medialive/model/MediaConnectFlow.h>
21#include <aws/medialive/model/InputSource.h>
22#include <utility>
23
24namespace Aws
25{
26template<typename RESULT_TYPE>
27class AmazonWebServiceResult;
28
29namespace Utils
30{
31namespace Json
32{
33 class JsonValue;
34} // namespace Json
35} // namespace Utils
36namespace MediaLive
37{
38namespace Model
39{
46 {
47 public:
48 AWS_MEDIALIVE_API DescribeInputResult();
51
52
54
57 inline const Aws::String& GetArn() const{ return m_arn; }
58 inline void SetArn(const Aws::String& value) { m_arn = value; }
59 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
60 inline void SetArn(const char* value) { m_arn.assign(value); }
61 inline DescribeInputResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
62 inline DescribeInputResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
63 inline DescribeInputResult& WithArn(const char* value) { SetArn(value); return *this;}
65
67
71 inline const Aws::Vector<Aws::String>& GetAttachedChannels() const{ return m_attachedChannels; }
72 inline void SetAttachedChannels(const Aws::Vector<Aws::String>& value) { m_attachedChannels = value; }
73 inline void SetAttachedChannels(Aws::Vector<Aws::String>&& value) { m_attachedChannels = std::move(value); }
75 inline DescribeInputResult& WithAttachedChannels(Aws::Vector<Aws::String>&& value) { SetAttachedChannels(std::move(value)); return *this;}
76 inline DescribeInputResult& AddAttachedChannels(const Aws::String& value) { m_attachedChannels.push_back(value); return *this; }
77 inline DescribeInputResult& AddAttachedChannels(Aws::String&& value) { m_attachedChannels.push_back(std::move(value)); return *this; }
78 inline DescribeInputResult& AddAttachedChannels(const char* value) { m_attachedChannels.push_back(value); return *this; }
80
82
85 inline const Aws::Vector<InputDestination>& GetDestinations() const{ return m_destinations; }
86 inline void SetDestinations(const Aws::Vector<InputDestination>& value) { m_destinations = value; }
87 inline void SetDestinations(Aws::Vector<InputDestination>&& value) { m_destinations = std::move(value); }
89 inline DescribeInputResult& WithDestinations(Aws::Vector<InputDestination>&& value) { SetDestinations(std::move(value)); return *this;}
90 inline DescribeInputResult& AddDestinations(const InputDestination& value) { m_destinations.push_back(value); return *this; }
91 inline DescribeInputResult& AddDestinations(InputDestination&& value) { m_destinations.push_back(std::move(value)); return *this; }
93
95
98 inline const Aws::String& GetId() const{ return m_id; }
99 inline void SetId(const Aws::String& value) { m_id = value; }
100 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
101 inline void SetId(const char* value) { m_id.assign(value); }
102 inline DescribeInputResult& WithId(const Aws::String& value) { SetId(value); return *this;}
103 inline DescribeInputResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
104 inline DescribeInputResult& WithId(const char* value) { SetId(value); return *this;}
106
108
118 inline const InputClass& GetInputClass() const{ return m_inputClass; }
119 inline void SetInputClass(const InputClass& value) { m_inputClass = value; }
120 inline void SetInputClass(InputClass&& value) { m_inputClass = std::move(value); }
121 inline DescribeInputResult& WithInputClass(const InputClass& value) { SetInputClass(value); return *this;}
122 inline DescribeInputResult& WithInputClass(InputClass&& value) { SetInputClass(std::move(value)); return *this;}
124
126
129 inline const Aws::Vector<InputDeviceSettings>& GetInputDevices() const{ return m_inputDevices; }
130 inline void SetInputDevices(const Aws::Vector<InputDeviceSettings>& value) { m_inputDevices = value; }
131 inline void SetInputDevices(Aws::Vector<InputDeviceSettings>&& value) { m_inputDevices = std::move(value); }
134 inline DescribeInputResult& AddInputDevices(const InputDeviceSettings& value) { m_inputDevices.push_back(value); return *this; }
135 inline DescribeInputResult& AddInputDevices(InputDeviceSettings&& value) { m_inputDevices.push_back(std::move(value)); return *this; }
137
139
142 inline const Aws::Vector<Aws::String>& GetInputPartnerIds() const{ return m_inputPartnerIds; }
143 inline void SetInputPartnerIds(const Aws::Vector<Aws::String>& value) { m_inputPartnerIds = value; }
144 inline void SetInputPartnerIds(Aws::Vector<Aws::String>&& value) { m_inputPartnerIds = std::move(value); }
146 inline DescribeInputResult& WithInputPartnerIds(Aws::Vector<Aws::String>&& value) { SetInputPartnerIds(std::move(value)); return *this;}
147 inline DescribeInputResult& AddInputPartnerIds(const Aws::String& value) { m_inputPartnerIds.push_back(value); return *this; }
148 inline DescribeInputResult& AddInputPartnerIds(Aws::String&& value) { m_inputPartnerIds.push_back(std::move(value)); return *this; }
149 inline DescribeInputResult& AddInputPartnerIds(const char* value) { m_inputPartnerIds.push_back(value); return *this; }
151
153
159 inline const InputSourceType& GetInputSourceType() const{ return m_inputSourceType; }
160 inline void SetInputSourceType(const InputSourceType& value) { m_inputSourceType = value; }
161 inline void SetInputSourceType(InputSourceType&& value) { m_inputSourceType = std::move(value); }
162 inline DescribeInputResult& WithInputSourceType(const InputSourceType& value) { SetInputSourceType(value); return *this;}
163 inline DescribeInputResult& WithInputSourceType(InputSourceType&& value) { SetInputSourceType(std::move(value)); return *this;}
165
167
170 inline const Aws::Vector<MediaConnectFlow>& GetMediaConnectFlows() const{ return m_mediaConnectFlows; }
171 inline void SetMediaConnectFlows(const Aws::Vector<MediaConnectFlow>& value) { m_mediaConnectFlows = value; }
172 inline void SetMediaConnectFlows(Aws::Vector<MediaConnectFlow>&& value) { m_mediaConnectFlows = std::move(value); }
175 inline DescribeInputResult& AddMediaConnectFlows(const MediaConnectFlow& value) { m_mediaConnectFlows.push_back(value); return *this; }
176 inline DescribeInputResult& AddMediaConnectFlows(MediaConnectFlow&& value) { m_mediaConnectFlows.push_back(std::move(value)); return *this; }
178
180
183 inline const Aws::String& GetName() const{ return m_name; }
184 inline void SetName(const Aws::String& value) { m_name = value; }
185 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
186 inline void SetName(const char* value) { m_name.assign(value); }
187 inline DescribeInputResult& WithName(const Aws::String& value) { SetName(value); return *this;}
188 inline DescribeInputResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
189 inline DescribeInputResult& WithName(const char* value) { SetName(value); return *this;}
191
193
197 inline const Aws::String& GetRoleArn() const{ return m_roleArn; }
198 inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; }
199 inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); }
200 inline void SetRoleArn(const char* value) { m_roleArn.assign(value); }
201 inline DescribeInputResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;}
202 inline DescribeInputResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;}
203 inline DescribeInputResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;}
205
207
210 inline const Aws::Vector<Aws::String>& GetSecurityGroups() const{ return m_securityGroups; }
211 inline void SetSecurityGroups(const Aws::Vector<Aws::String>& value) { m_securityGroups = value; }
212 inline void SetSecurityGroups(Aws::Vector<Aws::String>&& value) { m_securityGroups = std::move(value); }
214 inline DescribeInputResult& WithSecurityGroups(Aws::Vector<Aws::String>&& value) { SetSecurityGroups(std::move(value)); return *this;}
215 inline DescribeInputResult& AddSecurityGroups(const Aws::String& value) { m_securityGroups.push_back(value); return *this; }
216 inline DescribeInputResult& AddSecurityGroups(Aws::String&& value) { m_securityGroups.push_back(std::move(value)); return *this; }
217 inline DescribeInputResult& AddSecurityGroups(const char* value) { m_securityGroups.push_back(value); return *this; }
219
221
224 inline const Aws::Vector<InputSource>& GetSources() const{ return m_sources; }
225 inline void SetSources(const Aws::Vector<InputSource>& value) { m_sources = value; }
226 inline void SetSources(Aws::Vector<InputSource>&& value) { m_sources = std::move(value); }
227 inline DescribeInputResult& WithSources(const Aws::Vector<InputSource>& value) { SetSources(value); return *this;}
228 inline DescribeInputResult& WithSources(Aws::Vector<InputSource>&& value) { SetSources(std::move(value)); return *this;}
229 inline DescribeInputResult& AddSources(const InputSource& value) { m_sources.push_back(value); return *this; }
230 inline DescribeInputResult& AddSources(InputSource&& value) { m_sources.push_back(std::move(value)); return *this; }
232
234
235 inline const InputState& GetState() const{ return m_state; }
236 inline void SetState(const InputState& value) { m_state = value; }
237 inline void SetState(InputState&& value) { m_state = std::move(value); }
238 inline DescribeInputResult& WithState(const InputState& value) { SetState(value); return *this;}
239 inline DescribeInputResult& WithState(InputState&& value) { SetState(std::move(value)); return *this;}
241
243
246 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
247 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
248 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
249 inline DescribeInputResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
250 inline DescribeInputResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
251 inline DescribeInputResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
252 inline DescribeInputResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
253 inline DescribeInputResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
254 inline DescribeInputResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
255 inline DescribeInputResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
256 inline DescribeInputResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
257 inline DescribeInputResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
259
261
262 inline const InputType& GetType() const{ return m_type; }
263 inline void SetType(const InputType& value) { m_type = value; }
264 inline void SetType(InputType&& value) { m_type = std::move(value); }
265 inline DescribeInputResult& WithType(const InputType& value) { SetType(value); return *this;}
266 inline DescribeInputResult& WithType(InputType&& value) { SetType(std::move(value)); return *this;}
268
270
273 inline const SrtSettings& GetSrtSettings() const{ return m_srtSettings; }
274 inline void SetSrtSettings(const SrtSettings& value) { m_srtSettings = value; }
275 inline void SetSrtSettings(SrtSettings&& value) { m_srtSettings = std::move(value); }
276 inline DescribeInputResult& WithSrtSettings(const SrtSettings& value) { SetSrtSettings(value); return *this;}
277 inline DescribeInputResult& WithSrtSettings(SrtSettings&& value) { SetSrtSettings(std::move(value)); return *this;}
279
281
286 inline const InputNetworkLocation& GetInputNetworkLocation() const{ return m_inputNetworkLocation; }
287 inline void SetInputNetworkLocation(const InputNetworkLocation& value) { m_inputNetworkLocation = value; }
288 inline void SetInputNetworkLocation(InputNetworkLocation&& value) { m_inputNetworkLocation = std::move(value); }
292
294
297 inline const MulticastSettings& GetMulticastSettings() const{ return m_multicastSettings; }
298 inline void SetMulticastSettings(const MulticastSettings& value) { m_multicastSettings = value; }
299 inline void SetMulticastSettings(MulticastSettings&& value) { m_multicastSettings = std::move(value); }
301 inline DescribeInputResult& WithMulticastSettings(MulticastSettings&& value) { SetMulticastSettings(std::move(value)); return *this;}
303
305
306 inline const Aws::String& GetRequestId() const{ return m_requestId; }
307 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
308 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
309 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
310 inline DescribeInputResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
311 inline DescribeInputResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
312 inline DescribeInputResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
314 private:
315
316 Aws::String m_arn;
317
318 Aws::Vector<Aws::String> m_attachedChannels;
319
320 Aws::Vector<InputDestination> m_destinations;
321
322 Aws::String m_id;
323
324 InputClass m_inputClass;
325
327
328 Aws::Vector<Aws::String> m_inputPartnerIds;
329
330 InputSourceType m_inputSourceType;
331
332 Aws::Vector<MediaConnectFlow> m_mediaConnectFlows;
333
334 Aws::String m_name;
335
336 Aws::String m_roleArn;
337
338 Aws::Vector<Aws::String> m_securityGroups;
339
340 Aws::Vector<InputSource> m_sources;
341
342 InputState m_state;
343
345
346 InputType m_type;
347
348 SrtSettings m_srtSettings;
349
350 InputNetworkLocation m_inputNetworkLocation;
351
352 MulticastSettings m_multicastSettings;
353
354 Aws::String m_requestId;
355 };
356
357} // namespace Model
358} // namespace MediaLive
359} // namespace Aws
DescribeInputResult & WithSrtSettings(const SrtSettings &value)
DescribeInputResult & WithMediaConnectFlows(Aws::Vector< MediaConnectFlow > &&value)
DescribeInputResult & AddSources(const InputSource &value)
DescribeInputResult & AddSources(InputSource &&value)
void SetSources(const Aws::Vector< InputSource > &value)
DescribeInputResult & AddTags(Aws::String &&key, const char *value)
DescribeInputResult & WithInputSourceType(const InputSourceType &value)
DescribeInputResult & AddAttachedChannels(const char *value)
DescribeInputResult & WithName(const Aws::String &value)
DescribeInputResult & WithRoleArn(const Aws::String &value)
DescribeInputResult & WithRequestId(const Aws::String &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetSrtSettings(const SrtSettings &value)
DescribeInputResult & AddInputDevices(const InputDeviceSettings &value)
DescribeInputResult & WithSources(Aws::Vector< InputSource > &&value)
void SetInputDevices(const Aws::Vector< InputDeviceSettings > &value)
void SetMulticastSettings(MulticastSettings &&value)
DescribeInputResult & WithId(const char *value)
void SetInputDevices(Aws::Vector< InputDeviceSettings > &&value)
void SetSecurityGroups(Aws::Vector< Aws::String > &&value)
DescribeInputResult & WithState(const InputState &value)
DescribeInputResult & WithInputNetworkLocation(const InputNetworkLocation &value)
DescribeInputResult & WithMediaConnectFlows(const Aws::Vector< MediaConnectFlow > &value)
const Aws::Vector< Aws::String > & GetInputPartnerIds() const
void SetInputPartnerIds(Aws::Vector< Aws::String > &&value)
DescribeInputResult & AddInputPartnerIds(const char *value)
DescribeInputResult & AddTags(const char *key, const char *value)
void SetSecurityGroups(const Aws::Vector< Aws::String > &value)
void SetInputSourceType(const InputSourceType &value)
DescribeInputResult & WithSrtSettings(SrtSettings &&value)
void SetInputSourceType(InputSourceType &&value)
DescribeInputResult & AddInputDevices(InputDeviceSettings &&value)
DescribeInputResult & WithInputNetworkLocation(InputNetworkLocation &&value)
DescribeInputResult & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::Vector< InputDeviceSettings > & GetInputDevices() const
DescribeInputResult & WithName(Aws::String &&value)
DescribeInputResult & WithAttachedChannels(Aws::Vector< Aws::String > &&value)
void SetSources(Aws::Vector< InputSource > &&value)
DescribeInputResult & WithInputPartnerIds(Aws::Vector< Aws::String > &&value)
const Aws::Vector< InputSource > & GetSources() const
DescribeInputResult & WithType(const InputType &value)
void SetInputNetworkLocation(const InputNetworkLocation &value)
const MulticastSettings & GetMulticastSettings() const
DescribeInputResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeInputResult & WithType(InputType &&value)
void SetRequestId(const Aws::String &value)
void SetDestinations(Aws::Vector< InputDestination > &&value)
DescribeInputResult & WithInputDevices(Aws::Vector< InputDeviceSettings > &&value)
void SetAttachedChannels(const Aws::Vector< Aws::String > &value)
DescribeInputResult & WithSecurityGroups(Aws::Vector< Aws::String > &&value)
DescribeInputResult & WithRoleArn(const char *value)
DescribeInputResult & WithSecurityGroups(const Aws::Vector< Aws::String > &value)
DescribeInputResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeInputResult & AddDestinations(InputDestination &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeInputResult & AddAttachedChannels(const Aws::String &value)
DescribeInputResult & WithAttachedChannels(const Aws::Vector< Aws::String > &value)
DescribeInputResult & AddTags(const Aws::String &key, const Aws::String &value)
void SetDestinations(const Aws::Vector< InputDestination > &value)
DescribeInputResult & WithRequestId(const char *value)
DescribeInputResult & WithMulticastSettings(MulticastSettings &&value)
DescribeInputResult & WithInputPartnerIds(const Aws::Vector< Aws::String > &value)
DescribeInputResult & AddSecurityGroups(Aws::String &&value)
AWS_MEDIALIVE_API DescribeInputResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInputResult & AddMediaConnectFlows(const MediaConnectFlow &value)
void SetAttachedChannels(Aws::Vector< Aws::String > &&value)
void SetInputNetworkLocation(InputNetworkLocation &&value)
DescribeInputResult & AddTags(const char *key, Aws::String &&value)
DescribeInputResult & AddAttachedChannels(Aws::String &&value)
void SetMediaConnectFlows(Aws::Vector< MediaConnectFlow > &&value)
DescribeInputResult & AddInputPartnerIds(Aws::String &&value)
DescribeInputResult & WithSources(const Aws::Vector< InputSource > &value)
const Aws::Vector< Aws::String > & GetSecurityGroups() const
DescribeInputResult & AddInputPartnerIds(const Aws::String &value)
DescribeInputResult & AddSecurityGroups(const Aws::String &value)
void SetInputPartnerIds(const Aws::Vector< Aws::String > &value)
DescribeInputResult & WithId(const Aws::String &value)
void SetMediaConnectFlows(const Aws::Vector< MediaConnectFlow > &value)
DescribeInputResult & WithInputClass(const InputClass &value)
DescribeInputResult & WithInputDevices(const Aws::Vector< InputDeviceSettings > &value)
DescribeInputResult & WithName(const char *value)
DescribeInputResult & WithState(InputState &&value)
DescribeInputResult & WithRoleArn(Aws::String &&value)
DescribeInputResult & WithRequestId(Aws::String &&value)
const InputNetworkLocation & GetInputNetworkLocation() const
DescribeInputResult & WithArn(const char *value)
DescribeInputResult & WithDestinations(const Aws::Vector< InputDestination > &value)
DescribeInputResult & AddSecurityGroups(const char *value)
DescribeInputResult & WithInputSourceType(InputSourceType &&value)
DescribeInputResult & WithInputClass(InputClass &&value)
DescribeInputResult & WithId(Aws::String &&value)
DescribeInputResult & AddTags(Aws::String &&key, Aws::String &&value)
void SetMulticastSettings(const MulticastSettings &value)
DescribeInputResult & AddMediaConnectFlows(MediaConnectFlow &&value)
DescribeInputResult & WithArn(Aws::String &&value)
DescribeInputResult & WithDestinations(Aws::Vector< InputDestination > &&value)
DescribeInputResult & WithArn(const Aws::String &value)
DescribeInputResult & WithMulticastSettings(const MulticastSettings &value)
const InputSourceType & GetInputSourceType() const
AWS_MEDIALIVE_API DescribeInputResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeInputResult & AddDestinations(const InputDestination &value)
const Aws::Vector< InputDestination > & GetDestinations() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Vector< MediaConnectFlow > & GetMediaConnectFlows() const
const Aws::Vector< Aws::String > & GetAttachedChannels() const
DescribeInputResult & WithTags(Aws::Map< Aws::String, Aws::String > &&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