AWS SDK for C++

AWS SDK for C++ Version 1.11.855

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/mediapackagev2/Mediapackagev2_EXPORTS.h>
10#include <aws/mediapackagev2/model/InputType.h>
11#include <aws/mediapackagev2/model/OutputLockingMode.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace mediapackagev2 {
23namespace Model {
24
31 public:
32 AWS_MEDIAPACKAGEV2_API ChannelListConfiguration() = default;
33 AWS_MEDIAPACKAGEV2_API ChannelListConfiguration(Aws::Utils::Json::JsonView jsonValue);
35 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetChannelName() const { return m_channelName; }
62 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
63 template <typename ChannelNameT = Aws::String>
64 void SetChannelName(ChannelNameT&& value) {
65 m_channelNameHasBeenSet = true;
66 m_channelName = std::forward<ChannelNameT>(value);
67 }
68 template <typename ChannelNameT = Aws::String>
70 SetChannelName(std::forward<ChannelNameT>(value));
71 return *this;
72 }
74
76
81 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
82 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
83 template <typename ChannelGroupNameT = Aws::String>
84 void SetChannelGroupName(ChannelGroupNameT&& value) {
85 m_channelGroupNameHasBeenSet = true;
86 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
87 }
88 template <typename ChannelGroupNameT = Aws::String>
89 ChannelListConfiguration& WithChannelGroupName(ChannelGroupNameT&& value) {
90 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
91 return *this;
92 }
94
96
99 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
100 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
101 template <typename CreatedAtT = Aws::Utils::DateTime>
102 void SetCreatedAt(CreatedAtT&& value) {
103 m_createdAtHasBeenSet = true;
104 m_createdAt = std::forward<CreatedAtT>(value);
105 }
106 template <typename CreatedAtT = Aws::Utils::DateTime>
108 SetCreatedAt(std::forward<CreatedAtT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
118 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
119 template <typename ModifiedAtT = Aws::Utils::DateTime>
120 void SetModifiedAt(ModifiedAtT&& value) {
121 m_modifiedAtHasBeenSet = true;
122 m_modifiedAt = std::forward<ModifiedAtT>(value);
123 }
124 template <typename ModifiedAtT = Aws::Utils::DateTime>
126 SetModifiedAt(std::forward<ModifiedAtT>(value));
127 return *this;
128 }
130
132
136 inline const Aws::String& GetDescription() const { return m_description; }
137 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
138 template <typename DescriptionT = Aws::String>
139 void SetDescription(DescriptionT&& value) {
140 m_descriptionHasBeenSet = true;
141 m_description = std::forward<DescriptionT>(value);
142 }
143 template <typename DescriptionT = Aws::String>
145 SetDescription(std::forward<DescriptionT>(value));
146 return *this;
147 }
149
151
160 inline InputType GetInputType() const { return m_inputType; }
161 inline bool InputTypeHasBeenSet() const { return m_inputTypeHasBeenSet; }
162 inline void SetInputType(InputType value) {
163 m_inputTypeHasBeenSet = true;
164 m_inputType = value;
165 }
167 SetInputType(value);
168 return *this;
169 }
171
173
181 inline OutputLockingMode GetOutputLockingMode() const { return m_outputLockingMode; }
182 inline bool OutputLockingModeHasBeenSet() const { return m_outputLockingModeHasBeenSet; }
184 m_outputLockingModeHasBeenSet = true;
185 m_outputLockingMode = value;
186 }
189 return *this;
190 }
192 private:
193 Aws::String m_arn;
194
195 Aws::String m_channelName;
196
197 Aws::String m_channelGroupName;
198
199 Aws::Utils::DateTime m_createdAt{};
200
201 Aws::Utils::DateTime m_modifiedAt{};
202
203 Aws::String m_description;
204
205 InputType m_inputType{InputType::NOT_SET};
206
208 bool m_arnHasBeenSet = false;
209 bool m_channelNameHasBeenSet = false;
210 bool m_channelGroupNameHasBeenSet = false;
211 bool m_createdAtHasBeenSet = false;
212 bool m_modifiedAtHasBeenSet = false;
213 bool m_descriptionHasBeenSet = false;
214 bool m_inputTypeHasBeenSet = false;
215 bool m_outputLockingModeHasBeenSet = false;
216};
217
218} // namespace Model
219} // namespace mediapackagev2
220} // namespace Aws
AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const
ChannelListConfiguration & WithInputType(InputType value)
AWS_MEDIAPACKAGEV2_API ChannelListConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API ChannelListConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIAPACKAGEV2_API ChannelListConfiguration()=default
ChannelListConfiguration & WithChannelGroupName(ChannelGroupNameT &&value)
ChannelListConfiguration & WithDescription(DescriptionT &&value)
ChannelListConfiguration & WithCreatedAt(CreatedAtT &&value)
ChannelListConfiguration & WithModifiedAt(ModifiedAtT &&value)
ChannelListConfiguration & WithOutputLockingMode(OutputLockingMode value)
ChannelListConfiguration & WithChannelName(ChannelNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue