AWS SDK for C++

AWS SDK for C++ Version 1.11.889

Loading...
Searching...
No Matches
ChannelListConfiguration.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
11#include <aws/mediapackagev2/model/InputType.h>
12#include <aws/mediapackagev2/model/MultiviewConfiguration.h>
13#include <aws/mediapackagev2/model/OutputLockingMode.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Json {
20class JsonValue;
21class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace mediapackagev2 {
25namespace Model {
26
33 public:
34 AWS_MEDIAPACKAGEV2_API ChannelListConfiguration() = default;
35 AWS_MEDIAPACKAGEV2_API ChannelListConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template <typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) {
47 m_arnHasBeenSet = true;
48 m_arn = std::forward<ArnT>(value);
49 }
50 template <typename ArnT = Aws::String>
52 SetArn(std::forward<ArnT>(value));
53 return *this;
54 }
56
58
63 inline const Aws::String& GetChannelName() const { return m_channelName; }
64 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
65 template <typename ChannelNameT = Aws::String>
66 void SetChannelName(ChannelNameT&& value) {
67 m_channelNameHasBeenSet = true;
68 m_channelName = std::forward<ChannelNameT>(value);
69 }
70 template <typename ChannelNameT = Aws::String>
72 SetChannelName(std::forward<ChannelNameT>(value));
73 return *this;
74 }
76
78
83 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
84 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
85 template <typename ChannelGroupNameT = Aws::String>
86 void SetChannelGroupName(ChannelGroupNameT&& value) {
87 m_channelGroupNameHasBeenSet = true;
88 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
89 }
90 template <typename ChannelGroupNameT = Aws::String>
91 ChannelListConfiguration& WithChannelGroupName(ChannelGroupNameT&& value) {
92 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
102 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
103 template <typename CreatedAtT = Aws::Utils::DateTime>
104 void SetCreatedAt(CreatedAtT&& value) {
105 m_createdAtHasBeenSet = true;
106 m_createdAt = std::forward<CreatedAtT>(value);
107 }
108 template <typename CreatedAtT = Aws::Utils::DateTime>
110 SetCreatedAt(std::forward<CreatedAtT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
120 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
121 template <typename ModifiedAtT = Aws::Utils::DateTime>
122 void SetModifiedAt(ModifiedAtT&& value) {
123 m_modifiedAtHasBeenSet = true;
124 m_modifiedAt = std::forward<ModifiedAtT>(value);
125 }
126 template <typename ModifiedAtT = Aws::Utils::DateTime>
128 SetModifiedAt(std::forward<ModifiedAtT>(value));
129 return *this;
130 }
132
134
138 inline const Aws::String& GetDescription() const { return m_description; }
139 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
140 template <typename DescriptionT = Aws::String>
141 void SetDescription(DescriptionT&& value) {
142 m_descriptionHasBeenSet = true;
143 m_description = std::forward<DescriptionT>(value);
144 }
145 template <typename DescriptionT = Aws::String>
147 SetDescription(std::forward<DescriptionT>(value));
148 return *this;
149 }
151
153
166 inline InputType GetInputType() const { return m_inputType; }
167 inline bool InputTypeHasBeenSet() const { return m_inputTypeHasBeenSet; }
168 inline void SetInputType(InputType value) {
169 m_inputTypeHasBeenSet = true;
170 m_inputType = value;
171 }
173 SetInputType(value);
174 return *this;
175 }
177
179
187 inline OutputLockingMode GetOutputLockingMode() const { return m_outputLockingMode; }
188 inline bool OutputLockingModeHasBeenSet() const { return m_outputLockingModeHasBeenSet; }
190 m_outputLockingModeHasBeenSet = true;
191 m_outputLockingMode = value;
192 }
195 return *this;
196 }
198
200
204 inline const MultiviewConfiguration& GetMultiviewConfiguration() const { return m_multiviewConfiguration; }
205 inline bool MultiviewConfigurationHasBeenSet() const { return m_multiviewConfigurationHasBeenSet; }
206 template <typename MultiviewConfigurationT = MultiviewConfiguration>
207 void SetMultiviewConfiguration(MultiviewConfigurationT&& value) {
208 m_multiviewConfigurationHasBeenSet = true;
209 m_multiviewConfiguration = std::forward<MultiviewConfigurationT>(value);
210 }
211 template <typename MultiviewConfigurationT = MultiviewConfiguration>
212 ChannelListConfiguration& WithMultiviewConfiguration(MultiviewConfigurationT&& value) {
213 SetMultiviewConfiguration(std::forward<MultiviewConfigurationT>(value));
214 return *this;
215 }
217
219
223 inline const Aws::Vector<Aws::String>& GetAttachedMultiviewChannels() const { return m_attachedMultiviewChannels; }
224 inline bool AttachedMultiviewChannelsHasBeenSet() const { return m_attachedMultiviewChannelsHasBeenSet; }
225 template <typename AttachedMultiviewChannelsT = Aws::Vector<Aws::String>>
226 void SetAttachedMultiviewChannels(AttachedMultiviewChannelsT&& value) {
227 m_attachedMultiviewChannelsHasBeenSet = true;
228 m_attachedMultiviewChannels = std::forward<AttachedMultiviewChannelsT>(value);
229 }
230 template <typename AttachedMultiviewChannelsT = Aws::Vector<Aws::String>>
231 ChannelListConfiguration& WithAttachedMultiviewChannels(AttachedMultiviewChannelsT&& value) {
232 SetAttachedMultiviewChannels(std::forward<AttachedMultiviewChannelsT>(value));
233 return *this;
234 }
235 template <typename AttachedMultiviewChannelsT = Aws::String>
236 ChannelListConfiguration& AddAttachedMultiviewChannels(AttachedMultiviewChannelsT&& value) {
237 m_attachedMultiviewChannelsHasBeenSet = true;
238 m_attachedMultiviewChannels.emplace_back(std::forward<AttachedMultiviewChannelsT>(value));
239 return *this;
240 }
242 private:
243 Aws::String m_arn;
244
245 Aws::String m_channelName;
246
247 Aws::String m_channelGroupName;
248
249 Aws::Utils::DateTime m_createdAt{};
250
251 Aws::Utils::DateTime m_modifiedAt{};
252
253 Aws::String m_description;
254
255 InputType m_inputType{InputType::NOT_SET};
256
258
259 MultiviewConfiguration m_multiviewConfiguration;
260
261 Aws::Vector<Aws::String> m_attachedMultiviewChannels;
262 bool m_arnHasBeenSet = false;
263 bool m_channelNameHasBeenSet = false;
264 bool m_channelGroupNameHasBeenSet = false;
265 bool m_createdAtHasBeenSet = false;
266 bool m_modifiedAtHasBeenSet = false;
267 bool m_descriptionHasBeenSet = false;
268 bool m_inputTypeHasBeenSet = false;
269 bool m_outputLockingModeHasBeenSet = false;
270 bool m_multiviewConfigurationHasBeenSet = false;
271 bool m_attachedMultiviewChannelsHasBeenSet = false;
272};
273
274} // namespace Model
275} // namespace mediapackagev2
276} // namespace Aws
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
ChannelListConfiguration & AddAttachedMultiviewChannels(AttachedMultiviewChannelsT &&value)
ChannelListConfiguration & WithInputType(InputType value)
AWS_MEDIAPACKAGEV2_API ChannelListConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetMultiviewConfiguration(MultiviewConfigurationT &&value)
AWS_MEDIAPACKAGEV2_API ChannelListConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const MultiviewConfiguration & GetMultiviewConfiguration() const
AWS_MEDIAPACKAGEV2_API ChannelListConfiguration()=default
ChannelListConfiguration & WithChannelGroupName(ChannelGroupNameT &&value)
ChannelListConfiguration & WithDescription(DescriptionT &&value)
ChannelListConfiguration & WithCreatedAt(CreatedAtT &&value)
ChannelListConfiguration & WithModifiedAt(ModifiedAtT &&value)
ChannelListConfiguration & WithAttachedMultiviewChannels(AttachedMultiviewChannelsT &&value)
ChannelListConfiguration & WithMultiviewConfiguration(MultiviewConfigurationT &&value)
ChannelListConfiguration & WithOutputLockingMode(OutputLockingMode value)
const Aws::Vector< Aws::String > & GetAttachedMultiviewChannels() const
ChannelListConfiguration & WithChannelName(ChannelNameT &&value)
void SetAttachedMultiviewChannels(AttachedMultiviewChannelsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue