AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
GetSigningProfileResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/signer/Signer_EXPORTS.h>
10#include <aws/signer/model/SignatureValidityPeriod.h>
11#include <aws/signer/model/SigningMaterial.h>
12#include <aws/signer/model/SigningPlatformOverrides.h>
13#include <aws/signer/model/SigningProfileRevocationRecord.h>
14#include <aws/signer/model/SigningProfileStatus.h>
15
16#include <utility>
17
18namespace Aws {
19template <typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils {
23namespace Json {
24class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace signer {
28namespace Model {
30 public:
31 AWS_SIGNER_API GetSigningProfileResult() = default;
34
36
39 inline const Aws::String& GetProfileName() const { return m_profileName; }
40 template <typename ProfileNameT = Aws::String>
41 void SetProfileName(ProfileNameT&& value) {
42 m_profileNameHasBeenSet = true;
43 m_profileName = std::forward<ProfileNameT>(value);
44 }
45 template <typename ProfileNameT = Aws::String>
47 SetProfileName(std::forward<ProfileNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
57 template <typename ProfileVersionT = Aws::String>
58 void SetProfileVersion(ProfileVersionT&& value) {
59 m_profileVersionHasBeenSet = true;
60 m_profileVersion = std::forward<ProfileVersionT>(value);
61 }
62 template <typename ProfileVersionT = Aws::String>
63 GetSigningProfileResult& WithProfileVersion(ProfileVersionT&& value) {
64 SetProfileVersion(std::forward<ProfileVersionT>(value));
65 return *this;
66 }
68
70
73 inline const Aws::String& GetProfileVersionArn() const { return m_profileVersionArn; }
74 template <typename ProfileVersionArnT = Aws::String>
75 void SetProfileVersionArn(ProfileVersionArnT&& value) {
76 m_profileVersionArnHasBeenSet = true;
77 m_profileVersionArn = std::forward<ProfileVersionArnT>(value);
78 }
79 template <typename ProfileVersionArnT = Aws::String>
80 GetSigningProfileResult& WithProfileVersionArn(ProfileVersionArnT&& value) {
81 SetProfileVersionArn(std::forward<ProfileVersionArnT>(value));
82 return *this;
83 }
85
87
88 inline const SigningProfileRevocationRecord& GetRevocationRecord() const { return m_revocationRecord; }
89 template <typename RevocationRecordT = SigningProfileRevocationRecord>
90 void SetRevocationRecord(RevocationRecordT&& value) {
91 m_revocationRecordHasBeenSet = true;
92 m_revocationRecord = std::forward<RevocationRecordT>(value);
93 }
94 template <typename RevocationRecordT = SigningProfileRevocationRecord>
95 GetSigningProfileResult& WithRevocationRecord(RevocationRecordT&& value) {
96 SetRevocationRecord(std::forward<RevocationRecordT>(value));
97 return *this;
98 }
100
102
106 inline const SigningMaterial& GetSigningMaterial() const { return m_signingMaterial; }
107 template <typename SigningMaterialT = SigningMaterial>
108 void SetSigningMaterial(SigningMaterialT&& value) {
109 m_signingMaterialHasBeenSet = true;
110 m_signingMaterial = std::forward<SigningMaterialT>(value);
111 }
112 template <typename SigningMaterialT = SigningMaterial>
113 GetSigningProfileResult& WithSigningMaterial(SigningMaterialT&& value) {
114 SetSigningMaterial(std::forward<SigningMaterialT>(value));
115 return *this;
116 }
118
120
123 inline const Aws::String& GetPlatformId() const { return m_platformId; }
124 template <typename PlatformIdT = Aws::String>
125 void SetPlatformId(PlatformIdT&& value) {
126 m_platformIdHasBeenSet = true;
127 m_platformId = std::forward<PlatformIdT>(value);
128 }
129 template <typename PlatformIdT = Aws::String>
131 SetPlatformId(std::forward<PlatformIdT>(value));
132 return *this;
133 }
135
137
141 inline const Aws::String& GetPlatformDisplayName() const { return m_platformDisplayName; }
142 template <typename PlatformDisplayNameT = Aws::String>
143 void SetPlatformDisplayName(PlatformDisplayNameT&& value) {
144 m_platformDisplayNameHasBeenSet = true;
145 m_platformDisplayName = std::forward<PlatformDisplayNameT>(value);
146 }
147 template <typename PlatformDisplayNameT = Aws::String>
148 GetSigningProfileResult& WithPlatformDisplayName(PlatformDisplayNameT&& value) {
149 SetPlatformDisplayName(std::forward<PlatformDisplayNameT>(value));
150 return *this;
151 }
153
155
156 inline const SignatureValidityPeriod& GetSignatureValidityPeriod() const { return m_signatureValidityPeriod; }
157 template <typename SignatureValidityPeriodT = SignatureValidityPeriod>
158 void SetSignatureValidityPeriod(SignatureValidityPeriodT&& value) {
159 m_signatureValidityPeriodHasBeenSet = true;
160 m_signatureValidityPeriod = std::forward<SignatureValidityPeriodT>(value);
161 }
162 template <typename SignatureValidityPeriodT = SignatureValidityPeriod>
163 GetSigningProfileResult& WithSignatureValidityPeriod(SignatureValidityPeriodT&& value) {
164 SetSignatureValidityPeriod(std::forward<SignatureValidityPeriodT>(value));
165 return *this;
166 }
168
170
174 inline const SigningPlatformOverrides& GetOverrides() const { return m_overrides; }
175 template <typename OverridesT = SigningPlatformOverrides>
176 void SetOverrides(OverridesT&& value) {
177 m_overridesHasBeenSet = true;
178 m_overrides = std::forward<OverridesT>(value);
179 }
180 template <typename OverridesT = SigningPlatformOverrides>
182 SetOverrides(std::forward<OverridesT>(value));
183 return *this;
184 }
186
188
192 inline const Aws::Map<Aws::String, Aws::String>& GetSigningParameters() const { return m_signingParameters; }
193 template <typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
194 void SetSigningParameters(SigningParametersT&& value) {
195 m_signingParametersHasBeenSet = true;
196 m_signingParameters = std::forward<SigningParametersT>(value);
197 }
198 template <typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
199 GetSigningProfileResult& WithSigningParameters(SigningParametersT&& value) {
200 SetSigningParameters(std::forward<SigningParametersT>(value));
201 return *this;
202 }
203 template <typename SigningParametersKeyT = Aws::String, typename SigningParametersValueT = Aws::String>
204 GetSigningProfileResult& AddSigningParameters(SigningParametersKeyT&& key, SigningParametersValueT&& value) {
205 m_signingParametersHasBeenSet = true;
206 m_signingParameters.emplace(std::forward<SigningParametersKeyT>(key), std::forward<SigningParametersValueT>(value));
207 return *this;
208 }
210
212
215 inline SigningProfileStatus GetStatus() const { return m_status; }
216 inline void SetStatus(SigningProfileStatus value) {
217 m_statusHasBeenSet = true;
218 m_status = value;
219 }
221 SetStatus(value);
222 return *this;
223 }
225
227
230 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
231 template <typename StatusReasonT = Aws::String>
232 void SetStatusReason(StatusReasonT&& value) {
233 m_statusReasonHasBeenSet = true;
234 m_statusReason = std::forward<StatusReasonT>(value);
235 }
236 template <typename StatusReasonT = Aws::String>
238 SetStatusReason(std::forward<StatusReasonT>(value));
239 return *this;
240 }
242
244
247 inline const Aws::String& GetArn() const { return m_arn; }
248 template <typename ArnT = Aws::String>
249 void SetArn(ArnT&& value) {
250 m_arnHasBeenSet = true;
251 m_arn = std::forward<ArnT>(value);
252 }
253 template <typename ArnT = Aws::String>
255 SetArn(std::forward<ArnT>(value));
256 return *this;
257 }
259
261
264 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
265 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
266 void SetTags(TagsT&& value) {
267 m_tagsHasBeenSet = true;
268 m_tags = std::forward<TagsT>(value);
269 }
270 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
272 SetTags(std::forward<TagsT>(value));
273 return *this;
274 }
275 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
276 GetSigningProfileResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
277 m_tagsHasBeenSet = true;
278 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
279 return *this;
280 }
282
284
285 inline const Aws::String& GetRequestId() const { return m_requestId; }
286 template <typename RequestIdT = Aws::String>
287 void SetRequestId(RequestIdT&& value) {
288 m_requestIdHasBeenSet = true;
289 m_requestId = std::forward<RequestIdT>(value);
290 }
291 template <typename RequestIdT = Aws::String>
293 SetRequestId(std::forward<RequestIdT>(value));
294 return *this;
295 }
297 private:
298 Aws::String m_profileName;
299
300 Aws::String m_profileVersion;
301
302 Aws::String m_profileVersionArn;
303
304 SigningProfileRevocationRecord m_revocationRecord;
305
306 SigningMaterial m_signingMaterial;
307
308 Aws::String m_platformId;
309
310 Aws::String m_platformDisplayName;
311
312 SignatureValidityPeriod m_signatureValidityPeriod;
313
314 SigningPlatformOverrides m_overrides;
315
316 Aws::Map<Aws::String, Aws::String> m_signingParameters;
317
319
320 Aws::String m_statusReason;
321
322 Aws::String m_arn;
323
325
326 Aws::String m_requestId;
327 bool m_profileNameHasBeenSet = false;
328 bool m_profileVersionHasBeenSet = false;
329 bool m_profileVersionArnHasBeenSet = false;
330 bool m_revocationRecordHasBeenSet = false;
331 bool m_signingMaterialHasBeenSet = false;
332 bool m_platformIdHasBeenSet = false;
333 bool m_platformDisplayNameHasBeenSet = false;
334 bool m_signatureValidityPeriodHasBeenSet = false;
335 bool m_overridesHasBeenSet = false;
336 bool m_signingParametersHasBeenSet = false;
337 bool m_statusHasBeenSet = false;
338 bool m_statusReasonHasBeenSet = false;
339 bool m_arnHasBeenSet = false;
340 bool m_tagsHasBeenSet = false;
341 bool m_requestIdHasBeenSet = false;
342};
343
344} // namespace Model
345} // namespace signer
346} // namespace Aws
GetSigningProfileResult & WithPlatformDisplayName(PlatformDisplayNameT &&value)
GetSigningProfileResult & WithProfileVersionArn(ProfileVersionArnT &&value)
GetSigningProfileResult & WithSigningParameters(SigningParametersT &&value)
GetSigningProfileResult & WithSigningMaterial(SigningMaterialT &&value)
GetSigningProfileResult & WithRequestId(RequestIdT &&value)
AWS_SIGNER_API GetSigningProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSigningProfileResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
GetSigningProfileResult & WithTags(TagsT &&value)
const SignatureValidityPeriod & GetSignatureValidityPeriod() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
GetSigningProfileResult & WithStatusReason(StatusReasonT &&value)
GetSigningProfileResult & WithRevocationRecord(RevocationRecordT &&value)
AWS_SIGNER_API GetSigningProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSigningProfileResult & WithProfileVersion(ProfileVersionT &&value)
void SetSignatureValidityPeriod(SignatureValidityPeriodT &&value)
void SetRevocationRecord(RevocationRecordT &&value)
GetSigningProfileResult & WithOverrides(OverridesT &&value)
AWS_SIGNER_API GetSigningProfileResult()=default
void SetSigningParameters(SigningParametersT &&value)
GetSigningProfileResult & WithStatus(SigningProfileStatus value)
GetSigningProfileResult & WithArn(ArnT &&value)
const SigningPlatformOverrides & GetOverrides() const
const SigningProfileRevocationRecord & GetRevocationRecord() const
void SetProfileVersionArn(ProfileVersionArnT &&value)
void SetPlatformDisplayName(PlatformDisplayNameT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSigningParameters() const
GetSigningProfileResult & WithSignatureValidityPeriod(SignatureValidityPeriodT &&value)
GetSigningProfileResult & WithPlatformId(PlatformIdT &&value)
GetSigningProfileResult & WithProfileName(ProfileNameT &&value)
GetSigningProfileResult & AddSigningParameters(SigningParametersKeyT &&key, SigningParametersValueT &&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