AWS SDK for C++

AWS SDK for C++ Version 1.11.761

Loading...
Searching...
No Matches
GetSigningProfileResult.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/signer/Signer_EXPORTS.h>
11#include <aws/signer/model/SignatureValidityPeriod.h>
12#include <aws/signer/model/SigningMaterial.h>
13#include <aws/signer/model/SigningPlatformOverrides.h>
14#include <aws/signer/model/SigningProfileRevocationRecord.h>
15#include <aws/signer/model/SigningProfileStatus.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace signer {
29namespace Model {
31 public:
32 AWS_SIGNER_API GetSigningProfileResult() = default;
35
37
40 inline const Aws::String& GetProfileName() const { return m_profileName; }
41 template <typename ProfileNameT = Aws::String>
42 void SetProfileName(ProfileNameT&& value) {
43 m_profileNameHasBeenSet = true;
44 m_profileName = std::forward<ProfileNameT>(value);
45 }
46 template <typename ProfileNameT = Aws::String>
48 SetProfileName(std::forward<ProfileNameT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
58 template <typename ProfileVersionT = Aws::String>
59 void SetProfileVersion(ProfileVersionT&& value) {
60 m_profileVersionHasBeenSet = true;
61 m_profileVersion = std::forward<ProfileVersionT>(value);
62 }
63 template <typename ProfileVersionT = Aws::String>
64 GetSigningProfileResult& WithProfileVersion(ProfileVersionT&& value) {
65 SetProfileVersion(std::forward<ProfileVersionT>(value));
66 return *this;
67 }
69
71
74 inline const Aws::String& GetProfileVersionArn() const { return m_profileVersionArn; }
75 template <typename ProfileVersionArnT = Aws::String>
76 void SetProfileVersionArn(ProfileVersionArnT&& value) {
77 m_profileVersionArnHasBeenSet = true;
78 m_profileVersionArn = std::forward<ProfileVersionArnT>(value);
79 }
80 template <typename ProfileVersionArnT = Aws::String>
81 GetSigningProfileResult& WithProfileVersionArn(ProfileVersionArnT&& value) {
82 SetProfileVersionArn(std::forward<ProfileVersionArnT>(value));
83 return *this;
84 }
86
88
89 inline const SigningProfileRevocationRecord& GetRevocationRecord() const { return m_revocationRecord; }
90 template <typename RevocationRecordT = SigningProfileRevocationRecord>
91 void SetRevocationRecord(RevocationRecordT&& value) {
92 m_revocationRecordHasBeenSet = true;
93 m_revocationRecord = std::forward<RevocationRecordT>(value);
94 }
95 template <typename RevocationRecordT = SigningProfileRevocationRecord>
96 GetSigningProfileResult& WithRevocationRecord(RevocationRecordT&& value) {
97 SetRevocationRecord(std::forward<RevocationRecordT>(value));
98 return *this;
99 }
101
103
107 inline const SigningMaterial& GetSigningMaterial() const { return m_signingMaterial; }
108 template <typename SigningMaterialT = SigningMaterial>
109 void SetSigningMaterial(SigningMaterialT&& value) {
110 m_signingMaterialHasBeenSet = true;
111 m_signingMaterial = std::forward<SigningMaterialT>(value);
112 }
113 template <typename SigningMaterialT = SigningMaterial>
114 GetSigningProfileResult& WithSigningMaterial(SigningMaterialT&& value) {
115 SetSigningMaterial(std::forward<SigningMaterialT>(value));
116 return *this;
117 }
119
121
124 inline const Aws::String& GetPlatformId() const { return m_platformId; }
125 template <typename PlatformIdT = Aws::String>
126 void SetPlatformId(PlatformIdT&& value) {
127 m_platformIdHasBeenSet = true;
128 m_platformId = std::forward<PlatformIdT>(value);
129 }
130 template <typename PlatformIdT = Aws::String>
132 SetPlatformId(std::forward<PlatformIdT>(value));
133 return *this;
134 }
136
138
142 inline const Aws::String& GetPlatformDisplayName() const { return m_platformDisplayName; }
143 template <typename PlatformDisplayNameT = Aws::String>
144 void SetPlatformDisplayName(PlatformDisplayNameT&& value) {
145 m_platformDisplayNameHasBeenSet = true;
146 m_platformDisplayName = std::forward<PlatformDisplayNameT>(value);
147 }
148 template <typename PlatformDisplayNameT = Aws::String>
149 GetSigningProfileResult& WithPlatformDisplayName(PlatformDisplayNameT&& value) {
150 SetPlatformDisplayName(std::forward<PlatformDisplayNameT>(value));
151 return *this;
152 }
154
156
157 inline const SignatureValidityPeriod& GetSignatureValidityPeriod() const { return m_signatureValidityPeriod; }
158 template <typename SignatureValidityPeriodT = SignatureValidityPeriod>
159 void SetSignatureValidityPeriod(SignatureValidityPeriodT&& value) {
160 m_signatureValidityPeriodHasBeenSet = true;
161 m_signatureValidityPeriod = std::forward<SignatureValidityPeriodT>(value);
162 }
163 template <typename SignatureValidityPeriodT = SignatureValidityPeriod>
164 GetSigningProfileResult& WithSignatureValidityPeriod(SignatureValidityPeriodT&& value) {
165 SetSignatureValidityPeriod(std::forward<SignatureValidityPeriodT>(value));
166 return *this;
167 }
169
171
175 inline const SigningPlatformOverrides& GetOverrides() const { return m_overrides; }
176 template <typename OverridesT = SigningPlatformOverrides>
177 void SetOverrides(OverridesT&& value) {
178 m_overridesHasBeenSet = true;
179 m_overrides = std::forward<OverridesT>(value);
180 }
181 template <typename OverridesT = SigningPlatformOverrides>
183 SetOverrides(std::forward<OverridesT>(value));
184 return *this;
185 }
187
189
193 inline const Aws::Map<Aws::String, Aws::String>& GetSigningParameters() const { return m_signingParameters; }
194 template <typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
195 void SetSigningParameters(SigningParametersT&& value) {
196 m_signingParametersHasBeenSet = true;
197 m_signingParameters = std::forward<SigningParametersT>(value);
198 }
199 template <typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
200 GetSigningProfileResult& WithSigningParameters(SigningParametersT&& value) {
201 SetSigningParameters(std::forward<SigningParametersT>(value));
202 return *this;
203 }
204 template <typename SigningParametersKeyT = Aws::String, typename SigningParametersValueT = Aws::String>
205 GetSigningProfileResult& AddSigningParameters(SigningParametersKeyT&& key, SigningParametersValueT&& value) {
206 m_signingParametersHasBeenSet = true;
207 m_signingParameters.emplace(std::forward<SigningParametersKeyT>(key), std::forward<SigningParametersValueT>(value));
208 return *this;
209 }
211
213
216 inline SigningProfileStatus GetStatus() const { return m_status; }
217 inline void SetStatus(SigningProfileStatus value) {
218 m_statusHasBeenSet = true;
219 m_status = value;
220 }
222 SetStatus(value);
223 return *this;
224 }
226
228
231 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
232 template <typename StatusReasonT = Aws::String>
233 void SetStatusReason(StatusReasonT&& value) {
234 m_statusReasonHasBeenSet = true;
235 m_statusReason = std::forward<StatusReasonT>(value);
236 }
237 template <typename StatusReasonT = Aws::String>
239 SetStatusReason(std::forward<StatusReasonT>(value));
240 return *this;
241 }
243
245
248 inline const Aws::String& GetArn() const { return m_arn; }
249 template <typename ArnT = Aws::String>
250 void SetArn(ArnT&& value) {
251 m_arnHasBeenSet = true;
252 m_arn = std::forward<ArnT>(value);
253 }
254 template <typename ArnT = Aws::String>
256 SetArn(std::forward<ArnT>(value));
257 return *this;
258 }
260
262
265 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
266 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
267 void SetTags(TagsT&& value) {
268 m_tagsHasBeenSet = true;
269 m_tags = std::forward<TagsT>(value);
270 }
271 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
273 SetTags(std::forward<TagsT>(value));
274 return *this;
275 }
276 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
277 GetSigningProfileResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
278 m_tagsHasBeenSet = true;
279 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
280 return *this;
281 }
283
285
286 inline const Aws::String& GetRequestId() const { return m_requestId; }
287 template <typename RequestIdT = Aws::String>
288 void SetRequestId(RequestIdT&& value) {
289 m_requestIdHasBeenSet = true;
290 m_requestId = std::forward<RequestIdT>(value);
291 }
292 template <typename RequestIdT = Aws::String>
294 SetRequestId(std::forward<RequestIdT>(value));
295 return *this;
296 }
298 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
299
300 private:
301 Aws::String m_profileName;
302
303 Aws::String m_profileVersion;
304
305 Aws::String m_profileVersionArn;
306
307 SigningProfileRevocationRecord m_revocationRecord;
308
309 SigningMaterial m_signingMaterial;
310
311 Aws::String m_platformId;
312
313 Aws::String m_platformDisplayName;
314
315 SignatureValidityPeriod m_signatureValidityPeriod;
316
317 SigningPlatformOverrides m_overrides;
318
319 Aws::Map<Aws::String, Aws::String> m_signingParameters;
320
322
323 Aws::String m_statusReason;
324
325 Aws::String m_arn;
326
328
329 Aws::String m_requestId;
330 Aws::Http::HttpResponseCode m_HttpResponseCode;
331 bool m_profileNameHasBeenSet = false;
332 bool m_profileVersionHasBeenSet = false;
333 bool m_profileVersionArnHasBeenSet = false;
334 bool m_revocationRecordHasBeenSet = false;
335 bool m_signingMaterialHasBeenSet = false;
336 bool m_platformIdHasBeenSet = false;
337 bool m_platformDisplayNameHasBeenSet = false;
338 bool m_signatureValidityPeriodHasBeenSet = false;
339 bool m_overridesHasBeenSet = false;
340 bool m_signingParametersHasBeenSet = false;
341 bool m_statusHasBeenSet = false;
342 bool m_statusReasonHasBeenSet = false;
343 bool m_arnHasBeenSet = false;
344 bool m_tagsHasBeenSet = false;
345 bool m_requestIdHasBeenSet = false;
346};
347
348} // namespace Model
349} // namespace signer
350} // namespace Aws
GetSigningProfileResult & WithPlatformDisplayName(PlatformDisplayNameT &&value)
GetSigningProfileResult & WithProfileVersionArn(ProfileVersionArnT &&value)
GetSigningProfileResult & WithSigningParameters(SigningParametersT &&value)
GetSigningProfileResult & WithSigningMaterial(SigningMaterialT &&value)
GetSigningProfileResult & WithRequestId(RequestIdT &&value)
AWS_SIGNER_API GetSigningProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSigningProfileResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetSigningProfileResult & WithTags(TagsT &&value)
const SignatureValidityPeriod & GetSignatureValidityPeriod() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetSigningProfileResult & WithStatusReason(StatusReasonT &&value)
GetSigningProfileResult & WithRevocationRecord(RevocationRecordT &&value)
AWS_SIGNER_API GetSigningProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSigningProfileResult & WithProfileVersion(ProfileVersionT &&value)
void SetSignatureValidityPeriod(SignatureValidityPeriodT &&value)
void SetRevocationRecord(RevocationRecordT &&value)
GetSigningProfileResult & WithOverrides(OverridesT &&value)
AWS_SIGNER_API GetSigningProfileResult()=default
void SetSigningParameters(SigningParametersT &&value)
GetSigningProfileResult & WithStatus(SigningProfileStatus value)
GetSigningProfileResult & WithArn(ArnT &&value)
const SigningPlatformOverrides & GetOverrides() const
const SigningProfileRevocationRecord & GetRevocationRecord() const
void SetProfileVersionArn(ProfileVersionArnT &&value)
void SetPlatformDisplayName(PlatformDisplayNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSigningParameters() const
GetSigningProfileResult & WithSignatureValidityPeriod(SignatureValidityPeriodT &&value)
GetSigningProfileResult & WithPlatformId(PlatformIdT &&value)
GetSigningProfileResult & WithProfileName(ProfileNameT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
GetSigningProfileResult & AddSigningParameters(SigningParametersKeyT &&key, SigningParametersValueT &&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