AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
UpdateChannelGroupResult.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 UpdateChannelGroupResult() = 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 UpdateChannelGroupResult& 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
72 inline const Aws::String& GetEgressDomain() const { return m_egressDomain; }
73 template <typename EgressDomainT = Aws::String>
74 void SetEgressDomain(EgressDomainT&& value) {
75 m_egressDomainHasBeenSet = true;
76 m_egressDomain = std::forward<EgressDomainT>(value);
77 }
78 template <typename EgressDomainT = Aws::String>
80 SetEgressDomain(std::forward<EgressDomainT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
90 template <typename CreatedAtT = Aws::Utils::DateTime>
91 void SetCreatedAt(CreatedAtT&& value) {
92 m_createdAtHasBeenSet = true;
93 m_createdAt = std::forward<CreatedAtT>(value);
94 }
95 template <typename CreatedAtT = Aws::Utils::DateTime>
97 SetCreatedAt(std::forward<CreatedAtT>(value));
98 return *this;
99 }
101
103
106 inline const Aws::Utils::DateTime& GetModifiedAt() const { return m_modifiedAt; }
107 template <typename ModifiedAtT = Aws::Utils::DateTime>
108 void SetModifiedAt(ModifiedAtT&& value) {
109 m_modifiedAtHasBeenSet = true;
110 m_modifiedAt = std::forward<ModifiedAtT>(value);
111 }
112 template <typename ModifiedAtT = Aws::Utils::DateTime>
114 SetModifiedAt(std::forward<ModifiedAtT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetDescription() const { return m_description; }
124 template <typename DescriptionT = Aws::String>
125 void SetDescription(DescriptionT&& value) {
126 m_descriptionHasBeenSet = true;
127 m_description = std::forward<DescriptionT>(value);
128 }
129 template <typename DescriptionT = Aws::String>
131 SetDescription(std::forward<DescriptionT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::String& GetETag() const { return m_eTag; }
142 template <typename ETagT = Aws::String>
143 void SetETag(ETagT&& value) {
144 m_eTagHasBeenSet = true;
145 m_eTag = std::forward<ETagT>(value);
146 }
147 template <typename ETagT = Aws::String>
149 SetETag(std::forward<ETagT>(value));
150 return *this;
151 }
153
155
159 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
160 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
161 void SetTags(TagsT&& value) {
162 m_tagsHasBeenSet = true;
163 m_tags = std::forward<TagsT>(value);
164 }
165 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
167 SetTags(std::forward<TagsT>(value));
168 return *this;
169 }
170 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
171 UpdateChannelGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
172 m_tagsHasBeenSet = true;
173 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
174 return *this;
175 }
177
179
180 inline const Aws::String& GetRequestId() const { return m_requestId; }
181 template <typename RequestIdT = Aws::String>
182 void SetRequestId(RequestIdT&& value) {
183 m_requestIdHasBeenSet = true;
184 m_requestId = std::forward<RequestIdT>(value);
185 }
186 template <typename RequestIdT = Aws::String>
188 SetRequestId(std::forward<RequestIdT>(value));
189 return *this;
190 }
192 private:
193 Aws::String m_channelGroupName;
194
195 Aws::String m_arn;
196
197 Aws::String m_egressDomain;
198
199 Aws::Utils::DateTime m_createdAt{};
200
201 Aws::Utils::DateTime m_modifiedAt{};
202
203 Aws::String m_description;
204
205 Aws::String m_eTag;
206
208
209 Aws::String m_requestId;
210 bool m_channelGroupNameHasBeenSet = false;
211 bool m_arnHasBeenSet = false;
212 bool m_egressDomainHasBeenSet = false;
213 bool m_createdAtHasBeenSet = false;
214 bool m_modifiedAtHasBeenSet = false;
215 bool m_descriptionHasBeenSet = false;
216 bool m_eTagHasBeenSet = false;
217 bool m_tagsHasBeenSet = false;
218 bool m_requestIdHasBeenSet = false;
219};
220
221} // namespace Model
222} // namespace mediapackagev2
223} // namespace Aws
AWS_MEDIAPACKAGEV2_API UpdateChannelGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateChannelGroupResult & WithChannelGroupName(ChannelGroupNameT &&value)
UpdateChannelGroupResult & WithModifiedAt(ModifiedAtT &&value)
UpdateChannelGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
UpdateChannelGroupResult & WithEgressDomain(EgressDomainT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdateChannelGroupResult & WithDescription(DescriptionT &&value)
AWS_MEDIAPACKAGEV2_API UpdateChannelGroupResult()=default
UpdateChannelGroupResult & WithRequestId(RequestIdT &&value)
AWS_MEDIAPACKAGEV2_API UpdateChannelGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateChannelGroupResult & WithCreatedAt(CreatedAtT &&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