AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
DescribeSigningJobResult.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/signer/Signer_EXPORTS.h>
12#include <aws/signer/model/SignedObject.h>
13#include <aws/signer/model/SigningJobRevocationRecord.h>
14#include <aws/signer/model/SigningMaterial.h>
15#include <aws/signer/model/SigningPlatformOverrides.h>
16#include <aws/signer/model/SigningStatus.h>
17#include <aws/signer/model/Source.h>
18
19#include <utility>
20
21namespace Aws {
22template <typename RESULT_TYPE>
23class AmazonWebServiceResult;
24
25namespace Utils {
26namespace Json {
27class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace signer {
31namespace Model {
33 public:
34 AWS_SIGNER_API DescribeSigningJobResult() = default;
37
39
42 inline const Aws::String& GetJobId() const { return m_jobId; }
43 template <typename JobIdT = Aws::String>
44 void SetJobId(JobIdT&& value) {
45 m_jobIdHasBeenSet = true;
46 m_jobId = std::forward<JobIdT>(value);
47 }
48 template <typename JobIdT = Aws::String>
50 SetJobId(std::forward<JobIdT>(value));
51 return *this;
52 }
54
56
59 inline const Source& GetSource() const { return m_source; }
60 template <typename SourceT = Source>
61 void SetSource(SourceT&& value) {
62 m_sourceHasBeenSet = true;
63 m_source = std::forward<SourceT>(value);
64 }
65 template <typename SourceT = Source>
67 SetSource(std::forward<SourceT>(value));
68 return *this;
69 }
71
73
76 inline const SigningMaterial& GetSigningMaterial() const { return m_signingMaterial; }
77 template <typename SigningMaterialT = SigningMaterial>
78 void SetSigningMaterial(SigningMaterialT&& value) {
79 m_signingMaterialHasBeenSet = true;
80 m_signingMaterial = std::forward<SigningMaterialT>(value);
81 }
82 template <typename SigningMaterialT = SigningMaterial>
83 DescribeSigningJobResult& WithSigningMaterial(SigningMaterialT&& value) {
84 SetSigningMaterial(std::forward<SigningMaterialT>(value));
85 return *this;
86 }
88
90
94 inline const Aws::String& GetPlatformId() const { return m_platformId; }
95 template <typename PlatformIdT = Aws::String>
96 void SetPlatformId(PlatformIdT&& value) {
97 m_platformIdHasBeenSet = true;
98 m_platformId = std::forward<PlatformIdT>(value);
99 }
100 template <typename PlatformIdT = Aws::String>
102 SetPlatformId(std::forward<PlatformIdT>(value));
103 return *this;
104 }
106
108
112 inline const Aws::String& GetPlatformDisplayName() const { return m_platformDisplayName; }
113 template <typename PlatformDisplayNameT = Aws::String>
114 void SetPlatformDisplayName(PlatformDisplayNameT&& value) {
115 m_platformDisplayNameHasBeenSet = true;
116 m_platformDisplayName = std::forward<PlatformDisplayNameT>(value);
117 }
118 template <typename PlatformDisplayNameT = Aws::String>
119 DescribeSigningJobResult& WithPlatformDisplayName(PlatformDisplayNameT&& value) {
120 SetPlatformDisplayName(std::forward<PlatformDisplayNameT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetProfileName() const { return m_profileName; }
130 template <typename ProfileNameT = Aws::String>
131 void SetProfileName(ProfileNameT&& value) {
132 m_profileNameHasBeenSet = true;
133 m_profileName = std::forward<ProfileNameT>(value);
134 }
135 template <typename ProfileNameT = Aws::String>
137 SetProfileName(std::forward<ProfileNameT>(value));
138 return *this;
139 }
141
143
146 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
147 template <typename ProfileVersionT = Aws::String>
148 void SetProfileVersion(ProfileVersionT&& value) {
149 m_profileVersionHasBeenSet = true;
150 m_profileVersion = std::forward<ProfileVersionT>(value);
151 }
152 template <typename ProfileVersionT = Aws::String>
154 SetProfileVersion(std::forward<ProfileVersionT>(value));
155 return *this;
156 }
158
160
163 inline const SigningPlatformOverrides& GetOverrides() const { return m_overrides; }
164 template <typename OverridesT = SigningPlatformOverrides>
165 void SetOverrides(OverridesT&& value) {
166 m_overridesHasBeenSet = true;
167 m_overrides = std::forward<OverridesT>(value);
168 }
169 template <typename OverridesT = SigningPlatformOverrides>
171 SetOverrides(std::forward<OverridesT>(value));
172 return *this;
173 }
175
177
181 inline const Aws::Map<Aws::String, Aws::String>& GetSigningParameters() const { return m_signingParameters; }
182 template <typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
183 void SetSigningParameters(SigningParametersT&& value) {
184 m_signingParametersHasBeenSet = true;
185 m_signingParameters = std::forward<SigningParametersT>(value);
186 }
187 template <typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
188 DescribeSigningJobResult& WithSigningParameters(SigningParametersT&& value) {
189 SetSigningParameters(std::forward<SigningParametersT>(value));
190 return *this;
191 }
192 template <typename SigningParametersKeyT = Aws::String, typename SigningParametersValueT = Aws::String>
193 DescribeSigningJobResult& AddSigningParameters(SigningParametersKeyT&& key, SigningParametersValueT&& value) {
194 m_signingParametersHasBeenSet = true;
195 m_signingParameters.emplace(std::forward<SigningParametersKeyT>(key), std::forward<SigningParametersValueT>(value));
196 return *this;
197 }
199
201
204 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
205 template <typename CreatedAtT = Aws::Utils::DateTime>
206 void SetCreatedAt(CreatedAtT&& value) {
207 m_createdAtHasBeenSet = true;
208 m_createdAt = std::forward<CreatedAtT>(value);
209 }
210 template <typename CreatedAtT = Aws::Utils::DateTime>
212 SetCreatedAt(std::forward<CreatedAtT>(value));
213 return *this;
214 }
216
218
221 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
222 template <typename CompletedAtT = Aws::Utils::DateTime>
223 void SetCompletedAt(CompletedAtT&& value) {
224 m_completedAtHasBeenSet = true;
225 m_completedAt = std::forward<CompletedAtT>(value);
226 }
227 template <typename CompletedAtT = Aws::Utils::DateTime>
229 SetCompletedAt(std::forward<CompletedAtT>(value));
230 return *this;
231 }
233
235
238 inline const Aws::Utils::DateTime& GetSignatureExpiresAt() const { return m_signatureExpiresAt; }
239 template <typename SignatureExpiresAtT = Aws::Utils::DateTime>
240 void SetSignatureExpiresAt(SignatureExpiresAtT&& value) {
241 m_signatureExpiresAtHasBeenSet = true;
242 m_signatureExpiresAt = std::forward<SignatureExpiresAtT>(value);
243 }
244 template <typename SignatureExpiresAtT = Aws::Utils::DateTime>
245 DescribeSigningJobResult& WithSignatureExpiresAt(SignatureExpiresAtT&& value) {
246 SetSignatureExpiresAt(std::forward<SignatureExpiresAtT>(value));
247 return *this;
248 }
250
252
255 inline const Aws::String& GetRequestedBy() const { return m_requestedBy; }
256 template <typename RequestedByT = Aws::String>
257 void SetRequestedBy(RequestedByT&& value) {
258 m_requestedByHasBeenSet = true;
259 m_requestedBy = std::forward<RequestedByT>(value);
260 }
261 template <typename RequestedByT = Aws::String>
263 SetRequestedBy(std::forward<RequestedByT>(value));
264 return *this;
265 }
267
269
272 inline SigningStatus GetStatus() const { return m_status; }
273 inline void SetStatus(SigningStatus value) {
274 m_statusHasBeenSet = true;
275 m_status = value;
276 }
278 SetStatus(value);
279 return *this;
280 }
282
284
287 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
288 template <typename StatusReasonT = Aws::String>
289 void SetStatusReason(StatusReasonT&& value) {
290 m_statusReasonHasBeenSet = true;
291 m_statusReason = std::forward<StatusReasonT>(value);
292 }
293 template <typename StatusReasonT = Aws::String>
295 SetStatusReason(std::forward<StatusReasonT>(value));
296 return *this;
297 }
299
301
306 inline const SigningJobRevocationRecord& GetRevocationRecord() const { return m_revocationRecord; }
307 template <typename RevocationRecordT = SigningJobRevocationRecord>
308 void SetRevocationRecord(RevocationRecordT&& value) {
309 m_revocationRecordHasBeenSet = true;
310 m_revocationRecord = std::forward<RevocationRecordT>(value);
311 }
312 template <typename RevocationRecordT = SigningJobRevocationRecord>
313 DescribeSigningJobResult& WithRevocationRecord(RevocationRecordT&& value) {
314 SetRevocationRecord(std::forward<RevocationRecordT>(value));
315 return *this;
316 }
318
320
323 inline const SignedObject& GetSignedObject() const { return m_signedObject; }
324 template <typename SignedObjectT = SignedObject>
325 void SetSignedObject(SignedObjectT&& value) {
326 m_signedObjectHasBeenSet = true;
327 m_signedObject = std::forward<SignedObjectT>(value);
328 }
329 template <typename SignedObjectT = SignedObject>
331 SetSignedObject(std::forward<SignedObjectT>(value));
332 return *this;
333 }
335
337
340 inline const Aws::String& GetJobOwner() const { return m_jobOwner; }
341 template <typename JobOwnerT = Aws::String>
342 void SetJobOwner(JobOwnerT&& value) {
343 m_jobOwnerHasBeenSet = true;
344 m_jobOwner = std::forward<JobOwnerT>(value);
345 }
346 template <typename JobOwnerT = Aws::String>
348 SetJobOwner(std::forward<JobOwnerT>(value));
349 return *this;
350 }
352
354
357 inline const Aws::String& GetJobInvoker() const { return m_jobInvoker; }
358 template <typename JobInvokerT = Aws::String>
359 void SetJobInvoker(JobInvokerT&& value) {
360 m_jobInvokerHasBeenSet = true;
361 m_jobInvoker = std::forward<JobInvokerT>(value);
362 }
363 template <typename JobInvokerT = Aws::String>
365 SetJobInvoker(std::forward<JobInvokerT>(value));
366 return *this;
367 }
369
371
372 inline const Aws::String& GetRequestId() const { return m_requestId; }
373 template <typename RequestIdT = Aws::String>
374 void SetRequestId(RequestIdT&& value) {
375 m_requestIdHasBeenSet = true;
376 m_requestId = std::forward<RequestIdT>(value);
377 }
378 template <typename RequestIdT = Aws::String>
380 SetRequestId(std::forward<RequestIdT>(value));
381 return *this;
382 }
384 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
385
386 private:
387 Aws::String m_jobId;
388
389 Source m_source;
390
391 SigningMaterial m_signingMaterial;
392
393 Aws::String m_platformId;
394
395 Aws::String m_platformDisplayName;
396
397 Aws::String m_profileName;
398
399 Aws::String m_profileVersion;
400
401 SigningPlatformOverrides m_overrides;
402
403 Aws::Map<Aws::String, Aws::String> m_signingParameters;
404
405 Aws::Utils::DateTime m_createdAt{};
406
407 Aws::Utils::DateTime m_completedAt{};
408
409 Aws::Utils::DateTime m_signatureExpiresAt{};
410
411 Aws::String m_requestedBy;
412
414
415 Aws::String m_statusReason;
416
417 SigningJobRevocationRecord m_revocationRecord;
418
419 SignedObject m_signedObject;
420
421 Aws::String m_jobOwner;
422
423 Aws::String m_jobInvoker;
424
425 Aws::String m_requestId;
426 Aws::Http::HttpResponseCode m_HttpResponseCode;
427 bool m_jobIdHasBeenSet = false;
428 bool m_sourceHasBeenSet = false;
429 bool m_signingMaterialHasBeenSet = false;
430 bool m_platformIdHasBeenSet = false;
431 bool m_platformDisplayNameHasBeenSet = false;
432 bool m_profileNameHasBeenSet = false;
433 bool m_profileVersionHasBeenSet = false;
434 bool m_overridesHasBeenSet = false;
435 bool m_signingParametersHasBeenSet = false;
436 bool m_createdAtHasBeenSet = false;
437 bool m_completedAtHasBeenSet = false;
438 bool m_signatureExpiresAtHasBeenSet = false;
439 bool m_requestedByHasBeenSet = false;
440 bool m_statusHasBeenSet = false;
441 bool m_statusReasonHasBeenSet = false;
442 bool m_revocationRecordHasBeenSet = false;
443 bool m_signedObjectHasBeenSet = false;
444 bool m_jobOwnerHasBeenSet = false;
445 bool m_jobInvokerHasBeenSet = false;
446 bool m_requestIdHasBeenSet = false;
447};
448
449} // namespace Model
450} // namespace signer
451} // namespace Aws
AWS_SIGNER_API DescribeSigningJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const SigningJobRevocationRecord & GetRevocationRecord() const
DescribeSigningJobResult & WithJobId(JobIdT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSigningParameters() const
DescribeSigningJobResult & WithSignatureExpiresAt(SignatureExpiresAtT &&value)
DescribeSigningJobResult & WithStatusReason(StatusReasonT &&value)
DescribeSigningJobResult & WithStatus(SigningStatus value)
DescribeSigningJobResult & WithProfileName(ProfileNameT &&value)
DescribeSigningJobResult & AddSigningParameters(SigningParametersKeyT &&key, SigningParametersValueT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
DescribeSigningJobResult & WithRequestedBy(RequestedByT &&value)
void SetSigningParameters(SigningParametersT &&value)
DescribeSigningJobResult & WithOverrides(OverridesT &&value)
DescribeSigningJobResult & WithSigningMaterial(SigningMaterialT &&value)
DescribeSigningJobResult & WithPlatformId(PlatformIdT &&value)
DescribeSigningJobResult & WithJobInvoker(JobInvokerT &&value)
const Aws::Utils::DateTime & GetSignatureExpiresAt() const
DescribeSigningJobResult & WithCreatedAt(CreatedAtT &&value)
DescribeSigningJobResult & WithJobOwner(JobOwnerT &&value)
DescribeSigningJobResult & WithSource(SourceT &&value)
DescribeSigningJobResult & WithSignedObject(SignedObjectT &&value)
const Aws::Utils::DateTime & GetCompletedAt() const
DescribeSigningJobResult & WithRequestId(RequestIdT &&value)
DescribeSigningJobResult & WithProfileVersion(ProfileVersionT &&value)
DescribeSigningJobResult & WithCompletedAt(CompletedAtT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetSignatureExpiresAt(SignatureExpiresAtT &&value)
DescribeSigningJobResult & WithPlatformDisplayName(PlatformDisplayNameT &&value)
DescribeSigningJobResult & WithSigningParameters(SigningParametersT &&value)
DescribeSigningJobResult & WithRevocationRecord(RevocationRecordT &&value)
const SigningPlatformOverrides & GetOverrides() const
AWS_SIGNER_API DescribeSigningJobResult()=default
AWS_SIGNER_API DescribeSigningJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetPlatformDisplayName(PlatformDisplayNameT &&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