AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StopMultiplexResult.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{
38 {
39 public:
40 AWS_MEDIALIVE_API StopMultiplexResult();
43
44
46
49 inline const Aws::String& GetArn() const{ return m_arn; }
50 inline void SetArn(const Aws::String& value) { m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arn.assign(value); }
53 inline StopMultiplexResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline StopMultiplexResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline StopMultiplexResult& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
63 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZones = value; }
64 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZones = std::move(value); }
67 inline StopMultiplexResult& AddAvailabilityZones(const Aws::String& value) { m_availabilityZones.push_back(value); return *this; }
68 inline StopMultiplexResult& AddAvailabilityZones(Aws::String&& value) { m_availabilityZones.push_back(std::move(value)); return *this; }
69 inline StopMultiplexResult& AddAvailabilityZones(const char* value) { m_availabilityZones.push_back(value); return *this; }
71
73
76 inline const Aws::Vector<MultiplexOutputDestination>& GetDestinations() const{ return m_destinations; }
77 inline void SetDestinations(const Aws::Vector<MultiplexOutputDestination>& value) { m_destinations = value; }
78 inline void SetDestinations(Aws::Vector<MultiplexOutputDestination>&& value) { m_destinations = std::move(value); }
81 inline StopMultiplexResult& AddDestinations(const MultiplexOutputDestination& value) { m_destinations.push_back(value); return *this; }
82 inline StopMultiplexResult& AddDestinations(MultiplexOutputDestination&& value) { m_destinations.push_back(std::move(value)); return *this; }
84
86
89 inline const Aws::String& GetId() const{ return m_id; }
90 inline void SetId(const Aws::String& value) { m_id = value; }
91 inline void SetId(Aws::String&& value) { m_id = std::move(value); }
92 inline void SetId(const char* value) { m_id.assign(value); }
93 inline StopMultiplexResult& WithId(const Aws::String& value) { SetId(value); return *this;}
94 inline StopMultiplexResult& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
95 inline StopMultiplexResult& WithId(const char* value) { SetId(value); return *this;}
97
99
102 inline const MultiplexSettings& GetMultiplexSettings() const{ return m_multiplexSettings; }
103 inline void SetMultiplexSettings(const MultiplexSettings& value) { m_multiplexSettings = value; }
104 inline void SetMultiplexSettings(MultiplexSettings&& value) { m_multiplexSettings = std::move(value); }
106 inline StopMultiplexResult& WithMultiplexSettings(MultiplexSettings&& value) { SetMultiplexSettings(std::move(value)); return *this;}
108
110
113 inline const Aws::String& GetName() const{ return m_name; }
114 inline void SetName(const Aws::String& value) { m_name = value; }
115 inline void SetName(Aws::String&& value) { m_name = std::move(value); }
116 inline void SetName(const char* value) { m_name.assign(value); }
117 inline StopMultiplexResult& WithName(const Aws::String& value) { SetName(value); return *this;}
118 inline StopMultiplexResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
119 inline StopMultiplexResult& WithName(const char* value) { SetName(value); return *this;}
121
123
126 inline int GetPipelinesRunningCount() const{ return m_pipelinesRunningCount; }
127 inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCount = value; }
130
132
135 inline int GetProgramCount() const{ return m_programCount; }
136 inline void SetProgramCount(int value) { m_programCount = value; }
137 inline StopMultiplexResult& WithProgramCount(int value) { SetProgramCount(value); return *this;}
139
141
144 inline const MultiplexState& GetState() const{ return m_state; }
145 inline void SetState(const MultiplexState& value) { m_state = value; }
146 inline void SetState(MultiplexState&& value) { m_state = std::move(value); }
147 inline StopMultiplexResult& WithState(const MultiplexState& value) { SetState(value); return *this;}
148 inline StopMultiplexResult& WithState(MultiplexState&& value) { SetState(std::move(value)); return *this;}
150
152
155 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
156 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
157 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
158 inline StopMultiplexResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
159 inline StopMultiplexResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
160 inline StopMultiplexResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
161 inline StopMultiplexResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
162 inline StopMultiplexResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
163 inline StopMultiplexResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
164 inline StopMultiplexResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
165 inline StopMultiplexResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
166 inline StopMultiplexResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
168
170
171 inline const Aws::String& GetRequestId() const{ return m_requestId; }
172 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
173 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
174 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
175 inline StopMultiplexResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
176 inline StopMultiplexResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
177 inline StopMultiplexResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
179 private:
180
181 Aws::String m_arn;
182
183 Aws::Vector<Aws::String> m_availabilityZones;
184
186
187 Aws::String m_id;
188
189 MultiplexSettings m_multiplexSettings;
190
191 Aws::String m_name;
192
193 int m_pipelinesRunningCount;
194
195 int m_programCount;
196
197 MultiplexState m_state;
198
200
201 Aws::String m_requestId;
202 };
203
204} // namespace Model
205} // namespace MediaLive
206} // namespace Aws
AWS_MEDIALIVE_API StopMultiplexResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetMultiplexSettings(MultiplexSettings &&value)
StopMultiplexResult & WithName(Aws::String &&value)
StopMultiplexResult & AddTags(const Aws::String &key, Aws::String &&value)
AWS_MEDIALIVE_API StopMultiplexResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StopMultiplexResult & AddTags(Aws::String &&key, Aws::String &&value)
StopMultiplexResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
StopMultiplexResult & AddAvailabilityZones(const Aws::String &value)
StopMultiplexResult & WithPipelinesRunningCount(int value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
StopMultiplexResult & WithArn(Aws::String &&value)
void SetState(const MultiplexState &value)
const MultiplexSettings & GetMultiplexSettings() const
StopMultiplexResult & WithId(const char *value)
StopMultiplexResult & WithMultiplexSettings(const MultiplexSettings &value)
void SetRequestId(const Aws::String &value)
StopMultiplexResult & WithRequestId(const char *value)
void SetMultiplexSettings(const MultiplexSettings &value)
const Aws::Vector< MultiplexOutputDestination > & GetDestinations() const
StopMultiplexResult & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
StopMultiplexResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
StopMultiplexResult & AddTags(const char *key, const char *value)
StopMultiplexResult & AddTags(const Aws::String &key, const Aws::String &value)
StopMultiplexResult & WithState(MultiplexState &&value)
StopMultiplexResult & WithName(const char *value)
StopMultiplexResult & AddAvailabilityZones(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
StopMultiplexResult & AddTags(const char *key, Aws::String &&value)
StopMultiplexResult & AddDestinations(MultiplexOutputDestination &&value)
void SetDestinations(Aws::Vector< MultiplexOutputDestination > &&value)
StopMultiplexResult & WithProgramCount(int value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
StopMultiplexResult & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
StopMultiplexResult & AddDestinations(const MultiplexOutputDestination &value)
StopMultiplexResult & WithDestinations(Aws::Vector< MultiplexOutputDestination > &&value)
StopMultiplexResult & WithRequestId(Aws::String &&value)
StopMultiplexResult & WithName(const Aws::String &value)
StopMultiplexResult & WithMultiplexSettings(MultiplexSettings &&value)
StopMultiplexResult & WithState(const MultiplexState &value)
StopMultiplexResult & WithArn(const char *value)
StopMultiplexResult & AddAvailabilityZones(Aws::String &&value)
StopMultiplexResult & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
StopMultiplexResult & WithDestinations(const Aws::Vector< MultiplexOutputDestination > &value)
StopMultiplexResult & AddTags(Aws::String &&key, const char *value)
StopMultiplexResult & WithId(Aws::String &&value)
StopMultiplexResult & WithArn(const Aws::String &value)
StopMultiplexResult & WithRequestId(const Aws::String &value)
void SetDestinations(const Aws::Vector< MultiplexOutputDestination > &value)
StopMultiplexResult & WithId(const 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