AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
UpdatePackagingGroupResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/mediapackage-vod/MediaPackageVod_EXPORTS.h>
10#include <aws/mediapackage-vod/model/Authorization.h>
11#include <aws/mediapackage-vod/model/EgressAccessLogs.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 MediaPackageVod {
25namespace Model {
27 public:
28 AWS_MEDIAPACKAGEVOD_API UpdatePackagingGroupResult() = default;
31
33
36 inline int GetApproximateAssetCount() const { return m_approximateAssetCount; }
37 inline void SetApproximateAssetCount(int value) {
38 m_approximateAssetCountHasBeenSet = true;
39 m_approximateAssetCount = value;
40 }
43 return *this;
44 }
46
48
51 inline const Aws::String& GetArn() const { return m_arn; }
52 template <typename ArnT = Aws::String>
53 void SetArn(ArnT&& value) {
54 m_arnHasBeenSet = true;
55 m_arn = std::forward<ArnT>(value);
56 }
57 template <typename ArnT = Aws::String>
59 SetArn(std::forward<ArnT>(value));
60 return *this;
61 }
63
65
66 inline const Authorization& GetAuthorization() const { return m_authorization; }
67 template <typename AuthorizationT = Authorization>
68 void SetAuthorization(AuthorizationT&& value) {
69 m_authorizationHasBeenSet = true;
70 m_authorization = std::forward<AuthorizationT>(value);
71 }
72 template <typename AuthorizationT = Authorization>
74 SetAuthorization(std::forward<AuthorizationT>(value));
75 return *this;
76 }
78
80
83 inline const Aws::String& GetCreatedAt() const { return m_createdAt; }
84 template <typename CreatedAtT = Aws::String>
85 void SetCreatedAt(CreatedAtT&& value) {
86 m_createdAtHasBeenSet = true;
87 m_createdAt = std::forward<CreatedAtT>(value);
88 }
89 template <typename CreatedAtT = Aws::String>
91 SetCreatedAt(std::forward<CreatedAtT>(value));
92 return *this;
93 }
95
97
100 inline const Aws::String& GetDomainName() const { return m_domainName; }
101 template <typename DomainNameT = Aws::String>
102 void SetDomainName(DomainNameT&& value) {
103 m_domainNameHasBeenSet = true;
104 m_domainName = std::forward<DomainNameT>(value);
105 }
106 template <typename DomainNameT = Aws::String>
108 SetDomainName(std::forward<DomainNameT>(value));
109 return *this;
110 }
112
114
115 inline const EgressAccessLogs& GetEgressAccessLogs() const { return m_egressAccessLogs; }
116 template <typename EgressAccessLogsT = EgressAccessLogs>
117 void SetEgressAccessLogs(EgressAccessLogsT&& value) {
118 m_egressAccessLogsHasBeenSet = true;
119 m_egressAccessLogs = std::forward<EgressAccessLogsT>(value);
120 }
121 template <typename EgressAccessLogsT = EgressAccessLogs>
123 SetEgressAccessLogs(std::forward<EgressAccessLogsT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::String& GetId() const { return m_id; }
133 template <typename IdT = Aws::String>
134 void SetId(IdT&& value) {
135 m_idHasBeenSet = true;
136 m_id = std::forward<IdT>(value);
137 }
138 template <typename IdT = Aws::String>
140 SetId(std::forward<IdT>(value));
141 return *this;
142 }
144
146
147 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
148 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
149 void SetTags(TagsT&& value) {
150 m_tagsHasBeenSet = true;
151 m_tags = std::forward<TagsT>(value);
152 }
153 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 SetTags(std::forward<TagsT>(value));
156 return *this;
157 }
158 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
159 UpdatePackagingGroupResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
160 m_tagsHasBeenSet = true;
161 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
162 return *this;
163 }
165
167
168 inline const Aws::String& GetRequestId() const { return m_requestId; }
169 template <typename RequestIdT = Aws::String>
170 void SetRequestId(RequestIdT&& value) {
171 m_requestIdHasBeenSet = true;
172 m_requestId = std::forward<RequestIdT>(value);
173 }
174 template <typename RequestIdT = Aws::String>
176 SetRequestId(std::forward<RequestIdT>(value));
177 return *this;
178 }
180 private:
181 int m_approximateAssetCount{0};
182 bool m_approximateAssetCountHasBeenSet = false;
183
184 Aws::String m_arn;
185 bool m_arnHasBeenSet = false;
186
187 Authorization m_authorization;
188 bool m_authorizationHasBeenSet = false;
189
190 Aws::String m_createdAt;
191 bool m_createdAtHasBeenSet = false;
192
193 Aws::String m_domainName;
194 bool m_domainNameHasBeenSet = false;
195
196 EgressAccessLogs m_egressAccessLogs;
197 bool m_egressAccessLogsHasBeenSet = false;
198
199 Aws::String m_id;
200 bool m_idHasBeenSet = false;
201
203 bool m_tagsHasBeenSet = false;
204
205 Aws::String m_requestId;
206 bool m_requestIdHasBeenSet = false;
207};
208
209} // namespace Model
210} // namespace MediaPackageVod
211} // 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