AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
SigningJob.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/SignedObject.h>
11#include <aws/signer/model/SigningMaterial.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/signer/model/SigningStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace signer
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_SIGNER_API SigningJob() = default;
40 AWS_SIGNER_API SigningJob(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetJobId() const { return m_jobId; }
50 inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; }
51 template<typename JobIdT = Aws::String>
52 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
53 template<typename JobIdT = Aws::String>
54 SigningJob& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
56
58
62 inline const Source& GetSource() const { return m_source; }
63 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
64 template<typename SourceT = Source>
65 void SetSource(SourceT&& value) { m_sourceHasBeenSet = true; m_source = std::forward<SourceT>(value); }
66 template<typename SourceT = Source>
67 SigningJob& WithSource(SourceT&& value) { SetSource(std::forward<SourceT>(value)); return *this;}
69
71
75 inline const SignedObject& GetSignedObject() const { return m_signedObject; }
76 inline bool SignedObjectHasBeenSet() const { return m_signedObjectHasBeenSet; }
77 template<typename SignedObjectT = SignedObject>
78 void SetSignedObject(SignedObjectT&& value) { m_signedObjectHasBeenSet = true; m_signedObject = std::forward<SignedObjectT>(value); }
79 template<typename SignedObjectT = SignedObject>
80 SigningJob& WithSignedObject(SignedObjectT&& value) { SetSignedObject(std::forward<SignedObjectT>(value)); return *this;}
82
84
88 inline const SigningMaterial& GetSigningMaterial() const { return m_signingMaterial; }
89 inline bool SigningMaterialHasBeenSet() const { return m_signingMaterialHasBeenSet; }
90 template<typename SigningMaterialT = SigningMaterial>
91 void SetSigningMaterial(SigningMaterialT&& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = std::forward<SigningMaterialT>(value); }
92 template<typename SigningMaterialT = SigningMaterial>
93 SigningJob& WithSigningMaterial(SigningMaterialT&& value) { SetSigningMaterial(std::forward<SigningMaterialT>(value)); return *this;}
95
97
100 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
101 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
102 template<typename CreatedAtT = Aws::Utils::DateTime>
103 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
104 template<typename CreatedAtT = Aws::Utils::DateTime>
105 SigningJob& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
107
109
112 inline SigningStatus GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 inline void SetStatus(SigningStatus value) { m_statusHasBeenSet = true; m_status = value; }
115 inline SigningJob& WithStatus(SigningStatus value) { SetStatus(value); return *this;}
117
119
122 inline bool GetIsRevoked() const { return m_isRevoked; }
123 inline bool IsRevokedHasBeenSet() const { return m_isRevokedHasBeenSet; }
124 inline void SetIsRevoked(bool value) { m_isRevokedHasBeenSet = true; m_isRevoked = value; }
125 inline SigningJob& WithIsRevoked(bool value) { SetIsRevoked(value); return *this;}
127
129
132 inline const Aws::String& GetProfileName() const { return m_profileName; }
133 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
134 template<typename ProfileNameT = Aws::String>
135 void SetProfileName(ProfileNameT&& value) { m_profileNameHasBeenSet = true; m_profileName = std::forward<ProfileNameT>(value); }
136 template<typename ProfileNameT = Aws::String>
137 SigningJob& WithProfileName(ProfileNameT&& value) { SetProfileName(std::forward<ProfileNameT>(value)); return *this;}
139
141
144 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
145 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
146 template<typename ProfileVersionT = Aws::String>
147 void SetProfileVersion(ProfileVersionT&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::forward<ProfileVersionT>(value); }
148 template<typename ProfileVersionT = Aws::String>
149 SigningJob& WithProfileVersion(ProfileVersionT&& value) { SetProfileVersion(std::forward<ProfileVersionT>(value)); return *this;}
151
153
156 inline const Aws::String& GetPlatformId() const { return m_platformId; }
157 inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
158 template<typename PlatformIdT = Aws::String>
159 void SetPlatformId(PlatformIdT&& value) { m_platformIdHasBeenSet = true; m_platformId = std::forward<PlatformIdT>(value); }
160 template<typename PlatformIdT = Aws::String>
161 SigningJob& WithPlatformId(PlatformIdT&& value) { SetPlatformId(std::forward<PlatformIdT>(value)); return *this;}
163
165
168 inline const Aws::String& GetPlatformDisplayName() const { return m_platformDisplayName; }
169 inline bool PlatformDisplayNameHasBeenSet() const { return m_platformDisplayNameHasBeenSet; }
170 template<typename PlatformDisplayNameT = Aws::String>
171 void SetPlatformDisplayName(PlatformDisplayNameT&& value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName = std::forward<PlatformDisplayNameT>(value); }
172 template<typename PlatformDisplayNameT = Aws::String>
173 SigningJob& WithPlatformDisplayName(PlatformDisplayNameT&& value) { SetPlatformDisplayName(std::forward<PlatformDisplayNameT>(value)); return *this;}
175
177
180 inline const Aws::Utils::DateTime& GetSignatureExpiresAt() const { return m_signatureExpiresAt; }
181 inline bool SignatureExpiresAtHasBeenSet() const { return m_signatureExpiresAtHasBeenSet; }
182 template<typename SignatureExpiresAtT = Aws::Utils::DateTime>
183 void SetSignatureExpiresAt(SignatureExpiresAtT&& value) { m_signatureExpiresAtHasBeenSet = true; m_signatureExpiresAt = std::forward<SignatureExpiresAtT>(value); }
184 template<typename SignatureExpiresAtT = Aws::Utils::DateTime>
185 SigningJob& WithSignatureExpiresAt(SignatureExpiresAtT&& value) { SetSignatureExpiresAt(std::forward<SignatureExpiresAtT>(value)); return *this;}
187
189
192 inline const Aws::String& GetJobOwner() const { return m_jobOwner; }
193 inline bool JobOwnerHasBeenSet() const { return m_jobOwnerHasBeenSet; }
194 template<typename JobOwnerT = Aws::String>
195 void SetJobOwner(JobOwnerT&& value) { m_jobOwnerHasBeenSet = true; m_jobOwner = std::forward<JobOwnerT>(value); }
196 template<typename JobOwnerT = Aws::String>
197 SigningJob& WithJobOwner(JobOwnerT&& value) { SetJobOwner(std::forward<JobOwnerT>(value)); return *this;}
199
201
204 inline const Aws::String& GetJobInvoker() const { return m_jobInvoker; }
205 inline bool JobInvokerHasBeenSet() const { return m_jobInvokerHasBeenSet; }
206 template<typename JobInvokerT = Aws::String>
207 void SetJobInvoker(JobInvokerT&& value) { m_jobInvokerHasBeenSet = true; m_jobInvoker = std::forward<JobInvokerT>(value); }
208 template<typename JobInvokerT = Aws::String>
209 SigningJob& WithJobInvoker(JobInvokerT&& value) { SetJobInvoker(std::forward<JobInvokerT>(value)); return *this;}
211 private:
212
213 Aws::String m_jobId;
214 bool m_jobIdHasBeenSet = false;
215
216 Source m_source;
217 bool m_sourceHasBeenSet = false;
218
219 SignedObject m_signedObject;
220 bool m_signedObjectHasBeenSet = false;
221
222 SigningMaterial m_signingMaterial;
223 bool m_signingMaterialHasBeenSet = false;
224
225 Aws::Utils::DateTime m_createdAt{};
226 bool m_createdAtHasBeenSet = false;
227
229 bool m_statusHasBeenSet = false;
230
231 bool m_isRevoked{false};
232 bool m_isRevokedHasBeenSet = false;
233
234 Aws::String m_profileName;
235 bool m_profileNameHasBeenSet = false;
236
237 Aws::String m_profileVersion;
238 bool m_profileVersionHasBeenSet = false;
239
240 Aws::String m_platformId;
241 bool m_platformIdHasBeenSet = false;
242
243 Aws::String m_platformDisplayName;
244 bool m_platformDisplayNameHasBeenSet = false;
245
246 Aws::Utils::DateTime m_signatureExpiresAt{};
247 bool m_signatureExpiresAtHasBeenSet = false;
248
249 Aws::String m_jobOwner;
250 bool m_jobOwnerHasBeenSet = false;
251
252 Aws::String m_jobInvoker;
253 bool m_jobInvokerHasBeenSet = false;
254 };
255
256} // namespace Model
257} // namespace signer
258} // namespace Aws
AWS_SIGNER_API SigningJob()=default
const Aws::String & GetJobOwner() const
Definition SigningJob.h:192
SigningJob & WithJobId(JobIdT &&value)
Definition SigningJob.h:54
const SigningMaterial & GetSigningMaterial() const
Definition SigningJob.h:88
const Aws::String & GetProfileName() const
Definition SigningJob.h:132
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
SigningJob & WithProfileVersion(ProfileVersionT &&value)
Definition SigningJob.h:149
SigningJob & WithCreatedAt(CreatedAtT &&value)
Definition SigningJob.h:105
const Aws::String & GetPlatformId() const
Definition SigningJob.h:156
void SetPlatformDisplayName(PlatformDisplayNameT &&value)
Definition SigningJob.h:171
void SetCreatedAt(CreatedAtT &&value)
Definition SigningJob.h:103
const Aws::String & GetJobId() const
Definition SigningJob.h:49
void SetSignedObject(SignedObjectT &&value)
Definition SigningJob.h:78
const Aws::Utils::DateTime & GetCreatedAt() const
Definition SigningJob.h:100
const Aws::String & GetProfileVersion() const
Definition SigningJob.h:144
SigningJob & WithPlatformDisplayName(PlatformDisplayNameT &&value)
Definition SigningJob.h:173
SigningJob & WithSigningMaterial(SigningMaterialT &&value)
Definition SigningJob.h:93
void SetSource(SourceT &&value)
Definition SigningJob.h:65
SigningJob & WithIsRevoked(bool value)
Definition SigningJob.h:125
const Source & GetSource() const
Definition SigningJob.h:62
SigningJob & WithProfileName(ProfileNameT &&value)
Definition SigningJob.h:137
AWS_SIGNER_API SigningJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPlatformDisplayName() const
Definition SigningJob.h:168
SigningJob & WithSignedObject(SignedObjectT &&value)
Definition SigningJob.h:80
const Aws::String & GetJobInvoker() const
Definition SigningJob.h:204
void SetSigningMaterial(SigningMaterialT &&value)
Definition SigningJob.h:91
void SetPlatformId(PlatformIdT &&value)
Definition SigningJob.h:159
SigningJob & WithJobOwner(JobOwnerT &&value)
Definition SigningJob.h:197
void SetIsRevoked(bool value)
Definition SigningJob.h:124
void SetJobOwner(JobOwnerT &&value)
Definition SigningJob.h:195
SigningJob & WithSource(SourceT &&value)
Definition SigningJob.h:67
SigningJob & WithJobInvoker(JobInvokerT &&value)
Definition SigningJob.h:209
SigningJob & WithSignatureExpiresAt(SignatureExpiresAtT &&value)
Definition SigningJob.h:185
void SetJobInvoker(JobInvokerT &&value)
Definition SigningJob.h:207
bool SigningMaterialHasBeenSet() const
Definition SigningJob.h:89
void SetStatus(SigningStatus value)
Definition SigningJob.h:114
bool PlatformDisplayNameHasBeenSet() const
Definition SigningJob.h:169
bool SignatureExpiresAtHasBeenSet() const
Definition SigningJob.h:181
SigningJob & WithPlatformId(PlatformIdT &&value)
Definition SigningJob.h:161
void SetProfileVersion(ProfileVersionT &&value)
Definition SigningJob.h:147
const SignedObject & GetSignedObject() const
Definition SigningJob.h:75
const Aws::Utils::DateTime & GetSignatureExpiresAt() const
Definition SigningJob.h:180
void SetJobId(JobIdT &&value)
Definition SigningJob.h:52
AWS_SIGNER_API SigningJob(Aws::Utils::Json::JsonView jsonValue)
bool SignedObjectHasBeenSet() const
Definition SigningJob.h:76
bool ProfileVersionHasBeenSet() const
Definition SigningJob.h:145
SigningJob & WithStatus(SigningStatus value)
Definition SigningJob.h:115
void SetProfileName(ProfileNameT &&value)
Definition SigningJob.h:135
SigningStatus GetStatus() const
Definition SigningJob.h:112
void SetSignatureExpiresAt(SignatureExpiresAtT &&value)
Definition SigningJob.h:183
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue