AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MultiplexSummary.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/MultiplexSettingsSummary.h>
11#include <aws/medialive/model/MultiplexState.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace MediaLive
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_MEDIALIVE_API MultiplexSummary();
39 AWS_MEDIALIVE_API MultiplexSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetArn() const{ return m_arn; }
49 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
50 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
51 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
52 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
53 inline MultiplexSummary& WithArn(const Aws::String& value) { SetArn(value); return *this;}
54 inline MultiplexSummary& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
55 inline MultiplexSummary& WithArn(const char* value) { SetArn(value); return *this;}
57
59
62 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
63 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
64 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
65 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
67 inline MultiplexSummary& WithAvailabilityZones(Aws::Vector<Aws::String>&& value) { SetAvailabilityZones(std::move(value)); return *this;}
68 inline MultiplexSummary& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
69 inline MultiplexSummary& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
70 inline MultiplexSummary& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
72
74
77 inline const Aws::String& GetId() const{ return m_id; }
78 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
79 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
80 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
81 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
82 inline MultiplexSummary& WithId(const Aws::String& value) { SetId(value); return *this;}
83 inline MultiplexSummary& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
84 inline MultiplexSummary& WithId(const char* value) { SetId(value); return *this;}
86
88
91 inline const MultiplexSettingsSummary& GetMultiplexSettings() const{ return m_multiplexSettings; }
92 inline bool MultiplexSettingsHasBeenSet() const { return m_multiplexSettingsHasBeenSet; }
93 inline void SetMultiplexSettings(const MultiplexSettingsSummary& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = value; }
94 inline void SetMultiplexSettings(MultiplexSettingsSummary&& value) { m_multiplexSettingsHasBeenSet = true; m_multiplexSettings = std::move(value); }
96 inline MultiplexSummary& WithMultiplexSettings(MultiplexSettingsSummary&& value) { SetMultiplexSettings(std::move(value)); return *this;}
98
100
103 inline const Aws::String& GetName() const{ return m_name; }
104 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
105 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
106 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
107 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
108 inline MultiplexSummary& WithName(const Aws::String& value) { SetName(value); return *this;}
109 inline MultiplexSummary& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
110 inline MultiplexSummary& WithName(const char* value) { SetName(value); return *this;}
112
114
117 inline int GetPipelinesRunningCount() const{ return m_pipelinesRunningCount; }
118 inline bool PipelinesRunningCountHasBeenSet() const { return m_pipelinesRunningCountHasBeenSet; }
119 inline void SetPipelinesRunningCount(int value) { m_pipelinesRunningCountHasBeenSet = true; m_pipelinesRunningCount = value; }
120 inline MultiplexSummary& WithPipelinesRunningCount(int value) { SetPipelinesRunningCount(value); return *this;}
122
124
127 inline int GetProgramCount() const{ return m_programCount; }
128 inline bool ProgramCountHasBeenSet() const { return m_programCountHasBeenSet; }
129 inline void SetProgramCount(int value) { m_programCountHasBeenSet = true; m_programCount = value; }
130 inline MultiplexSummary& WithProgramCount(int value) { SetProgramCount(value); return *this;}
132
134
137 inline const MultiplexState& GetState() const{ return m_state; }
138 inline bool StateHasBeenSet() const { return m_stateHasBeenSet; }
139 inline void SetState(const MultiplexState& value) { m_stateHasBeenSet = true; m_state = value; }
140 inline void SetState(MultiplexState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); }
141 inline MultiplexSummary& WithState(const MultiplexState& value) { SetState(value); return *this;}
142 inline MultiplexSummary& WithState(MultiplexState&& value) { SetState(std::move(value)); return *this;}
144
146
149 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
150 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
151 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
152 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
153 inline MultiplexSummary& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
154 inline MultiplexSummary& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
155 inline MultiplexSummary& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
156 inline MultiplexSummary& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
157 inline MultiplexSummary& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
158 inline MultiplexSummary& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
159 inline MultiplexSummary& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
160 inline MultiplexSummary& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
161 inline MultiplexSummary& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
163 private:
164
165 Aws::String m_arn;
166 bool m_arnHasBeenSet = false;
167
168 Aws::Vector<Aws::String> m_availabilityZones;
169 bool m_availabilityZonesHasBeenSet = false;
170
171 Aws::String m_id;
172 bool m_idHasBeenSet = false;
173
174 MultiplexSettingsSummary m_multiplexSettings;
175 bool m_multiplexSettingsHasBeenSet = false;
176
177 Aws::String m_name;
178 bool m_nameHasBeenSet = false;
179
180 int m_pipelinesRunningCount;
181 bool m_pipelinesRunningCountHasBeenSet = false;
182
183 int m_programCount;
184 bool m_programCountHasBeenSet = false;
185
186 MultiplexState m_state;
187 bool m_stateHasBeenSet = false;
188
190 bool m_tagsHasBeenSet = false;
191 };
192
193} // namespace Model
194} // namespace MediaLive
195} // namespace Aws
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_MEDIALIVE_API MultiplexSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
MultiplexSummary & AddTags(Aws::String &&key, const Aws::String &value)
AWS_MEDIALIVE_API MultiplexSummary(Aws::Utils::Json::JsonView jsonValue)
MultiplexSummary & AddAvailabilityZones(const Aws::String &value)
MultiplexSummary & AddTags(const Aws::String &key, const Aws::String &value)
MultiplexSummary & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
MultiplexSummary & AddTags(const Aws::String &key, Aws::String &&value)
MultiplexSummary & WithName(const Aws::String &value)
const MultiplexState & GetState() const
MultiplexSummary & WithProgramCount(int value)
MultiplexSummary & WithState(MultiplexState &&value)
MultiplexSummary & WithArn(const Aws::String &value)
MultiplexSummary & AddAvailabilityZones(Aws::String &&value)
MultiplexSummary & WithId(const Aws::String &value)
void SetMultiplexSettings(const MultiplexSettingsSummary &value)
MultiplexSummary & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
void SetAvailabilityZones(Aws::Vector< Aws::String > &&value)
MultiplexSummary & AddTags(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
MultiplexSummary & AddTags(const char *key, const char *value)
MultiplexSummary & WithState(const MultiplexState &value)
MultiplexSummary & WithMultiplexSettings(MultiplexSettingsSummary &&value)
const MultiplexSettingsSummary & GetMultiplexSettings() const
void SetMultiplexSettings(MultiplexSettingsSummary &&value)
void SetState(const MultiplexState &value)
void SetArn(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
MultiplexSummary & WithName(const char *value)
void SetName(const Aws::String &value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
MultiplexSummary & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
MultiplexSummary & WithPipelinesRunningCount(int value)
MultiplexSummary & WithName(Aws::String &&value)
MultiplexSummary & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetId(const Aws::String &value)
MultiplexSummary & AddTags(Aws::String &&key, Aws::String &&value)
MultiplexSummary & WithId(Aws::String &&value)
MultiplexSummary & WithArn(const char *value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
MultiplexSummary & WithMultiplexSettings(const MultiplexSettingsSummary &value)
MultiplexSummary & WithId(const char *value)
MultiplexSummary & WithArn(Aws::String &&value)
MultiplexSummary & AddAvailabilityZones(const char *value)
void SetState(MultiplexState &&value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
MultiplexSummary & AddTags(Aws::String &&key, const char *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