AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
45 inline const Aws::String& GetProfileName() const { return m_profileName; }
46 template<typename ProfileNameT = Aws::String>
47 void SetProfileName(ProfileNameT&& value) { m_profileNameHasBeenSet = true; m_profileName = std::forward<ProfileNameT>(value); }
48 template<typename ProfileNameT = Aws::String>
49 GetSigningProfileResult& WithProfileName(ProfileNameT&& value) { SetProfileName(std::forward<ProfileNameT>(value)); return *this;}
51
53
56 inline const Aws::String& GetProfileVersion() const { return m_profileVersion; }
57 template<typename ProfileVersionT = Aws::String>
58 void SetProfileVersion(ProfileVersionT&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::forward<ProfileVersionT>(value); }
59 template<typename ProfileVersionT = Aws::String>
60 GetSigningProfileResult& WithProfileVersion(ProfileVersionT&& value) { SetProfileVersion(std::forward<ProfileVersionT>(value)); return *this;}
62
64
67 inline const Aws::String& GetProfileVersionArn() const { return m_profileVersionArn; }
68 template<typename ProfileVersionArnT = Aws::String>
69 void SetProfileVersionArn(ProfileVersionArnT&& value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn = std::forward<ProfileVersionArnT>(value); }
70 template<typename ProfileVersionArnT = Aws::String>
71 GetSigningProfileResult& WithProfileVersionArn(ProfileVersionArnT&& value) { SetProfileVersionArn(std::forward<ProfileVersionArnT>(value)); return *this;}
73
75
76 inline const SigningProfileRevocationRecord& GetRevocationRecord() const { return m_revocationRecord; }
77 template<typename RevocationRecordT = SigningProfileRevocationRecord>
78 void SetRevocationRecord(RevocationRecordT&& value) { m_revocationRecordHasBeenSet = true; m_revocationRecord = std::forward<RevocationRecordT>(value); }
79 template<typename RevocationRecordT = SigningProfileRevocationRecord>
80 GetSigningProfileResult& WithRevocationRecord(RevocationRecordT&& value) { SetRevocationRecord(std::forward<RevocationRecordT>(value)); return *this;}
82
84
88 inline const SigningMaterial& GetSigningMaterial() const { return m_signingMaterial; }
89 template<typename SigningMaterialT = SigningMaterial>
90 void SetSigningMaterial(SigningMaterialT&& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = std::forward<SigningMaterialT>(value); }
91 template<typename SigningMaterialT = SigningMaterial>
92 GetSigningProfileResult& WithSigningMaterial(SigningMaterialT&& value) { SetSigningMaterial(std::forward<SigningMaterialT>(value)); return *this;}
94
96
99 inline const Aws::String& GetPlatformId() const { return m_platformId; }
100 template<typename PlatformIdT = Aws::String>
101 void SetPlatformId(PlatformIdT&& value) { m_platformIdHasBeenSet = true; m_platformId = std::forward<PlatformIdT>(value); }
102 template<typename PlatformIdT = Aws::String>
103 GetSigningProfileResult& WithPlatformId(PlatformIdT&& value) { SetPlatformId(std::forward<PlatformIdT>(value)); return *this;}
105
107
111 inline const Aws::String& GetPlatformDisplayName() const { return m_platformDisplayName; }
112 template<typename PlatformDisplayNameT = Aws::String>
113 void SetPlatformDisplayName(PlatformDisplayNameT&& value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName = std::forward<PlatformDisplayNameT>(value); }
114 template<typename PlatformDisplayNameT = Aws::String>
115 GetSigningProfileResult& WithPlatformDisplayName(PlatformDisplayNameT&& value) { SetPlatformDisplayName(std::forward<PlatformDisplayNameT>(value)); return *this;}
117
119
120 inline const SignatureValidityPeriod& GetSignatureValidityPeriod() const { return m_signatureValidityPeriod; }
121 template<typename SignatureValidityPeriodT = SignatureValidityPeriod>
122 void SetSignatureValidityPeriod(SignatureValidityPeriodT&& value) { m_signatureValidityPeriodHasBeenSet = true; m_signatureValidityPeriod = std::forward<SignatureValidityPeriodT>(value); }
123 template<typename SignatureValidityPeriodT = SignatureValidityPeriod>
124 GetSigningProfileResult& WithSignatureValidityPeriod(SignatureValidityPeriodT&& value) { SetSignatureValidityPeriod(std::forward<SignatureValidityPeriodT>(value)); return *this;}
126
128
132 inline const SigningPlatformOverrides& GetOverrides() const { return m_overrides; }
133 template<typename OverridesT = SigningPlatformOverrides>
134 void SetOverrides(OverridesT&& value) { m_overridesHasBeenSet = true; m_overrides = std::forward<OverridesT>(value); }
135 template<typename OverridesT = SigningPlatformOverrides>
136 GetSigningProfileResult& WithOverrides(OverridesT&& value) { SetOverrides(std::forward<OverridesT>(value)); return *this;}
138
140
144 inline const Aws::Map<Aws::String, Aws::String>& GetSigningParameters() const { return m_signingParameters; }
145 template<typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
146 void SetSigningParameters(SigningParametersT&& value) { m_signingParametersHasBeenSet = true; m_signingParameters = std::forward<SigningParametersT>(value); }
147 template<typename SigningParametersT = Aws::Map<Aws::String, Aws::String>>
148 GetSigningProfileResult& WithSigningParameters(SigningParametersT&& value) { SetSigningParameters(std::forward<SigningParametersT>(value)); return *this;}
149 template<typename SigningParametersKeyT = Aws::String, typename SigningParametersValueT = Aws::String>
150 GetSigningProfileResult& AddSigningParameters(SigningParametersKeyT&& key, SigningParametersValueT&& value) {
151 m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::forward<SigningParametersKeyT>(key), std::forward<SigningParametersValueT>(value)); return *this;
152 }
154
156
159 inline SigningProfileStatus GetStatus() const { return m_status; }
160 inline void SetStatus(SigningProfileStatus value) { m_statusHasBeenSet = true; m_status = value; }
161 inline GetSigningProfileResult& WithStatus(SigningProfileStatus value) { SetStatus(value); return *this;}
163
165
168 inline const Aws::String& GetStatusReason() const { return m_statusReason; }
169 template<typename StatusReasonT = Aws::String>
170 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
171 template<typename StatusReasonT = Aws::String>
172 GetSigningProfileResult& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
174
176
179 inline const Aws::String& GetArn() const { return m_arn; }
180 template<typename ArnT = Aws::String>
181 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
182 template<typename ArnT = Aws::String>
183 GetSigningProfileResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
185
187
190 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
191 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
192 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
193 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
194 GetSigningProfileResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
195 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
196 GetSigningProfileResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
197 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
198 }
200
202
203 inline const Aws::String& GetRequestId() const { return m_requestId; }
204 template<typename RequestIdT = Aws::String>
205 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
206 template<typename RequestIdT = Aws::String>
207 GetSigningProfileResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
209 private:
210
211 Aws::String m_profileName;
212 bool m_profileNameHasBeenSet = false;
213
214 Aws::String m_profileVersion;
215 bool m_profileVersionHasBeenSet = false;
216
217 Aws::String m_profileVersionArn;
218 bool m_profileVersionArnHasBeenSet = false;
219
220 SigningProfileRevocationRecord m_revocationRecord;
221 bool m_revocationRecordHasBeenSet = false;
222
223 SigningMaterial m_signingMaterial;
224 bool m_signingMaterialHasBeenSet = false;
225
226 Aws::String m_platformId;
227 bool m_platformIdHasBeenSet = false;
228
229 Aws::String m_platformDisplayName;
230 bool m_platformDisplayNameHasBeenSet = false;
231
232 SignatureValidityPeriod m_signatureValidityPeriod;
233 bool m_signatureValidityPeriodHasBeenSet = false;
234
235 SigningPlatformOverrides m_overrides;
236 bool m_overridesHasBeenSet = false;
237
238 Aws::Map<Aws::String, Aws::String> m_signingParameters;
239 bool m_signingParametersHasBeenSet = false;
240
242 bool m_statusHasBeenSet = false;
243
244 Aws::String m_statusReason;
245 bool m_statusReasonHasBeenSet = false;
246
247 Aws::String m_arn;
248 bool m_arnHasBeenSet = false;
249
251 bool m_tagsHasBeenSet = false;
252
253 Aws::String m_requestId;
254 bool m_requestIdHasBeenSet = false;
255 };
256
257} // namespace Model
258} // namespace signer
259} // 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)
const SigningMaterial & GetSigningMaterial() const
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