AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
GetChannelGroupResult.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 GetChannelGroupResult() = 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 GetChannelGroupResult& 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
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>
80 GetChannelGroupResult& WithEgressDomain(EgressDomainT&& value) {
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>
97 GetChannelGroupResult& WithCreatedAt(CreatedAtT&& value) {
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>
114 GetChannelGroupResult& WithModifiedAt(ModifiedAtT&& value) {
115 SetModifiedAt(std::forward<ModifiedAtT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetDescription() const { return m_description; }
125 template <typename DescriptionT = Aws::String>
126 void SetDescription(DescriptionT&& value) {
127 m_descriptionHasBeenSet = true;
128 m_description = std::forward<DescriptionT>(value);
129 }
130 template <typename DescriptionT = Aws::String>
131 GetChannelGroupResult& WithDescription(DescriptionT&& value) {
132 SetDescription(std::forward<DescriptionT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::String& GetETag() const { return m_eTag; }
143 template <typename ETagT = Aws::String>
144 void SetETag(ETagT&& value) {
145 m_eTagHasBeenSet = true;
146 m_eTag = std::forward<ETagT>(value);
147 }
148 template <typename ETagT = Aws::String>
150 SetETag(std::forward<ETagT>(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 GetChannelGroupResult& 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 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
194
195 private:
196 Aws::String m_channelGroupName;
197
198 Aws::String m_arn;
199
200 Aws::String m_egressDomain;
201
202 Aws::Utils::DateTime m_createdAt{};
203
204 Aws::Utils::DateTime m_modifiedAt{};
205
206 Aws::String m_description;
207
208 Aws::String m_eTag;
209
211
212 Aws::String m_requestId;
213 Aws::Http::HttpResponseCode m_HttpResponseCode;
214 bool m_channelGroupNameHasBeenSet = false;
215 bool m_arnHasBeenSet = false;
216 bool m_egressDomainHasBeenSet = false;
217 bool m_createdAtHasBeenSet = false;
218 bool m_modifiedAtHasBeenSet = false;
219 bool m_descriptionHasBeenSet = false;
220 bool m_eTagHasBeenSet = false;
221 bool m_tagsHasBeenSet = false;
222 bool m_requestIdHasBeenSet = false;
223};
224
225} // namespace Model
226} // namespace mediapackagev2
227} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetChannelGroupResult & WithCreatedAt(CreatedAtT &&value)
AWS_MEDIAPACKAGEV2_API GetChannelGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelGroupResult & WithModifiedAt(ModifiedAtT &&value)
GetChannelGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MEDIAPACKAGEV2_API GetChannelGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetChannelGroupResult & WithEgressDomain(EgressDomainT &&value)
const Aws::Utils::DateTime & GetModifiedAt() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetChannelGroupResult & WithETag(ETagT &&value)
GetChannelGroupResult & WithTags(TagsT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetChannelGroupResult & WithRequestId(RequestIdT &&value)
GetChannelGroupResult & WithDescription(DescriptionT &&value)
GetChannelGroupResult & WithChannelGroupName(ChannelGroupNameT &&value)
GetChannelGroupResult & WithArn(ArnT &&value)
AWS_MEDIAPACKAGEV2_API GetChannelGroupResult()=default
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