AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
CreateChannelGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/mediapackagev2/Mediapackagev2_EXPORTS.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace mediapackagev2 {
25namespace Model {
27 public:
28 AWS_MEDIAPACKAGEV2_API CreateChannelGroupResult() = default;
31
33
38 inline const Aws::String& GetChannelGroupName() const { return m_channelGroupName; }
39 template <typename ChannelGroupNameT = Aws::String>
40 void SetChannelGroupName(ChannelGroupNameT&& value) {
41 m_channelGroupNameHasBeenSet = true;
42 m_channelGroupName = std::forward<ChannelGroupNameT>(value);
43 }
44 template <typename ChannelGroupNameT = Aws::String>
45 CreateChannelGroupResult& WithChannelGroupName(ChannelGroupNameT&& value) {
46 SetChannelGroupName(std::forward<ChannelGroupNameT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetArn() const { return m_arn; }
56 template <typename ArnT = Aws::String>
57 void SetArn(ArnT&& value) {
58 m_arnHasBeenSet = true;
59 m_arn = std::forward<ArnT>(value);
60 }
61 template <typename ArnT = Aws::String>
63 SetArn(std::forward<ArnT>(value));
64 return *this;
65 }
67
69
74 inline const Aws::String& GetEgressDomain() const { return m_egressDomain; }
75 template <typename EgressDomainT = Aws::String>
76 void SetEgressDomain(EgressDomainT&& value) {
77 m_egressDomainHasBeenSet = true;
78 m_egressDomain = std::forward<EgressDomainT>(value);
79 }
80 template <typename EgressDomainT = Aws::String>
82 SetEgressDomain(std::forward<EgressDomainT>(value));
83 return *this;
84 }
86
88
91 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
92 template <typename CreatedAtT = Aws::Utils::DateTime>
93 void SetCreatedAt(CreatedAtT&& value) {
94 m_createdAtHasBeenSet = true;
95 m_createdAt = std::forward<CreatedAtT>(value);
96 }
97 template <typename CreatedAtT = Aws::Utils::DateTime>
99 SetCreatedAt(std::forward<CreatedAtT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
109 template <typename ModifiedAtT = Aws::Utils::DateTime>
110 void SetModifiedAt(ModifiedAtT&& value) {
111 m_modifiedAtHasBeenSet = true;
112 m_modifiedAt = std::forward<ModifiedAtT>(value);
113 }
114 template <typename ModifiedAtT = Aws::Utils::DateTime>
116 SetModifiedAt(std::forward<ModifiedAtT>(value));
117 return *this;
118 }
120
122
126 inline const Aws::String& GetETag() const { return m_eTag; }
127 template <typename ETagT = Aws::String>
128 void SetETag(ETagT&& value) {
129 m_eTagHasBeenSet = true;
130 m_eTag = std::forward<ETagT>(value);
131 }
132 template <typename ETagT = Aws::String>
134 SetETag(std::forward<ETagT>(value));
135 return *this;
136 }
138
140
143 inline const Aws::String& GetDescription() const { return m_description; }
144 template <typename DescriptionT = Aws::String>
145 void SetDescription(DescriptionT&& value) {
146 m_descriptionHasBeenSet = true;
147 m_description = std::forward<DescriptionT>(value);
148 }
149 template <typename DescriptionT = Aws::String>
151 SetDescription(std::forward<DescriptionT>(value));
152 return *this;
153 }
155
157
161 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
162 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
163 void SetTags(TagsT&& value) {
164 m_tagsHasBeenSet = true;
165 m_tags = std::forward<TagsT>(value);
166 }
167 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
169 SetTags(std::forward<TagsT>(value));
170 return *this;
171 }
172 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
173 CreateChannelGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
174 m_tagsHasBeenSet = true;
175 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
176 return *this;
177 }
179
181
182 inline const Aws::String& GetRequestId() const { return m_requestId; }
183 template <typename RequestIdT = Aws::String>
184 void SetRequestId(RequestIdT&& value) {
185 m_requestIdHasBeenSet = true;
186 m_requestId = std::forward<RequestIdT>(value);
187 }
188 template <typename RequestIdT = Aws::String>
190 SetRequestId(std::forward<RequestIdT>(value));
191 return *this;
192 }
194 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
195
196 private:
197 Aws::String m_channelGroupName;
198
199 Aws::String m_arn;
200
201 Aws::String m_egressDomain;
202
203 Aws::Utils::DateTime m_createdAt{};
204
205 Aws::Utils::DateTime m_modifiedAt{};
206
207 Aws::String m_eTag;
208
209 Aws::String m_description;
210
212
213 Aws::String m_requestId;
214 Aws::Http::HttpResponseCode m_HttpResponseCode;
215 bool m_channelGroupNameHasBeenSet = false;
216 bool m_arnHasBeenSet = false;
217 bool m_egressDomainHasBeenSet = false;
218 bool m_createdAtHasBeenSet = false;
219 bool m_modifiedAtHasBeenSet = false;
220 bool m_eTagHasBeenSet = false;
221 bool m_descriptionHasBeenSet = false;
222 bool m_tagsHasBeenSet = false;
223 bool m_requestIdHasBeenSet = false;
224};
225
226} // namespace Model
227} // namespace mediapackagev2
228} // 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