AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
DescribeSigningJobResult.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/signer/Signer_EXPORTS.h>
11#include <aws/signer/model/SignedObject.h>
12#include <aws/signer/model/SigningJobRevocationRecord.h>
13#include <aws/signer/model/SigningMaterial.h>
14#include <aws/signer/model/SigningPlatformOverrides.h>
15#include <aws/signer/model/SigningStatus.h>
16#include <aws/signer/model/Source.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace signer {
30namespace Model {
32 public:
33 AWS_SIGNER_API DescribeSigningJobResult() = default;
36
38
41 inline const Aws::String& GetJobId() const { return m_jobId; }
42 template <typename JobIdT = Aws::String>
43 void SetJobId(JobIdT&& value) {
44 m_jobIdHasBeenSet = true;
45 m_jobId = std::forward<JobIdT>(value);
46 }
47 template <typename JobIdT = Aws::String>
49 SetJobId(std::forward<JobIdT>(value));
50 return *this;
51 }
53
55
58 inline const Source& GetSource() const { return m_source; }
59 template <typename SourceT = Source>
60 void SetSource(SourceT&& value) {
61 m_sourceHasBeenSet = true;
62 m_source = std::forward<SourceT>(value);
63 }
64 template <typename SourceT = Source>
66 SetSource(std::forward<SourceT>(value));
67 return *this;
68 }
70
72
75 inline const SigningMaterial& GetSigningMaterial() const { return m_signingMaterial; }
76 template <typename SigningMaterialT = SigningMaterial>
77 void SetSigningMaterial(SigningMaterialT&& value) {
78 m_signingMaterialHasBeenSet = true;
79 m_signingMaterial = std::forward<SigningMaterialT>(value);
80 }
81 template <typename SigningMaterialT = SigningMaterial>
82 DescribeSigningJobResult& WithSigningMaterial(SigningMaterialT&& value) {
83 SetSigningMaterial(std::forward<SigningMaterialT>(value));
84 return *this;
85 }
87
89
93 inline const Aws::String& GetPlatformId() const { return m_platformId; }
94 template <typename PlatformIdT = Aws::String>
95 void SetPlatformId(PlatformIdT&& value) {
96 m_platformIdHasBeenSet = true;
97 m_platformId = std::forward<PlatformIdT>(value);
98 }
99 template <typename PlatformIdT = Aws::String>
101 SetPlatformId(std::forward<PlatformIdT>(value));
102 return *this;
103 }
105
107
111 inline const Aws::String& GetPlatformDisplayName() const { return m_platformDisplayName; }
112 template <typename PlatformDisplayNameT = Aws::String>
113 void SetPlatformDisplayName(PlatformDisplayNameT&& value) {
114 m_platformDisplayNameHasBeenSet = true;
115 m_platformDisplayName = std::forward<PlatformDisplayNameT>(value);
116 }
117 template <typename PlatformDisplayNameT = Aws::String>
118 DescribeSigningJobResult& WithPlatformDisplayName(PlatformDisplayNameT&& value) {
119 SetPlatformDisplayName(std::forward<PlatformDisplayNameT>(value));
120 return *this;
121 }
123
125
128 inline const Aws::String& GetProfileName() const { return m_profileName; }
129 template <typename ProfileNameT = Aws::String>
130 void SetProfileName(ProfileNameT&& value) {
131 m_profileNameHasBeenSet = true;
132 m_profileName = std::forward<ProfileNameT>(value);
133 }
134 template <typename ProfileNameT = Aws::String>
136 SetProfileName(std::forward<ProfileNameT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
146 template <typename ProfileVersionT = Aws::String>
147 void SetProfileVersion(ProfileVersionT&& value) {
148 m_profileVersionHasBeenSet = true;
149 m_profileVersion = std::forward<ProfileVersionT>(value);
150 }
151 template <typename ProfileVersionT = Aws::String>
153 SetProfileVersion(std::forward<ProfileVersionT>(value));
154 return *this;
155 }
157
159
162 inline const SigningPlatformOverrides& GetOverrides() const { return m_overrides; }
163 template <typename OverridesT = SigningPlatformOverrides>
164 void SetOverrides(OverridesT&& value) {
165 m_overridesHasBeenSet = true;
166 m_overrides = std::forward<OverridesT>(value);
167 }
168 template <typename OverridesT = SigningPlatformOverrides>
170 SetOverrides(std::forward<OverridesT>(value));
171 return *this;
172 }
174
176
180 inline const Aws::Map<Aws::String, Aws::String>& GetSigningParameters() const { return m_signingParameters; }
181 template <typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
182 void SetSigningParameters(SigningParametersT&& value) {
183 m_signingParametersHasBeenSet = true;
184 m_signingParameters = std::forward<SigningParametersT>(value);
185 }
186 template <typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
187 DescribeSigningJobResult& WithSigningParameters(SigningParametersT&& value) {
188 SetSigningParameters(std::forward<SigningParametersT>(value));
189 return *this;
190 }
191 template <typename SigningParametersKeyT = Aws::String, typename SigningParametersValueT = Aws::String>
192 DescribeSigningJobResult& AddSigningParameters(SigningParametersKeyT&& key, SigningParametersValueT&& value) {
193 m_signingParametersHasBeenSet = true;
194 m_signingParameters.emplace(std::forward<SigningParametersKeyT>(key), std::forward<SigningParametersValueT>(value));
195 return *this;
196 }
198
200
203 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
204 template <typename CreatedAtT = Aws::Utils::DateTime>
205 void SetCreatedAt(CreatedAtT&& value) {
206 m_createdAtHasBeenSet = true;
207 m_createdAt = std::forward<CreatedAtT>(value);
208 }
209 template <typename CreatedAtT = Aws::Utils::DateTime>
211 SetCreatedAt(std::forward<CreatedAtT>(value));
212 return *this;
213 }
215
217
220 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
221 template <typename CompletedAtT = Aws::Utils::DateTime>
222 void SetCompletedAt(CompletedAtT&& value) {
223 m_completedAtHasBeenSet = true;
224 m_completedAt = std::forward<CompletedAtT>(value);
225 }
226 template <typename CompletedAtT = Aws::Utils::DateTime>
228 SetCompletedAt(std::forward<CompletedAtT>(value));
229 return *this;
230 }
232
234
237 inline const Aws::Utils::DateTime& GetSignatureExpiresAt() const { return m_signatureExpiresAt; }
238 template <typename SignatureExpiresAtT = Aws::Utils::DateTime>
239 void SetSignatureExpiresAt(SignatureExpiresAtT&& value) {
240 m_signatureExpiresAtHasBeenSet = true;
241 m_signatureExpiresAt = std::forward<SignatureExpiresAtT>(value);
242 }
243 template <typename SignatureExpiresAtT = Aws::Utils::DateTime>
244 DescribeSigningJobResult& WithSignatureExpiresAt(SignatureExpiresAtT&& value) {
245 SetSignatureExpiresAt(std::forward<SignatureExpiresAtT>(value));
246 return *this;
247 }
249
251
254 inline const Aws::String& GetRequestedBy() const { return m_requestedBy; }
255 template <typename RequestedByT = Aws::String>
256 void SetRequestedBy(RequestedByT&& value) {
257 m_requestedByHasBeenSet = true;
258 m_requestedBy = std::forward<RequestedByT>(value);
259 }
260 template <typename RequestedByT = Aws::String>
262 SetRequestedBy(std::forward<RequestedByT>(value));
263 return *this;
264 }
266
268
271 inline SigningStatus GetStatus() const { return m_status; }
272 inline void SetStatus(SigningStatus value) {
273 m_statusHasBeenSet = true;
274 m_status = value;
275 }
277 SetStatus(value);
278 return *this;
279 }
281
283
286 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
287 template <typename StatusReasonT = Aws::String>
288 void SetStatusReason(StatusReasonT&& value) {
289 m_statusReasonHasBeenSet = true;
290 m_statusReason = std::forward<StatusReasonT>(value);
291 }
292 template <typename StatusReasonT = Aws::String>
294 SetStatusReason(std::forward<StatusReasonT>(value));
295 return *this;
296 }
298
300
305 inline const SigningJobRevocationRecord& GetRevocationRecord() const { return m_revocationRecord; }
306 template <typename RevocationRecordT = SigningJobRevocationRecord>
307 void SetRevocationRecord(RevocationRecordT&& value) {
308 m_revocationRecordHasBeenSet = true;
309 m_revocationRecord = std::forward<RevocationRecordT>(value);
310 }
311 template <typename RevocationRecordT = SigningJobRevocationRecord>
312 DescribeSigningJobResult& WithRevocationRecord(RevocationRecordT&& value) {
313 SetRevocationRecord(std::forward<RevocationRecordT>(value));
314 return *this;
315 }
317
319
322 inline const SignedObject& GetSignedObject() const { return m_signedObject; }
323 template <typename SignedObjectT = SignedObject>
324 void SetSignedObject(SignedObjectT&& value) {
325 m_signedObjectHasBeenSet = true;
326 m_signedObject = std::forward<SignedObjectT>(value);
327 }
328 template <typename SignedObjectT = SignedObject>
330 SetSignedObject(std::forward<SignedObjectT>(value));
331 return *this;
332 }
334
336
339 inline const Aws::String& GetJobOwner() const { return m_jobOwner; }
340 template <typename JobOwnerT = Aws::String>
341 void SetJobOwner(JobOwnerT&& value) {
342 m_jobOwnerHasBeenSet = true;
343 m_jobOwner = std::forward<JobOwnerT>(value);
344 }
345 template <typename JobOwnerT = Aws::String>
347 SetJobOwner(std::forward<JobOwnerT>(value));
348 return *this;
349 }
351
353
356 inline const Aws::String& GetJobInvoker() const { return m_jobInvoker; }
357 template <typename JobInvokerT = Aws::String>
358 void SetJobInvoker(JobInvokerT&& value) {
359 m_jobInvokerHasBeenSet = true;
360 m_jobInvoker = std::forward<JobInvokerT>(value);
361 }
362 template <typename JobInvokerT = Aws::String>
364 SetJobInvoker(std::forward<JobInvokerT>(value));
365 return *this;
366 }
368
370
371 inline const Aws::String& GetRequestId() const { return m_requestId; }
372 template <typename RequestIdT = Aws::String>
373 void SetRequestId(RequestIdT&& value) {
374 m_requestIdHasBeenSet = true;
375 m_requestId = std::forward<RequestIdT>(value);
376 }
377 template <typename RequestIdT = Aws::String>
379 SetRequestId(std::forward<RequestIdT>(value));
380 return *this;
381 }
383 private:
384 Aws::String m_jobId;
385
386 Source m_source;
387
388 SigningMaterial m_signingMaterial;
389
390 Aws::String m_platformId;
391
392 Aws::String m_platformDisplayName;
393
394 Aws::String m_profileName;
395
396 Aws::String m_profileVersion;
397
398 SigningPlatformOverrides m_overrides;
399
400 Aws::Map<Aws::String, Aws::String> m_signingParameters;
401
402 Aws::Utils::DateTime m_createdAt{};
403
404 Aws::Utils::DateTime m_completedAt{};
405
406 Aws::Utils::DateTime m_signatureExpiresAt{};
407
408 Aws::String m_requestedBy;
409
411
412 Aws::String m_statusReason;
413
414 SigningJobRevocationRecord m_revocationRecord;
415
416 SignedObject m_signedObject;
417
418 Aws::String m_jobOwner;
419
420 Aws::String m_jobInvoker;
421
422 Aws::String m_requestId;
423 bool m_jobIdHasBeenSet = false;
424 bool m_sourceHasBeenSet = false;
425 bool m_signingMaterialHasBeenSet = false;
426 bool m_platformIdHasBeenSet = false;
427 bool m_platformDisplayNameHasBeenSet = false;
428 bool m_profileNameHasBeenSet = false;
429 bool m_profileVersionHasBeenSet = false;
430 bool m_overridesHasBeenSet = false;
431 bool m_signingParametersHasBeenSet = false;
432 bool m_createdAtHasBeenSet = false;
433 bool m_completedAtHasBeenSet = false;
434 bool m_signatureExpiresAtHasBeenSet = false;
435 bool m_requestedByHasBeenSet = false;
436 bool m_statusHasBeenSet = false;
437 bool m_statusReasonHasBeenSet = false;
438 bool m_revocationRecordHasBeenSet = false;
439 bool m_signedObjectHasBeenSet = false;
440 bool m_jobOwnerHasBeenSet = false;
441 bool m_jobInvokerHasBeenSet = false;
442 bool m_requestIdHasBeenSet = false;
443};
444
445} // namespace Model
446} // namespace signer
447} // 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)
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