AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; }
52 inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); }
53 inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); }
54 inline SigningJob& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
55 inline SigningJob& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
56 inline SigningJob& WithJobId(const char* value) { SetJobId(value); return *this;}
58
60
64 inline const Source& GetSource() const{ return m_source; }
65 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
66 inline void SetSource(const Source& value) { m_sourceHasBeenSet = true; m_source = value; }
67 inline void SetSource(Source&& value) { m_sourceHasBeenSet = true; m_source = std::move(value); }
68 inline SigningJob& WithSource(const Source& value) { SetSource(value); return *this;}
69 inline SigningJob& WithSource(Source&& value) { SetSource(std::move(value)); return *this;}
71
73
77 inline const SignedObject& GetSignedObject() const{ return m_signedObject; }
78 inline bool SignedObjectHasBeenSet() const { return m_signedObjectHasBeenSet; }
79 inline void SetSignedObject(const SignedObject& value) { m_signedObjectHasBeenSet = true; m_signedObject = value; }
80 inline void SetSignedObject(SignedObject&& value) { m_signedObjectHasBeenSet = true; m_signedObject = std::move(value); }
81 inline SigningJob& WithSignedObject(const SignedObject& value) { SetSignedObject(value); return *this;}
82 inline SigningJob& WithSignedObject(SignedObject&& value) { SetSignedObject(std::move(value)); return *this;}
84
86
90 inline const SigningMaterial& GetSigningMaterial() const{ return m_signingMaterial; }
91 inline bool SigningMaterialHasBeenSet() const { return m_signingMaterialHasBeenSet; }
92 inline void SetSigningMaterial(const SigningMaterial& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = value; }
93 inline void SetSigningMaterial(SigningMaterial&& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = std::move(value); }
94 inline SigningJob& WithSigningMaterial(const SigningMaterial& value) { SetSigningMaterial(value); return *this;}
95 inline SigningJob& WithSigningMaterial(SigningMaterial&& value) { SetSigningMaterial(std::move(value)); return *this;}
97
99
102 inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; }
103 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
104 inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; }
105 inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); }
106 inline SigningJob& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;}
107 inline SigningJob& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;}
109
111
114 inline const SigningStatus& GetStatus() const{ return m_status; }
115 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
116 inline void SetStatus(const SigningStatus& value) { m_statusHasBeenSet = true; m_status = value; }
117 inline void SetStatus(SigningStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
118 inline SigningJob& WithStatus(const SigningStatus& value) { SetStatus(value); return *this;}
119 inline SigningJob& WithStatus(SigningStatus&& value) { SetStatus(std::move(value)); return *this;}
121
123
126 inline bool GetIsRevoked() const{ return m_isRevoked; }
127 inline bool IsRevokedHasBeenSet() const { return m_isRevokedHasBeenSet; }
128 inline void SetIsRevoked(bool value) { m_isRevokedHasBeenSet = true; m_isRevoked = value; }
129 inline SigningJob& WithIsRevoked(bool value) { SetIsRevoked(value); return *this;}
131
133
136 inline const Aws::String& GetProfileName() const{ return m_profileName; }
137 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
138 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
139 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
140 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
141 inline SigningJob& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
142 inline SigningJob& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
143 inline SigningJob& WithProfileName(const char* value) { SetProfileName(value); return *this;}
145
147
150 inline const Aws::String& GetProfileVersion() const{ return m_profileVersion; }
151 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
152 inline void SetProfileVersion(const Aws::String& value) { m_profileVersionHasBeenSet = true; m_profileVersion = value; }
153 inline void SetProfileVersion(Aws::String&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::move(value); }
154 inline void SetProfileVersion(const char* value) { m_profileVersionHasBeenSet = true; m_profileVersion.assign(value); }
155 inline SigningJob& WithProfileVersion(const Aws::String& value) { SetProfileVersion(value); return *this;}
156 inline SigningJob& WithProfileVersion(Aws::String&& value) { SetProfileVersion(std::move(value)); return *this;}
157 inline SigningJob& WithProfileVersion(const char* value) { SetProfileVersion(value); return *this;}
159
161
164 inline const Aws::String& GetPlatformId() const{ return m_platformId; }
165 inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
166 inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; }
167 inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); }
168 inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); }
169 inline SigningJob& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;}
170 inline SigningJob& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;}
171 inline SigningJob& WithPlatformId(const char* value) { SetPlatformId(value); return *this;}
173
175
178 inline const Aws::String& GetPlatformDisplayName() const{ return m_platformDisplayName; }
179 inline bool PlatformDisplayNameHasBeenSet() const { return m_platformDisplayNameHasBeenSet; }
180 inline void SetPlatformDisplayName(const Aws::String& value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName = value; }
181 inline void SetPlatformDisplayName(Aws::String&& value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName = std::move(value); }
182 inline void SetPlatformDisplayName(const char* value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName.assign(value); }
183 inline SigningJob& WithPlatformDisplayName(const Aws::String& value) { SetPlatformDisplayName(value); return *this;}
184 inline SigningJob& WithPlatformDisplayName(Aws::String&& value) { SetPlatformDisplayName(std::move(value)); return *this;}
185 inline SigningJob& WithPlatformDisplayName(const char* value) { SetPlatformDisplayName(value); return *this;}
187
189
192 inline const Aws::Utils::DateTime& GetSignatureExpiresAt() const{ return m_signatureExpiresAt; }
193 inline bool SignatureExpiresAtHasBeenSet() const { return m_signatureExpiresAtHasBeenSet; }
194 inline void SetSignatureExpiresAt(const Aws::Utils::DateTime& value) { m_signatureExpiresAtHasBeenSet = true; m_signatureExpiresAt = value; }
195 inline void SetSignatureExpiresAt(Aws::Utils::DateTime&& value) { m_signatureExpiresAtHasBeenSet = true; m_signatureExpiresAt = std::move(value); }
197 inline SigningJob& WithSignatureExpiresAt(Aws::Utils::DateTime&& value) { SetSignatureExpiresAt(std::move(value)); return *this;}
199
201
204 inline const Aws::String& GetJobOwner() const{ return m_jobOwner; }
205 inline bool JobOwnerHasBeenSet() const { return m_jobOwnerHasBeenSet; }
206 inline void SetJobOwner(const Aws::String& value) { m_jobOwnerHasBeenSet = true; m_jobOwner = value; }
207 inline void SetJobOwner(Aws::String&& value) { m_jobOwnerHasBeenSet = true; m_jobOwner = std::move(value); }
208 inline void SetJobOwner(const char* value) { m_jobOwnerHasBeenSet = true; m_jobOwner.assign(value); }
209 inline SigningJob& WithJobOwner(const Aws::String& value) { SetJobOwner(value); return *this;}
210 inline SigningJob& WithJobOwner(Aws::String&& value) { SetJobOwner(std::move(value)); return *this;}
211 inline SigningJob& WithJobOwner(const char* value) { SetJobOwner(value); return *this;}
213
215
218 inline const Aws::String& GetJobInvoker() const{ return m_jobInvoker; }
219 inline bool JobInvokerHasBeenSet() const { return m_jobInvokerHasBeenSet; }
220 inline void SetJobInvoker(const Aws::String& value) { m_jobInvokerHasBeenSet = true; m_jobInvoker = value; }
221 inline void SetJobInvoker(Aws::String&& value) { m_jobInvokerHasBeenSet = true; m_jobInvoker = std::move(value); }
222 inline void SetJobInvoker(const char* value) { m_jobInvokerHasBeenSet = true; m_jobInvoker.assign(value); }
223 inline SigningJob& WithJobInvoker(const Aws::String& value) { SetJobInvoker(value); return *this;}
224 inline SigningJob& WithJobInvoker(Aws::String&& value) { SetJobInvoker(std::move(value)); return *this;}
225 inline SigningJob& WithJobInvoker(const char* value) { SetJobInvoker(value); return *this;}
227 private:
228
229 Aws::String m_jobId;
230 bool m_jobIdHasBeenSet = false;
231
232 Source m_source;
233 bool m_sourceHasBeenSet = false;
234
235 SignedObject m_signedObject;
236 bool m_signedObjectHasBeenSet = false;
237
238 SigningMaterial m_signingMaterial;
239 bool m_signingMaterialHasBeenSet = false;
240
241 Aws::Utils::DateTime m_createdAt;
242 bool m_createdAtHasBeenSet = false;
243
244 SigningStatus m_status;
245 bool m_statusHasBeenSet = false;
246
247 bool m_isRevoked;
248 bool m_isRevokedHasBeenSet = false;
249
250 Aws::String m_profileName;
251 bool m_profileNameHasBeenSet = false;
252
253 Aws::String m_profileVersion;
254 bool m_profileVersionHasBeenSet = false;
255
256 Aws::String m_platformId;
257 bool m_platformIdHasBeenSet = false;
258
259 Aws::String m_platformDisplayName;
260 bool m_platformDisplayNameHasBeenSet = false;
261
262 Aws::Utils::DateTime m_signatureExpiresAt;
263 bool m_signatureExpiresAtHasBeenSet = false;
264
265 Aws::String m_jobOwner;
266 bool m_jobOwnerHasBeenSet = false;
267
268 Aws::String m_jobInvoker;
269 bool m_jobInvokerHasBeenSet = false;
270 };
271
272} // namespace Model
273} // namespace signer
274} // namespace Aws
void SetJobInvoker(const char *value)
Definition SigningJob.h:222
void SetJobOwner(const char *value)
Definition SigningJob.h:208
void SetProfileVersion(const char *value)
Definition SigningJob.h:154
const Aws::String & GetJobOwner() const
Definition SigningJob.h:204
void SetSigningMaterial(SigningMaterial &&value)
Definition SigningJob.h:93
const SigningMaterial & GetSigningMaterial() const
Definition SigningJob.h:90
const Aws::String & GetProfileName() const
Definition SigningJob.h:136
void SetStatus(const SigningStatus &value)
Definition SigningJob.h:116
void SetPlatformId(Aws::String &&value)
Definition SigningJob.h:167
SigningJob & WithProfileVersion(const char *value)
Definition SigningJob.h:157
SigningJob & WithJobOwner(Aws::String &&value)
Definition SigningJob.h:210
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
SigningJob & WithSignedObject(const SignedObject &value)
Definition SigningJob.h:81
const Aws::String & GetPlatformId() const
Definition SigningJob.h:164
void SetJobInvoker(Aws::String &&value)
Definition SigningJob.h:221
void SetCreatedAt(Aws::Utils::DateTime &&value)
Definition SigningJob.h:105
const Aws::String & GetJobId() const
Definition SigningJob.h:49
const Aws::Utils::DateTime & GetCreatedAt() const
Definition SigningJob.h:102
const Aws::String & GetProfileVersion() const
Definition SigningJob.h:150
SigningJob & WithSigningMaterial(SigningMaterial &&value)
Definition SigningJob.h:95
void SetJobOwner(const Aws::String &value)
Definition SigningJob.h:206
SigningJob & WithIsRevoked(bool value)
Definition SigningJob.h:129
void SetJobId(Aws::String &&value)
Definition SigningJob.h:52
void SetJobInvoker(const Aws::String &value)
Definition SigningJob.h:220
SigningJob & WithSigningMaterial(const SigningMaterial &value)
Definition SigningJob.h:94
void SetPlatformId(const Aws::String &value)
Definition SigningJob.h:166
const Source & GetSource() const
Definition SigningJob.h:64
void SetProfileVersion(Aws::String &&value)
Definition SigningJob.h:153
void SetSignatureExpiresAt(const Aws::Utils::DateTime &value)
Definition SigningJob.h:194
AWS_SIGNER_API SigningJob & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPlatformDisplayName() const
Definition SigningJob.h:178
SigningJob & WithProfileName(Aws::String &&value)
Definition SigningJob.h:142
const Aws::String & GetJobInvoker() const
Definition SigningJob.h:218
SigningJob & WithSignedObject(SignedObject &&value)
Definition SigningJob.h:82
void SetStatus(SigningStatus &&value)
Definition SigningJob.h:117
void SetSigningMaterial(const SigningMaterial &value)
Definition SigningJob.h:92
SigningJob & WithJobInvoker(const char *value)
Definition SigningJob.h:225
void SetIsRevoked(bool value)
Definition SigningJob.h:128
void SetProfileName(Aws::String &&value)
Definition SigningJob.h:139
SigningJob & WithStatus(SigningStatus &&value)
Definition SigningJob.h:119
SigningJob & WithJobOwner(const Aws::String &value)
Definition SigningJob.h:209
SigningJob & WithPlatformDisplayName(const Aws::String &value)
Definition SigningJob.h:183
void SetPlatformDisplayName(Aws::String &&value)
Definition SigningJob.h:181
void SetJobId(const char *value)
Definition SigningJob.h:53
SigningJob & WithProfileVersion(Aws::String &&value)
Definition SigningJob.h:156
SigningJob & WithPlatformId(const Aws::String &value)
Definition SigningJob.h:169
SigningJob & WithSource(Source &&value)
Definition SigningJob.h:69
void SetPlatformDisplayName(const Aws::String &value)
Definition SigningJob.h:180
SigningJob & WithSignatureExpiresAt(Aws::Utils::DateTime &&value)
Definition SigningJob.h:197
void SetSource(const Source &value)
Definition SigningJob.h:66
SigningJob & WithJobInvoker(Aws::String &&value)
Definition SigningJob.h:224
SigningJob & WithJobId(const Aws::String &value)
Definition SigningJob.h:54
bool SigningMaterialHasBeenSet() const
Definition SigningJob.h:91
SigningJob & WithSignatureExpiresAt(const Aws::Utils::DateTime &value)
Definition SigningJob.h:196
bool PlatformDisplayNameHasBeenSet() const
Definition SigningJob.h:179
void SetSignedObject(SignedObject &&value)
Definition SigningJob.h:80
bool SignatureExpiresAtHasBeenSet() const
Definition SigningJob.h:193
SigningJob & WithCreatedAt(const Aws::Utils::DateTime &value)
Definition SigningJob.h:106
void SetSignedObject(const SignedObject &value)
Definition SigningJob.h:79
const SignedObject & GetSignedObject() const
Definition SigningJob.h:77
SigningJob & WithPlatformId(Aws::String &&value)
Definition SigningJob.h:170
void SetJobId(const Aws::String &value)
Definition SigningJob.h:51
SigningJob & WithJobInvoker(const Aws::String &value)
Definition SigningJob.h:223
const Aws::Utils::DateTime & GetSignatureExpiresAt() const
Definition SigningJob.h:192
void SetPlatformId(const char *value)
Definition SigningJob.h:168
const SigningStatus & GetStatus() const
Definition SigningJob.h:114
void SetSignatureExpiresAt(Aws::Utils::DateTime &&value)
Definition SigningJob.h:195
SigningJob & WithProfileName(const Aws::String &value)
Definition SigningJob.h:141
SigningJob & WithJobOwner(const char *value)
Definition SigningJob.h:211
AWS_SIGNER_API SigningJob(Aws::Utils::Json::JsonView jsonValue)
SigningJob & WithJobId(const char *value)
Definition SigningJob.h:56
bool SignedObjectHasBeenSet() const
Definition SigningJob.h:78
void SetSource(Source &&value)
Definition SigningJob.h:67
SigningJob & WithProfileName(const char *value)
Definition SigningJob.h:143
SigningJob & WithPlatformDisplayName(const char *value)
Definition SigningJob.h:185
SigningJob & WithJobId(Aws::String &&value)
Definition SigningJob.h:55
void SetPlatformDisplayName(const char *value)
Definition SigningJob.h:182
SigningJob & WithSource(const Source &value)
Definition SigningJob.h:68
void SetProfileName(const char *value)
Definition SigningJob.h:140
bool ProfileVersionHasBeenSet() const
Definition SigningJob.h:151
SigningJob & WithProfileVersion(const Aws::String &value)
Definition SigningJob.h:155
void SetCreatedAt(const Aws::Utils::DateTime &value)
Definition SigningJob.h:104
void SetJobOwner(Aws::String &&value)
Definition SigningJob.h:207
SigningJob & WithPlatformDisplayName(Aws::String &&value)
Definition SigningJob.h:184
SigningJob & WithPlatformId(const char *value)
Definition SigningJob.h:171
SigningJob & WithCreatedAt(Aws::Utils::DateTime &&value)
Definition SigningJob.h:107
void SetProfileName(const Aws::String &value)
Definition SigningJob.h:138
void SetProfileVersion(const Aws::String &value)
Definition SigningJob.h:152
SigningJob & WithStatus(const SigningStatus &value)
Definition SigningJob.h:118
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue