AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
UpdatePackagingGroupResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
11#include <aws/mediapackage-vod/model/Authorization.h>
12#include <aws/mediapackage-vod/model/EgressAccessLogs.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace MediaPackageVod {
26namespace Model {
28 public:
29 AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult() = default;
32
34
37 inline int GetApproximateAssetCount() const { return m_approximateAssetCount; }
38 inline void SetApproximateAssetCount(int value) {
39 m_approximateAssetCountHasBeenSet = true;
40 m_approximateAssetCount = value;
41 }
44 return *this;
45 }
47
49
52 inline const Aws::String& GetArn() const { return m_arn; }
53 template <typename ArnT = Aws::String>
54 void SetArn(ArnT&& value) {
55 m_arnHasBeenSet = true;
56 m_arn = std::forward<ArnT>(value);
57 }
58 template <typename ArnT = Aws::String>
60 SetArn(std::forward<ArnT>(value));
61 return *this;
62 }
64
66
67 inline const Authorization& GetAuthorization() const { return m_authorization; }
68 template <typename AuthorizationT = Authorization>
69 void SetAuthorization(AuthorizationT&& value) {
70 m_authorizationHasBeenSet = true;
71 m_authorization = std::forward<AuthorizationT>(value);
72 }
73 template <typename AuthorizationT = Authorization>
75 SetAuthorization(std::forward<AuthorizationT>(value));
76 return *this;
77 }
79
81
84 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
85 template <typename CreatedAtT = Aws::String>
86 void SetCreatedAt(CreatedAtT&& value) {
87 m_createdAtHasBeenSet = true;
88 m_createdAt = std::forward<CreatedAtT>(value);
89 }
90 template <typename CreatedAtT = Aws::String>
92 SetCreatedAt(std::forward<CreatedAtT>(value));
93 return *this;
94 }
96
98
101 inline const Aws::String& GetDomainName() const { return m_domainName; }
102 template <typename DomainNameT = Aws::String>
103 void SetDomainName(DomainNameT&& value) {
104 m_domainNameHasBeenSet = true;
105 m_domainName = std::forward<DomainNameT>(value);
106 }
107 template <typename DomainNameT = Aws::String>
109 SetDomainName(std::forward<DomainNameT>(value));
110 return *this;
111 }
113
115
116 inline const EgressAccessLogs& GetEgressAccessLogs() const { return m_egressAccessLogs; }
117 template <typename EgressAccessLogsT = EgressAccessLogs>
118 void SetEgressAccessLogs(EgressAccessLogsT&& value) {
119 m_egressAccessLogsHasBeenSet = true;
120 m_egressAccessLogs = std::forward<EgressAccessLogsT>(value);
121 }
122 template <typename EgressAccessLogsT = EgressAccessLogs>
124 SetEgressAccessLogs(std::forward<EgressAccessLogsT>(value));
125 return *this;
126 }
128
130
133 inline const Aws::String& GetId() const { return m_id; }
134 template <typename IdT = Aws::String>
135 void SetId(IdT&& value) {
136 m_idHasBeenSet = true;
137 m_id = std::forward<IdT>(value);
138 }
139 template <typename IdT = Aws::String>
141 SetId(std::forward<IdT>(value));
142 return *this;
143 }
145
147
148 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
149 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
150 void SetTags(TagsT&& value) {
151 m_tagsHasBeenSet = true;
152 m_tags = std::forward<TagsT>(value);
153 }
154 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
156 SetTags(std::forward<TagsT>(value));
157 return *this;
158 }
159 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
160 UpdatePackagingGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
161 m_tagsHasBeenSet = true;
162 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
163 return *this;
164 }
166
168
169 inline const Aws::String& GetRequestId() const { return m_requestId; }
170 template <typename RequestIdT = Aws::String>
171 void SetRequestId(RequestIdT&& value) {
172 m_requestIdHasBeenSet = true;
173 m_requestId = std::forward<RequestIdT>(value);
174 }
175 template <typename RequestIdT = Aws::String>
177 SetRequestId(std::forward<RequestIdT>(value));
178 return *this;
179 }
181 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
182
183 private:
184 int m_approximateAssetCount{0};
185
186 Aws::String m_arn;
187
188 Authorization m_authorization;
189
190 Aws::String m_createdAt;
191
192 Aws::String m_domainName;
193
194 EgressAccessLogs m_egressAccessLogs;
195
196 Aws::String m_id;
197
199
200 Aws::String m_requestId;
201 Aws::Http::HttpResponseCode m_HttpResponseCode;
202 bool m_approximateAssetCountHasBeenSet = false;
203 bool m_arnHasBeenSet = false;
204 bool m_authorizationHasBeenSet = false;
205 bool m_createdAtHasBeenSet = false;
206 bool m_domainNameHasBeenSet = false;
207 bool m_egressAccessLogsHasBeenSet = false;
208 bool m_idHasBeenSet = false;
209 bool m_tagsHasBeenSet = false;
210 bool m_requestIdHasBeenSet = false;
211};
212
213} // namespace Model
214} // namespace MediaPackageVod
215} // namespace Aws
AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePackagingGroupResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
UpdatePackagingGroupResult & WithApproximateAssetCount(int value)
UpdatePackagingGroupResult & WithCreatedAt(CreatedAtT &&value)
UpdatePackagingGroupResult & WithEgressAccessLogs(EgressAccessLogsT &&value)
UpdatePackagingGroupResult & WithDomainName(DomainNameT &&value)
AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdatePackagingGroupResult & WithRequestId(RequestIdT &&value)
UpdatePackagingGroupResult & WithAuthorization(AuthorizationT &&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