AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace mediapackagev2 {
22namespace Model {
23
30 public:
31 AWS_MEDIAPACKAGEV2_API ChannelListConfiguration() = default;
32 AWS_MEDIAPACKAGEV2_API ChannelListConfiguration(Aws::Utils::Json::JsonView jsonValue);
34 AWS_MEDIAPACKAGEV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetArn() const { return m_arn; }
41 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
42 template <typename ArnT = Aws::String>
43 void SetArn(ArnT&& value) {
44 m_arnHasBeenSet = true;
45 m_arn = std::forward<ArnT>(value);
46 }
47 template <typename ArnT = Aws::String>
49 SetArn(std::forward<ArnT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetChannelName() const { return m_channelName; }
61 inline bool ChannelNameHasBeenSet() const { return m_channelNameHasBeenSet; }
62 template <typename ChannelNameT = Aws::String>
63 void SetChannelName(ChannelNameT&& value) {
64 m_channelNameHasBeenSet = true;
65 m_channelName = std::forward<ChannelNameT>(value);
66 }
67 template <typename ChannelNameT = Aws::String>
69 SetChannelName(std::forward<ChannelNameT>(value));
70 return *this;
71 }
73
75
80 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
81 inline bool ChannelGroupNameHasBeenSet() const { return m_channelGroupNameHasBeenSet; }
82 template <typename ChannelGroupNameT = Aws::String>
83 void SetChannelGroupName(ChannelGroupNameT&& value) {
84 m_channelGroupNameHasBeenSet = true;
85 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
86 }
87 template <typename ChannelGroupNameT = Aws::String>
88 ChannelListConfiguration& WithChannelGroupName(ChannelGroupNameT&& value) {
89 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
90 return *this;
91 }
93
95
98 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
99 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
100 template <typename CreatedAtT = Aws::Utils::DateTime>
101 void SetCreatedAt(CreatedAtT&& value) {
102 m_createdAtHasBeenSet = true;
103 m_createdAt = std::forward<CreatedAtT>(value);
104 }
105 template <typename CreatedAtT = Aws::Utils::DateTime>
107 SetCreatedAt(std::forward<CreatedAtT>(value));
108 return *this;
109 }
111
113
116 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
117 inline bool ModifiedAtHasBeenSet() const { return m_modifiedAtHasBeenSet; }
118 template <typename ModifiedAtT = Aws::Utils::DateTime>
119 void SetModifiedAt(ModifiedAtT&& value) {
120 m_modifiedAtHasBeenSet = true;
121 m_modifiedAt = std::forward<ModifiedAtT>(value);
122 }
123 template <typename ModifiedAtT = Aws::Utils::DateTime>
125 SetModifiedAt(std::forward<ModifiedAtT>(value));
126 return *this;
127 }
129
131
135 inline const Aws::String& GetDescription() const { return m_description; }
136 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
137 template <typename DescriptionT = Aws::String>
138 void SetDescription(DescriptionT&& value) {
139 m_descriptionHasBeenSet = true;
140 m_description = std::forward<DescriptionT>(value);
141 }
142 template <typename DescriptionT = Aws::String>
144 SetDescription(std::forward<DescriptionT>(value));
145 return *this;
146 }
148
150
159 inline InputType GetInputType() const { return m_inputType; }
160 inline bool InputTypeHasBeenSet() const { return m_inputTypeHasBeenSet; }
161 inline void SetInputType(InputType value) {
162 m_inputTypeHasBeenSet = true;
163 m_inputType = value;
164 }
166 SetInputType(value);
167 return *this;
168 }
170 private:
171 Aws::String m_arn;
172
173 Aws::String m_channelName;
174
175 Aws::String m_channelGroupName;
176
177 Aws::Utils::DateTime m_createdAt{};
178
179 Aws::Utils::DateTime m_modifiedAt{};
180
181 Aws::String m_description;
182
183 InputType m_inputType{InputType::NOT_SET};
184 bool m_arnHasBeenSet = false;
185 bool m_channelNameHasBeenSet = false;
186 bool m_channelGroupNameHasBeenSet = false;
187 bool m_createdAtHasBeenSet = false;
188 bool m_modifiedAtHasBeenSet = false;
189 bool m_descriptionHasBeenSet = false;
190 bool m_inputTypeHasBeenSet = false;
191};
192
193} // namespace Model
194} // namespace mediapackagev2
195} // 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 & WithChannelName(ChannelNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue