AWS SDK for C++  1.9.71
AWS SDK for C++
PutSigningProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace signer
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "PutSigningProfile"; }
35 
36  Aws::String SerializePayload() const override;
37 
38 
42  inline const Aws::String& GetProfileName() const{ return m_profileName; }
43 
47  inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
48 
52  inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
53 
57  inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
58 
62  inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
63 
67  inline PutSigningProfileRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
68 
72  inline PutSigningProfileRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
73 
77  inline PutSigningProfileRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
78 
79 
84  inline const SigningMaterial& GetSigningMaterial() const{ return m_signingMaterial; }
85 
90  inline bool SigningMaterialHasBeenSet() const { return m_signingMaterialHasBeenSet; }
91 
96  inline void SetSigningMaterial(const SigningMaterial& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = value; }
97 
102  inline void SetSigningMaterial(SigningMaterial&& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = std::move(value); }
103 
108  inline PutSigningProfileRequest& WithSigningMaterial(const SigningMaterial& value) { SetSigningMaterial(value); return *this;}
109 
114  inline PutSigningProfileRequest& WithSigningMaterial(SigningMaterial&& value) { SetSigningMaterial(std::move(value)); return *this;}
115 
116 
121  inline const SignatureValidityPeriod& GetSignatureValidityPeriod() const{ return m_signatureValidityPeriod; }
122 
127  inline bool SignatureValidityPeriodHasBeenSet() const { return m_signatureValidityPeriodHasBeenSet; }
128 
133  inline void SetSignatureValidityPeriod(const SignatureValidityPeriod& value) { m_signatureValidityPeriodHasBeenSet = true; m_signatureValidityPeriod = value; }
134 
139  inline void SetSignatureValidityPeriod(SignatureValidityPeriod&& value) { m_signatureValidityPeriodHasBeenSet = true; m_signatureValidityPeriod = std::move(value); }
140 
145  inline PutSigningProfileRequest& WithSignatureValidityPeriod(const SignatureValidityPeriod& value) { SetSignatureValidityPeriod(value); return *this;}
146 
151  inline PutSigningProfileRequest& WithSignatureValidityPeriod(SignatureValidityPeriod&& value) { SetSignatureValidityPeriod(std::move(value)); return *this;}
152 
153 
157  inline const Aws::String& GetPlatformId() const{ return m_platformId; }
158 
162  inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
163 
167  inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; }
168 
172  inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); }
173 
177  inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); }
178 
182  inline PutSigningProfileRequest& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;}
183 
187  inline PutSigningProfileRequest& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;}
188 
192  inline PutSigningProfileRequest& WithPlatformId(const char* value) { SetPlatformId(value); return *this;}
193 
194 
200  inline const SigningPlatformOverrides& GetOverrides() const{ return m_overrides; }
201 
207  inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
208 
214  inline void SetOverrides(const SigningPlatformOverrides& value) { m_overridesHasBeenSet = true; m_overrides = value; }
215 
221  inline void SetOverrides(SigningPlatformOverrides&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
222 
228  inline PutSigningProfileRequest& WithOverrides(const SigningPlatformOverrides& value) { SetOverrides(value); return *this;}
229 
235  inline PutSigningProfileRequest& WithOverrides(SigningPlatformOverrides&& value) { SetOverrides(std::move(value)); return *this;}
236 
237 
242  inline const Aws::Map<Aws::String, Aws::String>& GetSigningParameters() const{ return m_signingParameters; }
243 
248  inline bool SigningParametersHasBeenSet() const { return m_signingParametersHasBeenSet; }
249 
254  inline void SetSigningParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_signingParametersHasBeenSet = true; m_signingParameters = value; }
255 
260  inline void SetSigningParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_signingParametersHasBeenSet = true; m_signingParameters = std::move(value); }
261 
266  inline PutSigningProfileRequest& WithSigningParameters(const Aws::Map<Aws::String, Aws::String>& value) { SetSigningParameters(value); return *this;}
267 
272  inline PutSigningProfileRequest& WithSigningParameters(Aws::Map<Aws::String, Aws::String>&& value) { SetSigningParameters(std::move(value)); return *this;}
273 
278  inline PutSigningProfileRequest& AddSigningParameters(const Aws::String& key, const Aws::String& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, value); return *this; }
279 
284  inline PutSigningProfileRequest& AddSigningParameters(Aws::String&& key, const Aws::String& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), value); return *this; }
285 
290  inline PutSigningProfileRequest& AddSigningParameters(const Aws::String& key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, std::move(value)); return *this; }
291 
296  inline PutSigningProfileRequest& AddSigningParameters(Aws::String&& key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), std::move(value)); return *this; }
297 
302  inline PutSigningProfileRequest& AddSigningParameters(const char* key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, std::move(value)); return *this; }
303 
308  inline PutSigningProfileRequest& AddSigningParameters(Aws::String&& key, const char* value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), value); return *this; }
309 
314  inline PutSigningProfileRequest& AddSigningParameters(const char* key, const char* value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, value); return *this; }
315 
316 
320  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
321 
325  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
326 
330  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
331 
335  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
336 
340  inline PutSigningProfileRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
341 
345  inline PutSigningProfileRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
346 
350  inline PutSigningProfileRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
351 
355  inline PutSigningProfileRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
356 
360  inline PutSigningProfileRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
361 
365  inline PutSigningProfileRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
366 
370  inline PutSigningProfileRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
371 
375  inline PutSigningProfileRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
376 
380  inline PutSigningProfileRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
381 
382  private:
383 
384  Aws::String m_profileName;
385  bool m_profileNameHasBeenSet;
386 
387  SigningMaterial m_signingMaterial;
388  bool m_signingMaterialHasBeenSet;
389 
390  SignatureValidityPeriod m_signatureValidityPeriod;
391  bool m_signatureValidityPeriodHasBeenSet;
392 
393  Aws::String m_platformId;
394  bool m_platformIdHasBeenSet;
395 
396  SigningPlatformOverrides m_overrides;
397  bool m_overridesHasBeenSet;
398 
399  Aws::Map<Aws::String, Aws::String> m_signingParameters;
400  bool m_signingParametersHasBeenSet;
401 
403  bool m_tagsHasBeenSet;
404  };
405 
406 } // namespace Model
407 } // namespace signer
408 } // namespace Aws
Aws::signer::Model::PutSigningProfileRequest::GetPlatformId
const Aws::String & GetPlatformId() const
Definition: PutSigningProfileRequest.h:157
Aws::signer::Model::SigningMaterial
Definition: SigningMaterial.h:33
Aws::signer::Model::PutSigningProfileRequest::SetSigningParameters
void SetSigningParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PutSigningProfileRequest.h:260
Aws::signer::Model::PutSigningProfileRequest::WithPlatformId
PutSigningProfileRequest & WithPlatformId(Aws::String &&value)
Definition: PutSigningProfileRequest.h:187
Aws::signer::Model::PutSigningProfileRequest::WithProfileName
PutSigningProfileRequest & WithProfileName(const char *value)
Definition: PutSigningProfileRequest.h:77
Aws::signer::Model::PutSigningProfileRequest::AddTags
PutSigningProfileRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: PutSigningProfileRequest.h:365
Aws::signer::Model::PutSigningProfileRequest
Definition: PutSigningProfileRequest.h:26
Aws::signer::Model::PutSigningProfileRequest::WithTags
PutSigningProfileRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PutSigningProfileRequest.h:340
Aws::signer::Model::PutSigningProfileRequest::WithSigningMaterial
PutSigningProfileRequest & WithSigningMaterial(const SigningMaterial &value)
Definition: PutSigningProfileRequest.h:108
Aws::signer::Model::PutSigningProfileRequest::SetSigningMaterial
void SetSigningMaterial(const SigningMaterial &value)
Definition: PutSigningProfileRequest.h:96
Aws::signer::Model::PutSigningProfileRequest::WithProfileName
PutSigningProfileRequest & WithProfileName(const Aws::String &value)
Definition: PutSigningProfileRequest.h:67
Aws::signer::Model::PutSigningProfileRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PutSigningProfileRequest.h:335
Aws::signer::Model::PutSigningProfileRequest::OverridesHasBeenSet
bool OverridesHasBeenSet() const
Definition: PutSigningProfileRequest.h:207
Aws::signer::Model::PutSigningProfileRequest::GetSigningMaterial
const SigningMaterial & GetSigningMaterial() const
Definition: PutSigningProfileRequest.h:84
Aws::signer::Model::PutSigningProfileRequest::SetOverrides
void SetOverrides(SigningPlatformOverrides &&value)
Definition: PutSigningProfileRequest.h:221
Aws::signer::Model::PutSigningProfileRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: PutSigningProfileRequest.h:325
Aws::signer::Model::PutSigningProfileRequest::SetSigningParameters
void SetSigningParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PutSigningProfileRequest.h:254
Aws::signer::Model::PutSigningProfileRequest::GetProfileName
const Aws::String & GetProfileName() const
Definition: PutSigningProfileRequest.h:42
Aws::signer::Model::PutSigningProfileRequest::AddSigningParameters
PutSigningProfileRequest & AddSigningParameters(Aws::String &&key, Aws::String &&value)
Definition: PutSigningProfileRequest.h:296
Aws::signer::Model::SignatureValidityPeriod
Definition: SignatureValidityPeriod.h:32
Aws::signer::Model::PutSigningProfileRequest::AddTags
PutSigningProfileRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: PutSigningProfileRequest.h:350
Aws::signer::Model::PutSigningProfileRequest::WithSigningParameters
PutSigningProfileRequest & WithSigningParameters(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PutSigningProfileRequest.h:266
SigningPlatformOverrides.h
Aws::signer::Model::PutSigningProfileRequest::SetSignatureValidityPeriod
void SetSignatureValidityPeriod(SignatureValidityPeriod &&value)
Definition: PutSigningProfileRequest.h:139
Aws::signer::Model::PutSigningProfileRequest::SetPlatformId
void SetPlatformId(const char *value)
Definition: PutSigningProfileRequest.h:177
Aws::signer::Model::PutSigningProfileRequest::WithSigningMaterial
PutSigningProfileRequest & WithSigningMaterial(SigningMaterial &&value)
Definition: PutSigningProfileRequest.h:114
Aws::signer::Model::PutSigningProfileRequest::PutSigningProfileRequest
PutSigningProfileRequest()
Aws::signer::Model::PutSigningProfileRequest::AddTags
PutSigningProfileRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: PutSigningProfileRequest.h:360
Aws::signer::Model::PutSigningProfileRequest::GetSigningParameters
const Aws::Map< Aws::String, Aws::String > & GetSigningParameters() const
Definition: PutSigningProfileRequest.h:242
Aws::signer::Model::PutSigningProfileRequest::AddTags
PutSigningProfileRequest & AddTags(const char *key, Aws::String &&value)
Definition: PutSigningProfileRequest.h:370
Aws::signer::SignerRequest
Definition: SignerRequest.h:17
SignerRequest.h
Aws::signer::Model::PutSigningProfileRequest::WithOverrides
PutSigningProfileRequest & WithOverrides(SigningPlatformOverrides &&value)
Definition: PutSigningProfileRequest.h:235
Aws::signer::Model::PutSigningProfileRequest::GetSignatureValidityPeriod
const SignatureValidityPeriod & GetSignatureValidityPeriod() const
Definition: PutSigningProfileRequest.h:121
Aws::signer::Model::PutSigningProfileRequest::SignatureValidityPeriodHasBeenSet
bool SignatureValidityPeriodHasBeenSet() const
Definition: PutSigningProfileRequest.h:127
Aws::signer::Model::PutSigningProfileRequest::WithSignatureValidityPeriod
PutSigningProfileRequest & WithSignatureValidityPeriod(SignatureValidityPeriod &&value)
Definition: PutSigningProfileRequest.h:151
SigningMaterial.h
Aws::signer::Model::PutSigningProfileRequest::SetProfileName
void SetProfileName(const char *value)
Definition: PutSigningProfileRequest.h:62
Aws::signer::Model::PutSigningProfileRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: PutSigningProfileRequest.h:320
Aws::signer::Model::PutSigningProfileRequest::AddTags
PutSigningProfileRequest & AddTags(Aws::String &&key, const char *value)
Definition: PutSigningProfileRequest.h:375
Aws::signer::Model::PutSigningProfileRequest::WithOverrides
PutSigningProfileRequest & WithOverrides(const SigningPlatformOverrides &value)
Definition: PutSigningProfileRequest.h:228
Aws::signer::Model::PutSigningProfileRequest::AddSigningParameters
PutSigningProfileRequest & AddSigningParameters(const Aws::String &key, const Aws::String &value)
Definition: PutSigningProfileRequest.h:278
Aws::signer::Model::PutSigningProfileRequest::WithPlatformId
PutSigningProfileRequest & WithPlatformId(const char *value)
Definition: PutSigningProfileRequest.h:192
Aws::signer::Model::PutSigningProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutSigningProfileRequest.h:34
AWSString.h
Aws::signer::Model::PutSigningProfileRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: PutSigningProfileRequest.h:330
AWS_SIGNER_API
#define AWS_SIGNER_API
Definition: Signer_EXPORTS.h:28
Aws::signer::Model::PutSigningProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::signer::Model::PutSigningProfileRequest::AddSigningParameters
PutSigningProfileRequest & AddSigningParameters(const char *key, Aws::String &&value)
Definition: PutSigningProfileRequest.h:302
Aws::signer::Model::PutSigningProfileRequest::AddSigningParameters
PutSigningProfileRequest & AddSigningParameters(const char *key, const char *value)
Definition: PutSigningProfileRequest.h:314
Aws::signer::Model::PutSigningProfileRequest::WithSignatureValidityPeriod
PutSigningProfileRequest & WithSignatureValidityPeriod(const SignatureValidityPeriod &value)
Definition: PutSigningProfileRequest.h:145
Aws::signer::Model::PutSigningProfileRequest::AddSigningParameters
PutSigningProfileRequest & AddSigningParameters(Aws::String &&key, const char *value)
Definition: PutSigningProfileRequest.h:308
Aws::signer::Model::PutSigningProfileRequest::AddSigningParameters
PutSigningProfileRequest & AddSigningParameters(const Aws::String &key, Aws::String &&value)
Definition: PutSigningProfileRequest.h:290
Aws::signer::Model::PutSigningProfileRequest::PlatformIdHasBeenSet
bool PlatformIdHasBeenSet() const
Definition: PutSigningProfileRequest.h:162
Aws::signer::Model::PutSigningProfileRequest::GetOverrides
const SigningPlatformOverrides & GetOverrides() const
Definition: PutSigningProfileRequest.h:200
Aws::signer::Model::PutSigningProfileRequest::WithProfileName
PutSigningProfileRequest & WithProfileName(Aws::String &&value)
Definition: PutSigningProfileRequest.h:72
Aws::signer::Model::PutSigningProfileRequest::AddSigningParameters
PutSigningProfileRequest & AddSigningParameters(Aws::String &&key, const Aws::String &value)
Definition: PutSigningProfileRequest.h:284
Aws::signer::Model::SigningPlatformOverrides
Definition: SigningPlatformOverrides.h:34
Aws::signer::Model::PutSigningProfileRequest::AddTags
PutSigningProfileRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: PutSigningProfileRequest.h:355
Aws::signer::Model::PutSigningProfileRequest::SetSigningMaterial
void SetSigningMaterial(SigningMaterial &&value)
Definition: PutSigningProfileRequest.h:102
Aws
Definition: AccessManagementClient.h:15
Aws::signer::Model::PutSigningProfileRequest::SetOverrides
void SetOverrides(const SigningPlatformOverrides &value)
Definition: PutSigningProfileRequest.h:214
Aws::signer::Model::PutSigningProfileRequest::WithTags
PutSigningProfileRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PutSigningProfileRequest.h:345
Aws::signer::Model::PutSigningProfileRequest::SetSignatureValidityPeriod
void SetSignatureValidityPeriod(const SignatureValidityPeriod &value)
Definition: PutSigningProfileRequest.h:133
Signer_EXPORTS.h
Aws::signer::Model::PutSigningProfileRequest::SigningParametersHasBeenSet
bool SigningParametersHasBeenSet() const
Definition: PutSigningProfileRequest.h:248
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SignatureValidityPeriod.h
Aws::signer::Model::PutSigningProfileRequest::SigningMaterialHasBeenSet
bool SigningMaterialHasBeenSet() const
Definition: PutSigningProfileRequest.h:90
Aws::signer::Model::PutSigningProfileRequest::SetPlatformId
void SetPlatformId(const Aws::String &value)
Definition: PutSigningProfileRequest.h:167
Aws::signer::Model::PutSigningProfileRequest::SetPlatformId
void SetPlatformId(Aws::String &&value)
Definition: PutSigningProfileRequest.h:172
Aws::signer::Model::PutSigningProfileRequest::WithSigningParameters
PutSigningProfileRequest & WithSigningParameters(Aws::Map< Aws::String, Aws::String > &&value)
Definition: PutSigningProfileRequest.h:272
Aws::signer::Model::PutSigningProfileRequest::ProfileNameHasBeenSet
bool ProfileNameHasBeenSet() const
Definition: PutSigningProfileRequest.h:47
AWSMap.h
Aws::signer::Model::PutSigningProfileRequest::WithPlatformId
PutSigningProfileRequest & WithPlatformId(const Aws::String &value)
Definition: PutSigningProfileRequest.h:182
Aws::signer::Model::PutSigningProfileRequest::SetProfileName
void SetProfileName(const Aws::String &value)
Definition: PutSigningProfileRequest.h:52
Aws::signer::Model::PutSigningProfileRequest::SetProfileName
void SetProfileName(Aws::String &&value)
Definition: PutSigningProfileRequest.h:57
Aws::signer::Model::PutSigningProfileRequest::AddTags
PutSigningProfileRequest & AddTags(const char *key, const char *value)
Definition: PutSigningProfileRequest.h:380
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19