AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSigningProfileResult.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/SigningProfileRevocationRecord.h>
10#include <aws/signer/model/SigningMaterial.h>
11#include <aws/signer/model/SignatureValidityPeriod.h>
12#include <aws/signer/model/SigningPlatformOverrides.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/signer/model/SigningProfileStatus.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace signer
30{
31namespace Model
32{
34 {
35 public:
36 AWS_SIGNER_API GetSigningProfileResult();
39
40
42
45 inline const Aws::String& GetProfileName() const{ return m_profileName; }
46 inline void SetProfileName(const Aws::String& value) { m_profileName = value; }
47 inline void SetProfileName(Aws::String&& value) { m_profileName = std::move(value); }
48 inline void SetProfileName(const char* value) { m_profileName.assign(value); }
49 inline GetSigningProfileResult& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
50 inline GetSigningProfileResult& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
51 inline GetSigningProfileResult& WithProfileName(const char* value) { SetProfileName(value); return *this;}
53
55
58 inline const Aws::String& GetProfileVersion() const{ return m_profileVersion; }
59 inline void SetProfileVersion(const Aws::String& value) { m_profileVersion = value; }
60 inline void SetProfileVersion(Aws::String&& value) { m_profileVersion = std::move(value); }
61 inline void SetProfileVersion(const char* value) { m_profileVersion.assign(value); }
62 inline GetSigningProfileResult& WithProfileVersion(const Aws::String& value) { SetProfileVersion(value); return *this;}
63 inline GetSigningProfileResult& WithProfileVersion(Aws::String&& value) { SetProfileVersion(std::move(value)); return *this;}
64 inline GetSigningProfileResult& WithProfileVersion(const char* value) { SetProfileVersion(value); return *this;}
66
68
71 inline const Aws::String& GetProfileVersionArn() const{ return m_profileVersionArn; }
72 inline void SetProfileVersionArn(const Aws::String& value) { m_profileVersionArn = value; }
73 inline void SetProfileVersionArn(Aws::String&& value) { m_profileVersionArn = std::move(value); }
74 inline void SetProfileVersionArn(const char* value) { m_profileVersionArn.assign(value); }
76 inline GetSigningProfileResult& WithProfileVersionArn(Aws::String&& value) { SetProfileVersionArn(std::move(value)); return *this;}
77 inline GetSigningProfileResult& WithProfileVersionArn(const char* value) { SetProfileVersionArn(value); return *this;}
79
81
82 inline const SigningProfileRevocationRecord& GetRevocationRecord() const{ return m_revocationRecord; }
83 inline void SetRevocationRecord(const SigningProfileRevocationRecord& value) { m_revocationRecord = value; }
84 inline void SetRevocationRecord(SigningProfileRevocationRecord&& value) { m_revocationRecord = std::move(value); }
88
90
94 inline const SigningMaterial& GetSigningMaterial() const{ return m_signingMaterial; }
95 inline void SetSigningMaterial(const SigningMaterial& value) { m_signingMaterial = value; }
96 inline void SetSigningMaterial(SigningMaterial&& value) { m_signingMaterial = std::move(value); }
98 inline GetSigningProfileResult& WithSigningMaterial(SigningMaterial&& value) { SetSigningMaterial(std::move(value)); return *this;}
100
102
105 inline const Aws::String& GetPlatformId() const{ return m_platformId; }
106 inline void SetPlatformId(const Aws::String& value) { m_platformId = value; }
107 inline void SetPlatformId(Aws::String&& value) { m_platformId = std::move(value); }
108 inline void SetPlatformId(const char* value) { m_platformId.assign(value); }
109 inline GetSigningProfileResult& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;}
110 inline GetSigningProfileResult& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;}
111 inline GetSigningProfileResult& WithPlatformId(const char* value) { SetPlatformId(value); return *this;}
113
115
119 inline const Aws::String& GetPlatformDisplayName() const{ return m_platformDisplayName; }
120 inline void SetPlatformDisplayName(const Aws::String& value) { m_platformDisplayName = value; }
121 inline void SetPlatformDisplayName(Aws::String&& value) { m_platformDisplayName = std::move(value); }
122 inline void SetPlatformDisplayName(const char* value) { m_platformDisplayName.assign(value); }
124 inline GetSigningProfileResult& WithPlatformDisplayName(Aws::String&& value) { SetPlatformDisplayName(std::move(value)); return *this;}
125 inline GetSigningProfileResult& WithPlatformDisplayName(const char* value) { SetPlatformDisplayName(value); return *this;}
127
129
130 inline const SignatureValidityPeriod& GetSignatureValidityPeriod() const{ return m_signatureValidityPeriod; }
131 inline void SetSignatureValidityPeriod(const SignatureValidityPeriod& value) { m_signatureValidityPeriod = value; }
132 inline void SetSignatureValidityPeriod(SignatureValidityPeriod&& value) { m_signatureValidityPeriod = std::move(value); }
136
138
142 inline const SigningPlatformOverrides& GetOverrides() const{ return m_overrides; }
143 inline void SetOverrides(const SigningPlatformOverrides& value) { m_overrides = value; }
144 inline void SetOverrides(SigningPlatformOverrides&& value) { m_overrides = std::move(value); }
145 inline GetSigningProfileResult& WithOverrides(const SigningPlatformOverrides& value) { SetOverrides(value); return *this;}
146 inline GetSigningProfileResult& WithOverrides(SigningPlatformOverrides&& value) { SetOverrides(std::move(value)); return *this;}
148
150
154 inline const Aws::Map<Aws::String, Aws::String>& GetSigningParameters() const{ return m_signingParameters; }
155 inline void SetSigningParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_signingParameters = value; }
156 inline void SetSigningParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_signingParameters = std::move(value); }
159 inline GetSigningProfileResult& AddSigningParameters(const Aws::String& key, const Aws::String& value) { m_signingParameters.emplace(key, value); return *this; }
160 inline GetSigningProfileResult& AddSigningParameters(Aws::String&& key, const Aws::String& value) { m_signingParameters.emplace(std::move(key), value); return *this; }
161 inline GetSigningProfileResult& AddSigningParameters(const Aws::String& key, Aws::String&& value) { m_signingParameters.emplace(key, std::move(value)); return *this; }
162 inline GetSigningProfileResult& AddSigningParameters(Aws::String&& key, Aws::String&& value) { m_signingParameters.emplace(std::move(key), std::move(value)); return *this; }
163 inline GetSigningProfileResult& AddSigningParameters(const char* key, Aws::String&& value) { m_signingParameters.emplace(key, std::move(value)); return *this; }
164 inline GetSigningProfileResult& AddSigningParameters(Aws::String&& key, const char* value) { m_signingParameters.emplace(std::move(key), value); return *this; }
165 inline GetSigningProfileResult& AddSigningParameters(const char* key, const char* value) { m_signingParameters.emplace(key, value); return *this; }
167
169
172 inline const SigningProfileStatus& GetStatus() const{ return m_status; }
173 inline void SetStatus(const SigningProfileStatus& value) { m_status = value; }
174 inline void SetStatus(SigningProfileStatus&& value) { m_status = std::move(value); }
175 inline GetSigningProfileResult& WithStatus(const SigningProfileStatus& value) { SetStatus(value); return *this;}
176 inline GetSigningProfileResult& WithStatus(SigningProfileStatus&& value) { SetStatus(std::move(value)); return *this;}
178
180
183 inline const Aws::String& GetStatusReason() const{ return m_statusReason; }
184 inline void SetStatusReason(const Aws::String& value) { m_statusReason = value; }
185 inline void SetStatusReason(Aws::String&& value) { m_statusReason = std::move(value); }
186 inline void SetStatusReason(const char* value) { m_statusReason.assign(value); }
187 inline GetSigningProfileResult& WithStatusReason(const Aws::String& value) { SetStatusReason(value); return *this;}
188 inline GetSigningProfileResult& WithStatusReason(Aws::String&& value) { SetStatusReason(std::move(value)); return *this;}
189 inline GetSigningProfileResult& WithStatusReason(const char* value) { SetStatusReason(value); return *this;}
191
193
196 inline const Aws::String& GetArn() const{ return m_arn; }
197 inline void SetArn(const Aws::String& value) { m_arn = value; }
198 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
199 inline void SetArn(const char* value) { m_arn.assign(value); }
200 inline GetSigningProfileResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
201 inline GetSigningProfileResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
202 inline GetSigningProfileResult& WithArn(const char* value) { SetArn(value); return *this;}
204
206
209 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
210 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tags = value; }
211 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tags = std::move(value); }
212 inline GetSigningProfileResult& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
213 inline GetSigningProfileResult& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
214 inline GetSigningProfileResult& AddTags(const Aws::String& key, const Aws::String& value) { m_tags.emplace(key, value); return *this; }
215 inline GetSigningProfileResult& AddTags(Aws::String&& key, const Aws::String& value) { m_tags.emplace(std::move(key), value); return *this; }
216 inline GetSigningProfileResult& AddTags(const Aws::String& key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
217 inline GetSigningProfileResult& AddTags(Aws::String&& key, Aws::String&& value) { m_tags.emplace(std::move(key), std::move(value)); return *this; }
218 inline GetSigningProfileResult& AddTags(const char* key, Aws::String&& value) { m_tags.emplace(key, std::move(value)); return *this; }
219 inline GetSigningProfileResult& AddTags(Aws::String&& key, const char* value) { m_tags.emplace(std::move(key), value); return *this; }
220 inline GetSigningProfileResult& AddTags(const char* key, const char* value) { m_tags.emplace(key, value); return *this; }
222
224
225 inline const Aws::String& GetRequestId() const{ return m_requestId; }
226 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
227 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
228 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
229 inline GetSigningProfileResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
230 inline GetSigningProfileResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
231 inline GetSigningProfileResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
233 private:
234
235 Aws::String m_profileName;
236
237 Aws::String m_profileVersion;
238
239 Aws::String m_profileVersionArn;
240
241 SigningProfileRevocationRecord m_revocationRecord;
242
243 SigningMaterial m_signingMaterial;
244
245 Aws::String m_platformId;
246
247 Aws::String m_platformDisplayName;
248
249 SignatureValidityPeriod m_signatureValidityPeriod;
250
251 SigningPlatformOverrides m_overrides;
252
253 Aws::Map<Aws::String, Aws::String> m_signingParameters;
254
255 SigningProfileStatus m_status;
256
257 Aws::String m_statusReason;
258
259 Aws::String m_arn;
260
262
263 Aws::String m_requestId;
264 };
265
266} // namespace Model
267} // namespace signer
268} // namespace Aws
void SetSigningParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetSigningProfileResult & WithSigningParameters(Aws::Map< Aws::String, Aws::String > &&value)
GetSigningProfileResult & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSignatureValidityPeriod(const SignatureValidityPeriod &value)
GetSigningProfileResult & WithSigningMaterial(const SigningMaterial &value)
void SetSigningParameters(Aws::Map< Aws::String, Aws::String > &&value)
GetSigningProfileResult & AddTags(const Aws::String &key, const Aws::String &value)
GetSigningProfileResult & AddSigningParameters(const Aws::String &key, Aws::String &&value)
void SetRevocationRecord(const SigningProfileRevocationRecord &value)
GetSigningProfileResult & AddTags(const char *key, const char *value)
GetSigningProfileResult & WithProfileVersion(Aws::String &&value)
GetSigningProfileResult & AddSigningParameters(const Aws::String &key, const Aws::String &value)
GetSigningProfileResult & WithStatus(const SigningProfileStatus &value)
GetSigningProfileResult & AddSigningParameters(Aws::String &&key, const Aws::String &value)
GetSigningProfileResult & WithProfileName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
GetSigningProfileResult & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetOverrides(SigningPlatformOverrides &&value)
AWS_SIGNER_API GetSigningProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRevocationRecord(SigningProfileRevocationRecord &&value)
GetSigningProfileResult & WithOverrides(const SigningPlatformOverrides &value)
void SetOverrides(const SigningPlatformOverrides &value)
GetSigningProfileResult & WithStatusReason(const Aws::String &value)
const SigningMaterial & GetSigningMaterial() const
GetSigningProfileResult & AddSigningParameters(Aws::String &&key, Aws::String &&value)
const SignatureValidityPeriod & GetSignatureValidityPeriod() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetSigningProfileResult & WithSignatureValidityPeriod(SignatureValidityPeriod &&value)
GetSigningProfileResult & WithProfileName(Aws::String &&value)
void SetStatus(const SigningProfileStatus &value)
void SetPlatformDisplayName(const Aws::String &value)
GetSigningProfileResult & WithProfileVersion(const Aws::String &value)
GetSigningProfileResult & AddSigningParameters(const char *key, Aws::String &&value)
GetSigningProfileResult & WithStatusReason(const char *value)
AWS_SIGNER_API GetSigningProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSigningProfileResult & WithPlatformId(Aws::String &&value)
GetSigningProfileResult & WithProfileVersion(const char *value)
GetSigningProfileResult & WithProfileVersionArn(Aws::String &&value)
GetSigningProfileResult & AddTags(Aws::String &&key, Aws::String &&value)
GetSigningProfileResult & WithPlatformDisplayName(Aws::String &&value)
GetSigningProfileResult & WithRequestId(const Aws::String &value)
GetSigningProfileResult & WithRevocationRecord(const SigningProfileRevocationRecord &value)
GetSigningProfileResult & WithStatusReason(Aws::String &&value)
GetSigningProfileResult & WithArn(const Aws::String &value)
GetSigningProfileResult & WithProfileVersionArn(const Aws::String &value)
GetSigningProfileResult & WithRevocationRecord(SigningProfileRevocationRecord &&value)
GetSigningProfileResult & WithPlatformDisplayName(const Aws::String &value)
const SigningPlatformOverrides & GetOverrides() const
GetSigningProfileResult & WithPlatformId(const Aws::String &value)
const SigningProfileRevocationRecord & GetRevocationRecord() const
GetSigningProfileResult & WithSigningMaterial(SigningMaterial &&value)
GetSigningProfileResult & WithProfileVersionArn(const char *value)
GetSigningProfileResult & WithSigningParameters(const Aws::Map< Aws::String, Aws::String > &value)
GetSigningProfileResult & WithRequestId(Aws::String &&value)
GetSigningProfileResult & WithPlatformDisplayName(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetSigningParameters() const
GetSigningProfileResult & AddTags(Aws::String &&key, const Aws::String &value)
void SetSignatureValidityPeriod(SignatureValidityPeriod &&value)
void SetSigningMaterial(const SigningMaterial &value)
GetSigningProfileResult & WithPlatformId(const char *value)
GetSigningProfileResult & AddTags(Aws::String &&key, const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
GetSigningProfileResult & AddSigningParameters(const char *key, const char *value)
GetSigningProfileResult & WithStatus(SigningProfileStatus &&value)
GetSigningProfileResult & WithProfileName(const Aws::String &value)
GetSigningProfileResult & WithSignatureValidityPeriod(const SignatureValidityPeriod &value)
void SetProfileVersionArn(const Aws::String &value)
GetSigningProfileResult & AddTags(const char *key, Aws::String &&value)
GetSigningProfileResult & WithArn(const char *value)
GetSigningProfileResult & AddTags(const Aws::String &key, Aws::String &&value)
GetSigningProfileResult & WithArn(Aws::String &&value)
GetSigningProfileResult & WithOverrides(SigningPlatformOverrides &&value)
GetSigningProfileResult & AddSigningParameters(Aws::String &&key, const char *value)
GetSigningProfileResult & WithRequestId(const char *value)
const SigningProfileStatus & GetStatus() const
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