AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SigningProfile.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/SigningMaterial.h>
10#include <aws/signer/model/SignatureValidityPeriod.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/signer/model/SigningProfileStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace signer
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_SIGNER_API SigningProfile();
41 AWS_SIGNER_API SigningProfile(Aws::Utils::Json::JsonView jsonValue);
43 AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetProfileName() const{ return m_profileName; }
51 inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; }
52 inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; }
53 inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); }
54 inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); }
55 inline SigningProfile& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;}
56 inline SigningProfile& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;}
57 inline SigningProfile& WithProfileName(const char* value) { SetProfileName(value); return *this;}
59
61
64 inline const Aws::String& GetProfileVersion() const{ return m_profileVersion; }
65 inline bool ProfileVersionHasBeenSet() const { return m_profileVersionHasBeenSet; }
66 inline void SetProfileVersion(const Aws::String& value) { m_profileVersionHasBeenSet = true; m_profileVersion = value; }
67 inline void SetProfileVersion(Aws::String&& value) { m_profileVersionHasBeenSet = true; m_profileVersion = std::move(value); }
68 inline void SetProfileVersion(const char* value) { m_profileVersionHasBeenSet = true; m_profileVersion.assign(value); }
69 inline SigningProfile& WithProfileVersion(const Aws::String& value) { SetProfileVersion(value); return *this;}
70 inline SigningProfile& WithProfileVersion(Aws::String&& value) { SetProfileVersion(std::move(value)); return *this;}
71 inline SigningProfile& WithProfileVersion(const char* value) { SetProfileVersion(value); return *this;}
73
75
78 inline const Aws::String& GetProfileVersionArn() const{ return m_profileVersionArn; }
79 inline bool ProfileVersionArnHasBeenSet() const { return m_profileVersionArnHasBeenSet; }
80 inline void SetProfileVersionArn(const Aws::String& value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn = value; }
81 inline void SetProfileVersionArn(Aws::String&& value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn = std::move(value); }
82 inline void SetProfileVersionArn(const char* value) { m_profileVersionArnHasBeenSet = true; m_profileVersionArn.assign(value); }
83 inline SigningProfile& WithProfileVersionArn(const Aws::String& value) { SetProfileVersionArn(value); return *this;}
84 inline SigningProfile& WithProfileVersionArn(Aws::String&& value) { SetProfileVersionArn(std::move(value)); return *this;}
85 inline SigningProfile& WithProfileVersionArn(const char* value) { SetProfileVersionArn(value); return *this;}
87
89
92 inline const SigningMaterial& GetSigningMaterial() const{ return m_signingMaterial; }
93 inline bool SigningMaterialHasBeenSet() const { return m_signingMaterialHasBeenSet; }
94 inline void SetSigningMaterial(const SigningMaterial& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = value; }
95 inline void SetSigningMaterial(SigningMaterial&& value) { m_signingMaterialHasBeenSet = true; m_signingMaterial = std::move(value); }
96 inline SigningProfile& WithSigningMaterial(const SigningMaterial& value) { SetSigningMaterial(value); return *this;}
97 inline SigningProfile& WithSigningMaterial(SigningMaterial&& value) { SetSigningMaterial(std::move(value)); return *this;}
99
101
104 inline const SignatureValidityPeriod& GetSignatureValidityPeriod() const{ return m_signatureValidityPeriod; }
105 inline bool SignatureValidityPeriodHasBeenSet() const { return m_signatureValidityPeriodHasBeenSet; }
106 inline void SetSignatureValidityPeriod(const SignatureValidityPeriod& value) { m_signatureValidityPeriodHasBeenSet = true; m_signatureValidityPeriod = value; }
107 inline void SetSignatureValidityPeriod(SignatureValidityPeriod&& value) { m_signatureValidityPeriodHasBeenSet = true; m_signatureValidityPeriod = std::move(value); }
111
113
116 inline const Aws::String& GetPlatformId() const{ return m_platformId; }
117 inline bool PlatformIdHasBeenSet() const { return m_platformIdHasBeenSet; }
118 inline void SetPlatformId(const Aws::String& value) { m_platformIdHasBeenSet = true; m_platformId = value; }
119 inline void SetPlatformId(Aws::String&& value) { m_platformIdHasBeenSet = true; m_platformId = std::move(value); }
120 inline void SetPlatformId(const char* value) { m_platformIdHasBeenSet = true; m_platformId.assign(value); }
121 inline SigningProfile& WithPlatformId(const Aws::String& value) { SetPlatformId(value); return *this;}
122 inline SigningProfile& WithPlatformId(Aws::String&& value) { SetPlatformId(std::move(value)); return *this;}
123 inline SigningProfile& WithPlatformId(const char* value) { SetPlatformId(value); return *this;}
125
127
130 inline const Aws::String& GetPlatformDisplayName() const{ return m_platformDisplayName; }
131 inline bool PlatformDisplayNameHasBeenSet() const { return m_platformDisplayNameHasBeenSet; }
132 inline void SetPlatformDisplayName(const Aws::String& value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName = value; }
133 inline void SetPlatformDisplayName(Aws::String&& value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName = std::move(value); }
134 inline void SetPlatformDisplayName(const char* value) { m_platformDisplayNameHasBeenSet = true; m_platformDisplayName.assign(value); }
135 inline SigningProfile& WithPlatformDisplayName(const Aws::String& value) { SetPlatformDisplayName(value); return *this;}
136 inline SigningProfile& WithPlatformDisplayName(Aws::String&& value) { SetPlatformDisplayName(std::move(value)); return *this;}
137 inline SigningProfile& WithPlatformDisplayName(const char* value) { SetPlatformDisplayName(value); return *this;}
139
141
144 inline const Aws::Map<Aws::String, Aws::String>& GetSigningParameters() const{ return m_signingParameters; }
145 inline bool SigningParametersHasBeenSet() const { return m_signingParametersHasBeenSet; }
146 inline void SetSigningParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_signingParametersHasBeenSet = true; m_signingParameters = value; }
147 inline void SetSigningParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_signingParametersHasBeenSet = true; m_signingParameters = std::move(value); }
150 inline SigningProfile& AddSigningParameters(const Aws::String& key, const Aws::String& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, value); return *this; }
151 inline SigningProfile& AddSigningParameters(Aws::String&& key, const Aws::String& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), value); return *this; }
152 inline SigningProfile& AddSigningParameters(const Aws::String& key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, std::move(value)); return *this; }
153 inline SigningProfile& AddSigningParameters(Aws::String&& key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), std::move(value)); return *this; }
154 inline SigningProfile& AddSigningParameters(const char* key, Aws::String&& value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, std::move(value)); return *this; }
155 inline SigningProfile& AddSigningParameters(Aws::String&& key, const char* value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(std::move(key), value); return *this; }
156 inline SigningProfile& AddSigningParameters(const char* key, const char* value) { m_signingParametersHasBeenSet = true; m_signingParameters.emplace(key, value); return *this; }
158
160
163 inline const SigningProfileStatus& GetStatus() const{ return m_status; }
164 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
165 inline void SetStatus(const SigningProfileStatus& value) { m_statusHasBeenSet = true; m_status = value; }
166 inline void SetStatus(SigningProfileStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
167 inline SigningProfile& WithStatus(const SigningProfileStatus& value) { SetStatus(value); return *this;}
168 inline SigningProfile& WithStatus(SigningProfileStatus&& value) { SetStatus(std::move(value)); return *this;}
170
172
175 inline const Aws::String& GetArn() const{ return m_arn; }
176 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
177 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
178 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
179 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
180 inline SigningProfile& WithArn(const Aws::String& value) { SetArn(value); return *this;}
181 inline SigningProfile& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
182 inline SigningProfile& WithArn(const char* value) { SetArn(value); return *this;}
184
186
189 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
190 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
191 inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
192 inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
193 inline SigningProfile& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
194 inline SigningProfile& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
195 inline SigningProfile& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
196 inline SigningProfile& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
197 inline SigningProfile& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
198 inline SigningProfile& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
199 inline SigningProfile& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
200 inline SigningProfile& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
201 inline SigningProfile& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
203 private:
204
205 Aws::String m_profileName;
206 bool m_profileNameHasBeenSet = false;
207
208 Aws::String m_profileVersion;
209 bool m_profileVersionHasBeenSet = false;
210
211 Aws::String m_profileVersionArn;
212 bool m_profileVersionArnHasBeenSet = false;
213
214 SigningMaterial m_signingMaterial;
215 bool m_signingMaterialHasBeenSet = false;
216
217 SignatureValidityPeriod m_signatureValidityPeriod;
218 bool m_signatureValidityPeriodHasBeenSet = false;
219
220 Aws::String m_platformId;
221 bool m_platformIdHasBeenSet = false;
222
223 Aws::String m_platformDisplayName;
224 bool m_platformDisplayNameHasBeenSet = false;
225
226 Aws::Map<Aws::String, Aws::String> m_signingParameters;
227 bool m_signingParametersHasBeenSet = false;
228
229 SigningProfileStatus m_status;
230 bool m_statusHasBeenSet = false;
231
232 Aws::String m_arn;
233 bool m_arnHasBeenSet = false;
234
236 bool m_tagsHasBeenSet = false;
237 };
238
239} // namespace Model
240} // namespace signer
241} // namespace Aws
SigningProfile & WithStatus(SigningProfileStatus &&value)
SigningProfile & AddTags(Aws::String &&key, const char *value)
SigningProfile & WithPlatformDisplayName(const Aws::String &value)
SigningProfile & WithSigningMaterial(const SigningMaterial &value)
AWS_SIGNER_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetSigningParameters() const
SigningProfile & AddTags(const Aws::String &key, const Aws::String &value)
SigningProfile & WithSigningParameters(const Aws::Map< Aws::String, Aws::String > &value)
SigningProfile & WithProfileName(const char *value)
const Aws::String & GetArn() const
SigningProfile & WithArn(Aws::String &&value)
void SetSigningParameters(Aws::Map< Aws::String, Aws::String > &&value)
SigningProfile & WithProfileVersion(const char *value)
void SetArn(const Aws::String &value)
void SetProfileVersion(Aws::String &&value)
void SetSignatureValidityPeriod(SignatureValidityPeriod &&value)
SigningProfile & WithSigningParameters(Aws::Map< Aws::String, Aws::String > &&value)
void SetProfileVersionArn(const Aws::String &value)
SigningProfile & WithProfileVersionArn(const char *value)
SigningProfile & WithProfileName(Aws::String &&value)
void SetSigningMaterial(SigningMaterial &&value)
void SetProfileName(const Aws::String &value)
SigningProfile & AddTags(Aws::String &&key, const Aws::String &value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetPlatformId(const Aws::String &value)
const Aws::String & GetPlatformDisplayName() const
const Aws::String & GetProfileVersionArn() const
void SetProfileVersion(const Aws::String &value)
SigningProfile & WithSigningMaterial(SigningMaterial &&value)
SigningProfile & WithStatus(const SigningProfileStatus &value)
void SetPlatformDisplayName(Aws::String &&value)
void SetSignatureValidityPeriod(const SignatureValidityPeriod &value)
void SetProfileName(const char *value)
SigningProfile & AddTags(const char *key, const char *value)
SigningProfile & AddTags(Aws::String &&key, Aws::String &&value)
void SetPlatformId(const char *value)
void SetPlatformDisplayName(const Aws::String &value)
void SetPlatformId(Aws::String &&value)
SigningProfile & WithPlatformDisplayName(Aws::String &&value)
const SigningProfileStatus & GetStatus() const
SigningProfile & AddSigningParameters(Aws::String &&key, const Aws::String &value)
SigningProfile & WithArn(const char *value)
SigningProfile & WithProfileVersionArn(const Aws::String &value)
void SetArn(Aws::String &&value)
SigningProfile & AddSigningParameters(const char *key, Aws::String &&value)
SigningProfile & WithSignatureValidityPeriod(const SignatureValidityPeriod &value)
SigningProfile & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const SignatureValidityPeriod & GetSignatureValidityPeriod() const
SigningProfile & AddSigningParameters(const char *key, const char *value)
SigningProfile & WithProfileVersion(Aws::String &&value)
SigningProfile & WithProfileVersionArn(Aws::String &&value)
SigningProfile & AddSigningParameters(Aws::String &&key, const char *value)
AWS_SIGNER_API SigningProfile(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetProfileVersion() const
void SetPlatformDisplayName(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const SigningMaterial & GetSigningMaterial() const
SigningProfile & AddSigningParameters(Aws::String &&key, Aws::String &&value)
SigningProfile & AddTags(const Aws::String &key, Aws::String &&value)
void SetProfileName(Aws::String &&value)
SigningProfile & WithPlatformId(const char *value)
SigningProfile & WithArn(const Aws::String &value)
void SetStatus(const SigningProfileStatus &value)
SigningProfile & WithPlatformId(Aws::String &&value)
void SetStatus(SigningProfileStatus &&value)
SigningProfile & WithProfileVersion(const Aws::String &value)
SigningProfile & AddSigningParameters(const Aws::String &key, const Aws::String &value)
SigningProfile & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetProfileVersionArn(Aws::String &&value)
SigningProfile & WithSignatureValidityPeriod(SignatureValidityPeriod &&value)
SigningProfile & AddTags(const char *key, Aws::String &&value)
SigningProfile & WithProfileName(const Aws::String &value)
SigningProfile & WithPlatformId(const Aws::String &value)
SigningProfile & WithPlatformDisplayName(const char *value)
const Aws::String & GetPlatformId() const
void SetSigningParameters(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetProfileName() const
SigningProfile & AddSigningParameters(const Aws::String &key, Aws::String &&value)
void SetProfileVersionArn(const char *value)
void SetProfileVersion(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SIGNER_API SigningProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSigningMaterial(const SigningMaterial &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