AWS SDK for C++  1.9.19
AWS SDK for C++
CodeSigningConfig.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace Lambda
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetCodeSigningConfigId() const{ return m_codeSigningConfigId; }
46 
50  inline bool CodeSigningConfigIdHasBeenSet() const { return m_codeSigningConfigIdHasBeenSet; }
51 
55  inline void SetCodeSigningConfigId(const Aws::String& value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId = value; }
56 
60  inline void SetCodeSigningConfigId(Aws::String&& value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId = std::move(value); }
61 
65  inline void SetCodeSigningConfigId(const char* value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId.assign(value); }
66 
70  inline CodeSigningConfig& WithCodeSigningConfigId(const Aws::String& value) { SetCodeSigningConfigId(value); return *this;}
71 
75  inline CodeSigningConfig& WithCodeSigningConfigId(Aws::String&& value) { SetCodeSigningConfigId(std::move(value)); return *this;}
76 
80  inline CodeSigningConfig& WithCodeSigningConfigId(const char* value) { SetCodeSigningConfigId(value); return *this;}
81 
82 
86  inline const Aws::String& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; }
87 
91  inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
92 
96  inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = value; }
97 
101  inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::move(value); }
102 
106  inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn.assign(value); }
107 
111  inline CodeSigningConfig& WithCodeSigningConfigArn(const Aws::String& value) { SetCodeSigningConfigArn(value); return *this;}
112 
116  inline CodeSigningConfig& WithCodeSigningConfigArn(Aws::String&& value) { SetCodeSigningConfigArn(std::move(value)); return *this;}
117 
121  inline CodeSigningConfig& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;}
122 
123 
127  inline const Aws::String& GetDescription() const{ return m_description; }
128 
132  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
142  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 
147  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 
152  inline CodeSigningConfig& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 
157  inline CodeSigningConfig& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 
162  inline CodeSigningConfig& WithDescription(const char* value) { SetDescription(value); return *this;}
163 
164 
168  inline const AllowedPublishers& GetAllowedPublishers() const{ return m_allowedPublishers; }
169 
173  inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
174 
178  inline void SetAllowedPublishers(const AllowedPublishers& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = value; }
179 
183  inline void SetAllowedPublishers(AllowedPublishers&& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = std::move(value); }
184 
188  inline CodeSigningConfig& WithAllowedPublishers(const AllowedPublishers& value) { SetAllowedPublishers(value); return *this;}
189 
193  inline CodeSigningConfig& WithAllowedPublishers(AllowedPublishers&& value) { SetAllowedPublishers(std::move(value)); return *this;}
194 
195 
200  inline const CodeSigningPolicies& GetCodeSigningPolicies() const{ return m_codeSigningPolicies; }
201 
206  inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
207 
212  inline void SetCodeSigningPolicies(const CodeSigningPolicies& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = value; }
213 
218  inline void SetCodeSigningPolicies(CodeSigningPolicies&& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = std::move(value); }
219 
224  inline CodeSigningConfig& WithCodeSigningPolicies(const CodeSigningPolicies& value) { SetCodeSigningPolicies(value); return *this;}
225 
230  inline CodeSigningConfig& WithCodeSigningPolicies(CodeSigningPolicies&& value) { SetCodeSigningPolicies(std::move(value)); return *this;}
231 
232 
237  inline const Aws::String& GetLastModified() const{ return m_lastModified; }
238 
243  inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
244 
249  inline void SetLastModified(const Aws::String& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
250 
255  inline void SetLastModified(Aws::String&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
256 
261  inline void SetLastModified(const char* value) { m_lastModifiedHasBeenSet = true; m_lastModified.assign(value); }
262 
267  inline CodeSigningConfig& WithLastModified(const Aws::String& value) { SetLastModified(value); return *this;}
268 
273  inline CodeSigningConfig& WithLastModified(Aws::String&& value) { SetLastModified(std::move(value)); return *this;}
274 
279  inline CodeSigningConfig& WithLastModified(const char* value) { SetLastModified(value); return *this;}
280 
281  private:
282 
283  Aws::String m_codeSigningConfigId;
284  bool m_codeSigningConfigIdHasBeenSet;
285 
286  Aws::String m_codeSigningConfigArn;
287  bool m_codeSigningConfigArnHasBeenSet;
288 
289  Aws::String m_description;
290  bool m_descriptionHasBeenSet;
291 
292  AllowedPublishers m_allowedPublishers;
293  bool m_allowedPublishersHasBeenSet;
294 
295  CodeSigningPolicies m_codeSigningPolicies;
296  bool m_codeSigningPoliciesHasBeenSet;
297 
298  Aws::String m_lastModified;
299  bool m_lastModifiedHasBeenSet;
300  };
301 
302 } // namespace Model
303 } // namespace Lambda
304 } // namespace Aws
Aws::Lambda::Model::CodeSigningConfig::SetDescription
void SetDescription(const char *value)
Definition: CodeSigningConfig.h:147
Aws::Lambda::Model::CodeSigningConfig::GetCodeSigningConfigId
const Aws::String & GetCodeSigningConfigId() const
Definition: CodeSigningConfig.h:45
Aws::Lambda::Model::CodeSigningConfig::SetLastModified
void SetLastModified(const Aws::String &value)
Definition: CodeSigningConfig.h:249
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigId
void SetCodeSigningConfigId(const Aws::String &value)
Definition: CodeSigningConfig.h:55
Aws::Lambda::Model::CodeSigningConfig::operator=
CodeSigningConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::CodeSigningConfig::GetAllowedPublishers
const AllowedPublishers & GetAllowedPublishers() const
Definition: CodeSigningConfig.h:168
Aws::Lambda::Model::CodeSigningConfig::GetDescription
const Aws::String & GetDescription() const
Definition: CodeSigningConfig.h:127
Aws::Lambda::Model::CodeSigningConfig::GetCodeSigningPolicies
const CodeSigningPolicies & GetCodeSigningPolicies() const
Definition: CodeSigningConfig.h:200
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const Aws::String &value)
Definition: CodeSigningConfig.h:96
CodeSigningPolicies.h
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigId
void SetCodeSigningConfigId(const char *value)
Definition: CodeSigningConfig.h:65
Aws::Lambda::Model::CodeSigningConfig
Definition: CodeSigningConfig.h:34
Aws::Lambda::Model::CodeSigningConfig::WithDescription
CodeSigningConfig & WithDescription(const char *value)
Definition: CodeSigningConfig.h:162
Aws::Lambda::Model::CodeSigningConfig::WithLastModified
CodeSigningConfig & WithLastModified(Aws::String &&value)
Definition: CodeSigningConfig.h:273
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(Aws::String &&value)
Definition: CodeSigningConfig.h:101
Aws::Lambda::Model::CodeSigningConfig::SetDescription
void SetDescription(Aws::String &&value)
Definition: CodeSigningConfig.h:142
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigArn
CodeSigningConfig & WithCodeSigningConfigArn(Aws::String &&value)
Definition: CodeSigningConfig.h:116
Aws::Lambda::Model::CodeSigningConfig::CodeSigningConfig
CodeSigningConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigArn
CodeSigningConfig & WithCodeSigningConfigArn(const char *value)
Definition: CodeSigningConfig.h:121
Aws::Lambda::Model::CodeSigningConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningPolicies
CodeSigningConfig & WithCodeSigningPolicies(const CodeSigningPolicies &value)
Definition: CodeSigningConfig.h:224
Aws::Lambda::Model::CodeSigningConfig::WithLastModified
CodeSigningConfig & WithLastModified(const char *value)
Definition: CodeSigningConfig.h:279
Aws::Lambda::Model::CodeSigningConfig::WithDescription
CodeSigningConfig & WithDescription(const Aws::String &value)
Definition: CodeSigningConfig.h:152
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningPolicies
CodeSigningConfig & WithCodeSigningPolicies(CodeSigningPolicies &&value)
Definition: CodeSigningConfig.h:230
Aws::Lambda::Model::CodeSigningConfig::WithAllowedPublishers
CodeSigningConfig & WithAllowedPublishers(const AllowedPublishers &value)
Definition: CodeSigningConfig.h:188
Aws::Lambda::Model::CodeSigningConfig::WithAllowedPublishers
CodeSigningConfig & WithAllowedPublishers(AllowedPublishers &&value)
Definition: CodeSigningConfig.h:193
Aws::Lambda::Model::CodeSigningConfig::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CodeSigningConfig.h:132
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigId
CodeSigningConfig & WithCodeSigningConfigId(const char *value)
Definition: CodeSigningConfig.h:80
Aws::Lambda::Model::CodeSigningConfig::CodeSigningConfigArnHasBeenSet
bool CodeSigningConfigArnHasBeenSet() const
Definition: CodeSigningConfig.h:91
Aws::Lambda::Model::CodeSigningConfig::CodeSigningPoliciesHasBeenSet
bool CodeSigningPoliciesHasBeenSet() const
Definition: CodeSigningConfig.h:206
Aws::Lambda::Model::AllowedPublishers
Definition: AllowedPublishers.h:34
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigId
void SetCodeSigningConfigId(Aws::String &&value)
Definition: CodeSigningConfig.h:60
Aws::Lambda::Model::CodeSigningConfig::WithLastModified
CodeSigningConfig & WithLastModified(const Aws::String &value)
Definition: CodeSigningConfig.h:267
Aws::Lambda::Model::CodeSigningConfig::LastModifiedHasBeenSet
bool LastModifiedHasBeenSet() const
Definition: CodeSigningConfig.h:243
Aws::Lambda::Model::CodeSigningConfig::WithDescription
CodeSigningConfig & WithDescription(Aws::String &&value)
Definition: CodeSigningConfig.h:157
Aws::Lambda::Model::CodeSigningConfig::SetDescription
void SetDescription(const Aws::String &value)
Definition: CodeSigningConfig.h:137
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigId
CodeSigningConfig & WithCodeSigningConfigId(Aws::String &&value)
Definition: CodeSigningConfig.h:75
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningPolicies
void SetCodeSigningPolicies(const CodeSigningPolicies &value)
Definition: CodeSigningConfig.h:212
Aws::Lambda::Model::CodeSigningConfig::AllowedPublishersHasBeenSet
bool AllowedPublishersHasBeenSet() const
Definition: CodeSigningConfig.h:173
Aws::Lambda::Model::CodeSigningConfig::GetCodeSigningConfigArn
const Aws::String & GetCodeSigningConfigArn() const
Definition: CodeSigningConfig.h:86
Aws::Lambda::Model::CodeSigningConfig::SetLastModified
void SetLastModified(Aws::String &&value)
Definition: CodeSigningConfig.h:255
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::CodeSigningConfig::SetLastModified
void SetLastModified(const char *value)
Definition: CodeSigningConfig.h:261
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::CodeSigningConfig::SetAllowedPublishers
void SetAllowedPublishers(const AllowedPublishers &value)
Definition: CodeSigningConfig.h:178
Aws::Lambda::Model::CodeSigningConfig::SetAllowedPublishers
void SetAllowedPublishers(AllowedPublishers &&value)
Definition: CodeSigningConfig.h:183
AllowedPublishers.h
Aws::Lambda::Model::CodeSigningConfig::CodeSigningConfigIdHasBeenSet
bool CodeSigningConfigIdHasBeenSet() const
Definition: CodeSigningConfig.h:50
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningPolicies
void SetCodeSigningPolicies(CodeSigningPolicies &&value)
Definition: CodeSigningConfig.h:218
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const char *value)
Definition: CodeSigningConfig.h:106
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigArn
CodeSigningConfig & WithCodeSigningConfigArn(const Aws::String &value)
Definition: CodeSigningConfig.h:111
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigId
CodeSigningConfig & WithCodeSigningConfigId(const Aws::String &value)
Definition: CodeSigningConfig.h:70
Aws::Lambda::Model::CodeSigningConfig::CodeSigningConfig
CodeSigningConfig()
Aws::Lambda::Model::CodeSigningConfig::GetLastModified
const Aws::String & GetLastModified() const
Definition: CodeSigningConfig.h:237
Lambda_EXPORTS.h
Aws::Lambda::Model::CodeSigningPolicies
Definition: CodeSigningPolicies.h:33