AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeSigningJobResult.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/signer/model/Source.h>
10#include <aws/signer/model/SigningMaterial.h>
11#include <aws/signer/model/SigningPlatformOverrides.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/signer/model/SigningStatus.h>
15#include <aws/signer/model/SigningJobRevocationRecord.h>
16#include <aws/signer/model/SignedObject.h>
17#include <utility>
18
19namespace Aws
20{
21template<typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29} // namespace Json
30} // namespace Utils
31namespace signer
32{
33namespace Model
34{
36 {
37 public:
38 AWS_SIGNER_API DescribeSigningJobResult() = default;
41
42
44
47 inline const Aws::String& GetJobId() const { return m_jobId; }
48 template<typename JobIdT = Aws::String>
49 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
50 template<typename JobIdT = Aws::String>
51 DescribeSigningJobResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
53
55
58 inline const Source& GetSource() const { return m_source; }
59 template<typename SourceT = Source>
60 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
61 template<typename SourceT = Source>
62 DescribeSigningJobResult& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
64
66
69 inline const SigningMaterial& GetSigningMaterial() const { return m_signingMaterial; }
70 template<typename SigningMaterialT = SigningMaterial>
71 void SetSigningMaterial(SigningMaterialT&& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = std::forward<SigningMaterialT>(value); }
72 template<typename SigningMaterialT = SigningMaterial>
73 DescribeSigningJobResult& WithSigningMaterial(SigningMaterialT&& value) { SetSigningMaterial(std::forward<SigningMaterialT>(value)); return *this;}
75
77
81 inline const Aws::String& GetPlatformId() const { return m_platformId; }
82 template<typename PlatformIdT = Aws::String>
83 void SetPlatformId(PlatformIdT&& value) { m_platformIdHasBeenSet = true; m_platformId = std::forward<PlatformIdT>(value); }
84 template<typename PlatformIdT = Aws::String>
85 DescribeSigningJobResult& WithPlatformId(PlatformIdT&& value) { SetPlatformId(std::forward<PlatformIdT>(value)); return *this;}
87
89
93 inline const Aws::String& GetPlatformDisplayName() const { return m_platformDisplayName; }
94 template<typename PlatformDisplayNameT = Aws::String>
95 void SetPlatformDisplayName(PlatformDisplayNameT&& value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName = std::forward<PlatformDisplayNameT>(value); }
96 template<typename PlatformDisplayNameT = Aws::String>
97 DescribeSigningJobResult& WithPlatformDisplayName(PlatformDisplayNameT&& value) { SetPlatformDisplayName(std::forward<PlatformDisplayNameT>(value)); return *this;}
99
101
104 inline const Aws::String& GetProfileName() const { return m_profileName; }
105 template<typename ProfileNameT = Aws::String>
106 void SetProfileName(ProfileNameT&& value) { m_profileNameHasBeenSet = true; m_profileName = std::forward<ProfileNameT>(value); }
107 template<typename ProfileNameT = Aws::String>
108 DescribeSigningJobResult& WithProfileName(ProfileNameT&& value) { SetProfileName(std::forward<ProfileNameT>(value)); return *this;}
110
112
115 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
116 template<typename ProfileVersionT = Aws::String>
117 void SetProfileVersion(ProfileVersionT&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::forward<ProfileVersionT>(value); }
118 template<typename ProfileVersionT = Aws::String>
119 DescribeSigningJobResult& WithProfileVersion(ProfileVersionT&& value) { SetProfileVersion(std::forward<ProfileVersionT>(value)); return *this;}
121
123
126 inline const SigningPlatformOverrides& GetOverrides() const { return m_overrides; }
127 template<typename OverridesT = SigningPlatformOverrides>
128 void SetOverrides(OverridesT&& value) { m_overridesHasBeenSet = true; m_overrides = std::forward<OverridesT>(value); }
129 template<typename OverridesT = SigningPlatformOverrides>
130 DescribeSigningJobResult& WithOverrides(OverridesT&& value) { SetOverrides(std::forward<OverridesT>(value)); return *this;}
132
134
138 inline const Aws::Map<Aws::String, Aws::String>& GetSigningParameters() const { return m_signingParameters; }
139 template<typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
140 void SetSigningParameters(SigningParametersT&& value) { m_signingParametersHasBeenSet = true; m_signingParameters = std::forward<SigningParametersT>(value); }
141 template<typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
142 DescribeSigningJobResult& WithSigningParameters(SigningParametersT&& value) { SetSigningParameters(std::forward<SigningParametersT>(value)); return *this;}
143 template<typename SigningParametersKeyT = Aws::String, typename SigningParametersValueT = Aws::String>
144 DescribeSigningJobResult& AddSigningParameters(SigningParametersKeyT&& key, SigningParametersValueT&& value) {
145 m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::forward<SigningParametersKeyT>(key), std::forward<SigningParametersValueT>(value)); return *this;
146 }
148
150
153 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
154 template<typename CreatedAtT = Aws::Utils::DateTime>
155 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
156 template<typename CreatedAtT = Aws::Utils::DateTime>
157 DescribeSigningJobResult& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
159
161
164 inline const Aws::Utils::DateTime& GetCompletedAt() const { return m_completedAt; }
165 template<typename CompletedAtT = Aws::Utils::DateTime>
166 void SetCompletedAt(CompletedAtT&& value) { m_completedAtHasBeenSet = true; m_completedAt = std::forward<CompletedAtT>(value); }
167 template<typename CompletedAtT = Aws::Utils::DateTime>
168 DescribeSigningJobResult& WithCompletedAt(CompletedAtT&& value) { SetCompletedAt(std::forward<CompletedAtT>(value)); return *this;}
170
172
175 inline const Aws::Utils::DateTime& GetSignatureExpiresAt() const { return m_signatureExpiresAt; }
176 template<typename SignatureExpiresAtT = Aws::Utils::DateTime>
177 void SetSignatureExpiresAt(SignatureExpiresAtT&& value) { m_signatureExpiresAtHasBeenSet = true; m_signatureExpiresAt = std::forward<SignatureExpiresAtT>(value); }
178 template<typename SignatureExpiresAtT = Aws::Utils::DateTime>
179 DescribeSigningJobResult& WithSignatureExpiresAt(SignatureExpiresAtT&& value) { SetSignatureExpiresAt(std::forward<SignatureExpiresAtT>(value)); return *this;}
181
183
186 inline const Aws::String& GetRequestedBy() const { return m_requestedBy; }
187 template<typename RequestedByT = Aws::String>
188 void SetRequestedBy(RequestedByT&& value) { m_requestedByHasBeenSet = true; m_requestedBy = std::forward<RequestedByT>(value); }
189 template<typename RequestedByT = Aws::String>
190 DescribeSigningJobResult& WithRequestedBy(RequestedByT&& value) { SetRequestedBy(std::forward<RequestedByT>(value)); return *this;}
192
194
197 inline SigningStatus GetStatus() const { return m_status; }
198 inline void SetStatus(SigningStatus value) { m_statusHasBeenSet = true; m_status = value; }
199 inline DescribeSigningJobResult& WithStatus(SigningStatus value) { SetStatus(value); return *this;}
201
203
206 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
207 template<typename StatusReasonT = Aws::String>
208 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
209 template<typename StatusReasonT = Aws::String>
210 DescribeSigningJobResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
212
214
219 inline const SigningJobRevocationRecord& GetRevocationRecord() const { return m_revocationRecord; }
220 template<typename RevocationRecordT = SigningJobRevocationRecord>
221 void SetRevocationRecord(RevocationRecordT&& value) { m_revocationRecordHasBeenSet = true; m_revocationRecord = std::forward<RevocationRecordT>(value); }
222 template<typename RevocationRecordT = SigningJobRevocationRecord>
223 DescribeSigningJobResult& WithRevocationRecord(RevocationRecordT&& value) { SetRevocationRecord(std::forward<RevocationRecordT>(value)); return *this;}
225
227
230 inline const SignedObject& GetSignedObject() const { return m_signedObject; }
231 template<typename SignedObjectT = SignedObject>
232 void SetSignedObject(SignedObjectT&& value) { m_signedObjectHasBeenSet = true; m_signedObject = std::forward<SignedObjectT>(value); }
233 template<typename SignedObjectT = SignedObject>
234 DescribeSigningJobResult& WithSignedObject(SignedObjectT&& value) { SetSignedObject(std::forward<SignedObjectT>(value)); return *this;}
236
238
241 inline const Aws::String& GetJobOwner() const { return m_jobOwner; }
242 template<typename JobOwnerT = Aws::String>
243 void SetJobOwner(JobOwnerT&& value) { m_jobOwnerHasBeenSet = true; m_jobOwner = std::forward<JobOwnerT>(value); }
244 template<typename JobOwnerT = Aws::String>
245 DescribeSigningJobResult& WithJobOwner(JobOwnerT&& value) { SetJobOwner(std::forward<JobOwnerT>(value)); return *this;}
247
249
252 inline const Aws::String& GetJobInvoker() const { return m_jobInvoker; }
253 template<typename JobInvokerT = Aws::String>
254 void SetJobInvoker(JobInvokerT&& value) { m_jobInvokerHasBeenSet = true; m_jobInvoker = std::forward<JobInvokerT>(value); }
255 template<typename JobInvokerT = Aws::String>
256 DescribeSigningJobResult& WithJobInvoker(JobInvokerT&& value) { SetJobInvoker(std::forward<JobInvokerT>(value)); return *this;}
258
260
261 inline const Aws::String& GetRequestId() const { return m_requestId; }
262 template<typename RequestIdT = Aws::String>
263 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
264 template<typename RequestIdT = Aws::String>
265 DescribeSigningJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
267 private:
268
269 Aws::String m_jobId;
270 bool m_jobIdHasBeenSet = false;
271
272 Source m_source;
273 bool m_sourceHasBeenSet = false;
274
275 SigningMaterial m_signingMaterial;
276 bool m_signingMaterialHasBeenSet = false;
277
278 Aws::String m_platformId;
279 bool m_platformIdHasBeenSet = false;
280
281 Aws::String m_platformDisplayName;
282 bool m_platformDisplayNameHasBeenSet = false;
283
284 Aws::String m_profileName;
285 bool m_profileNameHasBeenSet = false;
286
287 Aws::String m_profileVersion;
288 bool m_profileVersionHasBeenSet = false;
289
290 SigningPlatformOverrides m_overrides;
291 bool m_overridesHasBeenSet = false;
292
293 Aws::Map<Aws::String, Aws::String> m_signingParameters;
294 bool m_signingParametersHasBeenSet = false;
295
296 Aws::Utils::DateTime m_createdAt{};
297 bool m_createdAtHasBeenSet = false;
298
299 Aws::Utils::DateTime m_completedAt{};
300 bool m_completedAtHasBeenSet = false;
301
302 Aws::Utils::DateTime m_signatureExpiresAt{};
303 bool m_signatureExpiresAtHasBeenSet = false;
304
305 Aws::String m_requestedBy;
306 bool m_requestedByHasBeenSet = false;
307
309 bool m_statusHasBeenSet = false;
310
311 Aws::String m_statusReason;
312 bool m_statusReasonHasBeenSet = false;
313
314 SigningJobRevocationRecord m_revocationRecord;
315 bool m_revocationRecordHasBeenSet = false;
316
317 SignedObject m_signedObject;
318 bool m_signedObjectHasBeenSet = false;
319
320 Aws::String m_jobOwner;
321 bool m_jobOwnerHasBeenSet = false;
322
323 Aws::String m_jobInvoker;
324 bool m_jobInvokerHasBeenSet = false;
325
326 Aws::String m_requestId;
327 bool m_requestIdHasBeenSet = false;
328 };
329
330} // namespace Model
331} // namespace signer
332} // 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