AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
CreateChannelGroupResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace mediapackagev2 {
24namespace Model {
26 public:
27 AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult() = default;
30
32
37 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
38 template <typename ChannelGroupNameT = Aws::String>
39 void SetChannelGroupName(ChannelGroupNameT&& value) {
40 m_channelGroupNameHasBeenSet = true;
41 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
42 }
43 template <typename ChannelGroupNameT = Aws::String>
44 CreateChannelGroupResult& WithChannelGroupName(ChannelGroupNameT&& value) {
45 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetArn() const { return m_arn; }
55 template <typename ArnT = Aws::String>
56 void SetArn(ArnT&& value) {
57 m_arnHasBeenSet = true;
58 m_arn = std::forward<ArnT>(value);
59 }
60 template <typename ArnT = Aws::String>
62 SetArn(std::forward<ArnT>(value));
63 return *this;
64 }
66
68
73 inline const Aws::String& GetEgressDomain() const { return m_egressDomain; }
74 template <typename EgressDomainT = Aws::String>
75 void SetEgressDomain(EgressDomainT&& value) {
76 m_egressDomainHasBeenSet = true;
77 m_egressDomain = std::forward<EgressDomainT>(value);
78 }
79 template <typename EgressDomainT = Aws::String>
81 SetEgressDomain(std::forward<EgressDomainT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
91 template <typename CreatedAtT = Aws::Utils::DateTime>
92 void SetCreatedAt(CreatedAtT&& value) {
93 m_createdAtHasBeenSet = true;
94 m_createdAt = std::forward<CreatedAtT>(value);
95 }
96 template <typename CreatedAtT = Aws::Utils::DateTime>
98 SetCreatedAt(std::forward<CreatedAtT>(value));
99 return *this;
100 }
102
104
107 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
108 template <typename ModifiedAtT = Aws::Utils::DateTime>
109 void SetModifiedAt(ModifiedAtT&& value) {
110 m_modifiedAtHasBeenSet = true;
111 m_modifiedAt = std::forward<ModifiedAtT>(value);
112 }
113 template <typename ModifiedAtT = Aws::Utils::DateTime>
115 SetModifiedAt(std::forward<ModifiedAtT>(value));
116 return *this;
117 }
119
121
125 inline const Aws::String& GetETag() const { return m_eTag; }
126 template <typename ETagT = Aws::String>
127 void SetETag(ETagT&& value) {
128 m_eTagHasBeenSet = true;
129 m_eTag = std::forward<ETagT>(value);
130 }
131 template <typename ETagT = Aws::String>
133 SetETag(std::forward<ETagT>(value));
134 return *this;
135 }
137
139
142 inline const Aws::String& GetDescription() const { return m_description; }
143 template <typename DescriptionT = Aws::String>
144 void SetDescription(DescriptionT&& value) {
145 m_descriptionHasBeenSet = true;
146 m_description = std::forward<DescriptionT>(value);
147 }
148 template <typename DescriptionT = Aws::String>
150 SetDescription(std::forward<DescriptionT>(value));
151 return *this;
152 }
154
156
160 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
161 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
162 void SetTags(TagsT&& value) {
163 m_tagsHasBeenSet = true;
164 m_tags = std::forward<TagsT>(value);
165 }
166 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 SetTags(std::forward<TagsT>(value));
169 return *this;
170 }
171 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
172 CreateChannelGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
173 m_tagsHasBeenSet = true;
174 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
175 return *this;
176 }
178
180
181 inline const Aws::String& GetRequestId() const { return m_requestId; }
182 template <typename RequestIdT = Aws::String>
183 void SetRequestId(RequestIdT&& value) {
184 m_requestIdHasBeenSet = true;
185 m_requestId = std::forward<RequestIdT>(value);
186 }
187 template <typename RequestIdT = Aws::String>
189 SetRequestId(std::forward<RequestIdT>(value));
190 return *this;
191 }
193 private:
194 Aws::String m_channelGroupName;
195
196 Aws::String m_arn;
197
198 Aws::String m_egressDomain;
199
200 Aws::Utils::DateTime m_createdAt{};
201
202 Aws::Utils::DateTime m_modifiedAt{};
203
204 Aws::String m_eTag;
205
206 Aws::String m_description;
207
209
210 Aws::String m_requestId;
211 bool m_channelGroupNameHasBeenSet = false;
212 bool m_arnHasBeenSet = false;
213 bool m_egressDomainHasBeenSet = false;
214 bool m_createdAtHasBeenSet = false;
215 bool m_modifiedAtHasBeenSet = false;
216 bool m_eTagHasBeenSet = false;
217 bool m_descriptionHasBeenSet = false;
218 bool m_tagsHasBeenSet = false;
219 bool m_requestIdHasBeenSet = false;
220};
221
222} // namespace Model
223} // namespace mediapackagev2
224} // namespace Aws
AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult()=default
CreateChannelGroupResult & WithCreatedAt(CreatedAtT &&value)
CreateChannelGroupResult & WithModifiedAt(ModifiedAtT &&value)
CreateChannelGroupResult & WithRequestId(RequestIdT &&value)
CreateChannelGroupResult & WithChannelGroupName(ChannelGroupNameT &&value)
CreateChannelGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateChannelGroupResult & WithEgressDomain(EgressDomainT &&value)
AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateChannelGroupResult & WithDescription(DescriptionT &&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
Aws::Utils::Json::JsonValue JsonValue