AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeMultiplexResult.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/MultiplexSettings.h>
11#include <aws/medialive/model/MultiplexState.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/medialive/model/MultiplexOutputDestination.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace MediaLive
29{
30namespace Model
31{
39 {
40 public:
41 AWS_MEDIALIVE_API DescribeMultiplexResult();
44
45
47
50 inline const Aws::String& GetArn() const{ return m_arn; }
51 inline void SetArn(const Aws::String& value) { m_arn = value; }
52 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
53 inline void SetArn(const char* value) { m_arn.assign(value); }
54 inline DescribeMultiplexResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
55 inline DescribeMultiplexResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
56 inline DescribeMultiplexResult& WithArn(const char* value) { SetArn(value); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
64 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZones = value; }
65 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZones = std::move(value); }
68 inline DescribeMultiplexResult& AddAvailabilityZones(const Aws::String& value) { m_availabilityZones.push_back(value); return *this; }
69 inline DescribeMultiplexResult& AddAvailabilityZones(Aws::String&& value) { m_availabilityZones.push_back(std::move(value)); return *this; }
70 inline DescribeMultiplexResult& AddAvailabilityZones(const char* value) { m_availabilityZones.push_back(value); return *this; }
72
74
77 inline const Aws::Vector<MultiplexOutputDestination>& GetDestinations() const{ return m_destinations; }
78 inline void SetDestinations(const Aws::Vector<MultiplexOutputDestination>& value) { m_destinations = value; }
79 inline void SetDestinations(Aws::Vector<MultiplexOutputDestination>&& value) { m_destinations = std::move(value); }
82 inline DescribeMultiplexResult& AddDestinations(const MultiplexOutputDestination& value) { m_destinations.push_back(value); return *this; }
83 inline DescribeMultiplexResult& AddDestinations(MultiplexOutputDestination&& value) { m_destinations.push_back(std::move(value)); return *this; }
85
87
90 inline const Aws::String& GetId() const{ return m_id; }
91 inline void SetId(const Aws::String& value) { m_id = value; }
92 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
93 inline void SetId(const char* value) { m_id.assign(value); }
94 inline DescribeMultiplexResult& WithId(const Aws::String& value) { SetId(value); return *this;}
95 inline DescribeMultiplexResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
96 inline DescribeMultiplexResult& WithId(const char* value) { SetId(value); return *this;}
98
100
103 inline const MultiplexSettings& GetMultiplexSettings() const{ return m_multiplexSettings; }
104 inline void SetMultiplexSettings(const MultiplexSettings& value) { m_multiplexSettings = value; }
105 inline void SetMultiplexSettings(MultiplexSettings&& value) { m_multiplexSettings = std::move(value); }
107 inline DescribeMultiplexResult& WithMultiplexSettings(MultiplexSettings&& value) { SetMultiplexSettings(std::move(value)); return *this;}
109
111
114 inline const Aws::String& GetName() const{ return m_name; }
115 inline void SetName(const Aws::String& value) { m_name = value; }
116 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
117 inline void SetName(const char* value) { m_name.assign(value); }
118 inline DescribeMultiplexResult& WithName(const Aws::String& value) { SetName(value); return *this;}
119 inline DescribeMultiplexResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
120 inline DescribeMultiplexResult& WithName(const char* value) { SetName(value); return *this;}
122
124
127 inline int GetPipelinesRunningCount() const{ return m_pipelinesRunningCount; }
128 inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCount = value; }
131
133
136 inline int GetProgramCount() const{ return m_programCount; }
137 inline void SetProgramCount(int value) { m_programCount = value; }
138 inline DescribeMultiplexResult& WithProgramCount(int value) { SetProgramCount(value); return *this;}
140
142
145 inline const MultiplexState& GetState() const{ return m_state; }
146 inline void SetState(const MultiplexState& value) { m_state = value; }
147 inline void SetState(MultiplexState&& value) { m_state = std::move(value); }
148 inline DescribeMultiplexResult& WithState(const MultiplexState& value) { SetState(value); return *this;}
149 inline DescribeMultiplexResult& WithState(MultiplexState&& value) { SetState(std::move(value)); return *this;}
151
153
156 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
157 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
158 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
159 inline DescribeMultiplexResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
160 inline DescribeMultiplexResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
161 inline DescribeMultiplexResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
162 inline DescribeMultiplexResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
163 inline DescribeMultiplexResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
164 inline DescribeMultiplexResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
165 inline DescribeMultiplexResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
166 inline DescribeMultiplexResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
167 inline DescribeMultiplexResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
169
171
172 inline const Aws::String& GetRequestId() const{ return m_requestId; }
173 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
174 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
175 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
176 inline DescribeMultiplexResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
177 inline DescribeMultiplexResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
178 inline DescribeMultiplexResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
180 private:
181
182 Aws::String m_arn;
183
184 Aws::Vector<Aws::String> m_availabilityZones;
185
187
188 Aws::String m_id;
189
190 MultiplexSettings m_multiplexSettings;
191
192 Aws::String m_name;
193
194 int m_pipelinesRunningCount;
195
196 int m_programCount;
197
198 MultiplexState m_state;
199
201
202 Aws::String m_requestId;
203 };
204
205} // namespace Model
206} // namespace MediaLive
207} // namespace Aws
DescribeMultiplexResult & WithId(const Aws::String &value)
DescribeMultiplexResult & WithPipelinesRunningCount(int value)
DescribeMultiplexResult & AddDestinations(MultiplexOutputDestination &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeMultiplexResult & WithMultiplexSettings(const MultiplexSettings &value)
DescribeMultiplexResult & AddTags(const Aws::String &key, Aws::String &&value)
DescribeMultiplexResult & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
DescribeMultiplexResult & WithState(const MultiplexState &value)
DescribeMultiplexResult & WithId(Aws::String &&value)
DescribeMultiplexResult & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
DescribeMultiplexResult & WithId(const char *value)
DescribeMultiplexResult & AddTags(Aws::String &&key, const Aws::String &value)
DescribeMultiplexResult & WithRequestId(const Aws::String &value)
DescribeMultiplexResult & WithMultiplexSettings(MultiplexSettings &&value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
const MultiplexSettings & GetMultiplexSettings() const
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
DescribeMultiplexResult & AddAvailabilityZones(const char *value)
DescribeMultiplexResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
DescribeMultiplexResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
DescribeMultiplexResult & WithArn(Aws::String &&value)
AWS_MEDIALIVE_API DescribeMultiplexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMultiplexResult & WithRequestId(Aws::String &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
DescribeMultiplexResult & AddTags(const char *key, const char *value)
DescribeMultiplexResult & WithProgramCount(int value)
void SetMultiplexSettings(const MultiplexSettings &value)
DescribeMultiplexResult & WithName(const Aws::String &value)
DescribeMultiplexResult & WithState(MultiplexState &&value)
DescribeMultiplexResult & AddAvailabilityZones(Aws::String &&value)
void SetDestinations(Aws::Vector< MultiplexOutputDestination > &&value)
const Aws::Vector< MultiplexOutputDestination > & GetDestinations() const
AWS_MEDIALIVE_API DescribeMultiplexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeMultiplexResult & AddAvailabilityZones(const Aws::String &value)
DescribeMultiplexResult & AddTags(Aws::String &&key, Aws::String &&value)
DescribeMultiplexResult & WithName(Aws::String &&value)
DescribeMultiplexResult & AddTags(const char *key, Aws::String &&value)
DescribeMultiplexResult & WithArn(const Aws::String &value)
DescribeMultiplexResult & AddDestinations(const MultiplexOutputDestination &value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
DescribeMultiplexResult & WithArn(const char *value)
DescribeMultiplexResult & AddTags(const Aws::String &key, const Aws::String &value)
DescribeMultiplexResult & WithDestinations(const Aws::Vector< MultiplexOutputDestination > &value)
DescribeMultiplexResult & WithName(const char *value)
DescribeMultiplexResult & AddTags(Aws::String &&key, const char *value)
DescribeMultiplexResult & WithRequestId(const char *value)
DescribeMultiplexResult & WithDestinations(Aws::Vector< MultiplexOutputDestination > &&value)
void SetDestinations(const Aws::Vector< MultiplexOutputDestination > &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