AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutSigningProfileRequest.h
1
6#pragma once
7#include <aws/signer/Signer_EXPORTS.h>
8#include <aws/signer/SignerRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.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 <utility>
15
16namespace Aws
17{
18namespace signer
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_SIGNER_API PutSigningProfileRequest();
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_SIGNER_API Aws::String SerializePayload() const override;
37
38
40
43 inline const Aws::String& GetProfileName() const{ return m_profileName; }
44 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
45 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
46 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
47 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
48 inline PutSigningProfileRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
49 inline PutSigningProfileRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
50 inline PutSigningProfileRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;}
52
54
58 inline const SigningMaterial& GetSigningMaterial() const{ return m_signingMaterial; }
59 inline bool SigningMaterialHasBeenSet() const { return m_signingMaterialHasBeenSet; }
60 inline void SetSigningMaterial(const SigningMaterial& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = value; }
61 inline void SetSigningMaterial(SigningMaterial&& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = std::move(value); }
63 inline PutSigningProfileRequest& WithSigningMaterial(SigningMaterial&& value) { SetSigningMaterial(std::move(value)); return *this;}
65
67
71 inline const SignatureValidityPeriod& GetSignatureValidityPeriod() const{ return m_signatureValidityPeriod; }
72 inline bool SignatureValidityPeriodHasBeenSet() const { return m_signatureValidityPeriodHasBeenSet; }
73 inline void SetSignatureValidityPeriod(const SignatureValidityPeriod& value) { m_signatureValidityPeriodHasBeenSet = true; m_signatureValidityPeriod = value; }
74 inline void SetSignatureValidityPeriod(SignatureValidityPeriod&& value) { m_signatureValidityPeriodHasBeenSet = true; m_signatureValidityPeriod = std::move(value); }
78
80
83 inline const Aws::String& GetPlatformId() const{ return m_platformId; }
84 inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
85 inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; }
86 inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); }
87 inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); }
88 inline PutSigningProfileRequest& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;}
89 inline PutSigningProfileRequest& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;}
90 inline PutSigningProfileRequest& WithPlatformId(const char* value) { SetPlatformId(value); return *this;}
92
94
99 inline const SigningPlatformOverrides& GetOverrides() const{ return m_overrides; }
100 inline bool OverridesHasBeenSet() const { return m_overridesHasBeenSet; }
101 inline void SetOverrides(const SigningPlatformOverrides& value) { m_overridesHasBeenSet = true; m_overrides = value; }
102 inline void SetOverrides(SigningPlatformOverrides&& value) { m_overridesHasBeenSet = true; m_overrides = std::move(value); }
104 inline PutSigningProfileRequest& WithOverrides(SigningPlatformOverrides&& value) { SetOverrides(std::move(value)); return *this;}
106
108
112 inline const Aws::Map<Aws::String, Aws::String>& GetSigningParameters() const{ return m_signingParameters; }
113 inline bool SigningParametersHasBeenSet() const { return m_signingParametersHasBeenSet; }
114 inline void SetSigningParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_signingParametersHasBeenSet = true; m_signingParameters = value; }
115 inline void SetSigningParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_signingParametersHasBeenSet = true; m_signingParameters = std::move(value); }
118 inline PutSigningProfileRequest& AddSigningParameters(const Aws::String& key, const Aws::String& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, value); return *this; }
119 inline PutSigningProfileRequest& AddSigningParameters(Aws::String&& key, const Aws::String& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), value); return *this; }
120 inline PutSigningProfileRequest& AddSigningParameters(const Aws::String& key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, std::move(value)); return *this; }
121 inline PutSigningProfileRequest& AddSigningParameters(Aws::String&& key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), std::move(value)); return *this; }
122 inline PutSigningProfileRequest& AddSigningParameters(const char* key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, std::move(value)); return *this; }
123 inline PutSigningProfileRequest& AddSigningParameters(Aws::String&& key, const char* value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), value); return *this; }
124 inline PutSigningProfileRequest& AddSigningParameters(const char* key, const char* value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, value); return *this; }
126
128
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
132 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
133 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
134 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
136 inline PutSigningProfileRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
137 inline PutSigningProfileRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
138 inline PutSigningProfileRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
139 inline PutSigningProfileRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
140 inline PutSigningProfileRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
141 inline PutSigningProfileRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
142 inline PutSigningProfileRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
143 inline PutSigningProfileRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
145 private:
146
147 Aws::String m_profileName;
148 bool m_profileNameHasBeenSet = false;
149
150 SigningMaterial m_signingMaterial;
151 bool m_signingMaterialHasBeenSet = false;
152
153 SignatureValidityPeriod m_signatureValidityPeriod;
154 bool m_signatureValidityPeriodHasBeenSet = false;
155
156 Aws::String m_platformId;
157 bool m_platformIdHasBeenSet = false;
158
159 SigningPlatformOverrides m_overrides;
160 bool m_overridesHasBeenSet = false;
161
162 Aws::Map<Aws::String, Aws::String> m_signingParameters;
163 bool m_signingParametersHasBeenSet = false;
164
166 bool m_tagsHasBeenSet = false;
167 };
168
169} // namespace Model
170} // namespace signer
171} // namespace Aws
PutSigningProfileRequest & WithProfileName(Aws::String &&value)
PutSigningProfileRequest & WithOverrides(const SigningPlatformOverrides &value)
PutSigningProfileRequest & WithSigningMaterial(SigningMaterial &&value)
PutSigningProfileRequest & WithSigningParameters(const Aws::Map< Aws::String, Aws::String > &value)
PutSigningProfileRequest & AddTags(const char *key, const char *value)
PutSigningProfileRequest & AddSigningParameters(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetSigningParameters() const
PutSigningProfileRequest & AddSigningParameters(const char *key, Aws::String &&value)
void SetSigningParameters(const Aws::Map< Aws::String, Aws::String > &value)
PutSigningProfileRequest & AddTags(Aws::String &&key, const char *value)
void SetOverrides(const SigningPlatformOverrides &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
PutSigningProfileRequest & AddSigningParameters(Aws::String &&key, const char *value)
AWS_SIGNER_API Aws::String SerializePayload() const override
PutSigningProfileRequest & WithPlatformId(const Aws::String &value)
void SetSignatureValidityPeriod(SignatureValidityPeriod &&value)
PutSigningProfileRequest & AddSigningParameters(const Aws::String &key, Aws::String &&value)
PutSigningProfileRequest & WithSigningParameters(Aws::Map< Aws::String, Aws::String > &&value)
PutSigningProfileRequest & AddTags(const char *key, Aws::String &&value)
PutSigningProfileRequest & AddTags(const Aws::String &key, const Aws::String &value)
PutSigningProfileRequest & AddTags(Aws::String &&key, Aws::String &&value)
PutSigningProfileRequest & AddSigningParameters(const Aws::String &key, const Aws::String &value)
const SignatureValidityPeriod & GetSignatureValidityPeriod() const
PutSigningProfileRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetSignatureValidityPeriod(const SignatureValidityPeriod &value)
PutSigningProfileRequest & AddSigningParameters(Aws::String &&key, const Aws::String &value)
PutSigningProfileRequest & AddTags(Aws::String &&key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
PutSigningProfileRequest & WithPlatformId(const char *value)
PutSigningProfileRequest & WithProfileName(const char *value)
void SetSigningParameters(Aws::Map< Aws::String, Aws::String > &&value)
PutSigningProfileRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetSigningMaterial(const SigningMaterial &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
PutSigningProfileRequest & WithProfileName(const Aws::String &value)
PutSigningProfileRequest & WithPlatformId(Aws::String &&value)
PutSigningProfileRequest & WithOverrides(SigningPlatformOverrides &&value)
PutSigningProfileRequest & WithSignatureValidityPeriod(SignatureValidityPeriod &&value)
PutSigningProfileRequest & AddSigningParameters(const char *key, const char *value)
PutSigningProfileRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetOverrides(SigningPlatformOverrides &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PutSigningProfileRequest & WithSigningMaterial(const SigningMaterial &value)
const SigningPlatformOverrides & GetOverrides() const
PutSigningProfileRequest & WithSignatureValidityPeriod(const SignatureValidityPeriod &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