AWS SDK for C++  1.9.129
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 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetCodeSigningConfigId() const{ return m_codeSigningConfigId; }
48 
52  inline bool CodeSigningConfigIdHasBeenSet() const { return m_codeSigningConfigIdHasBeenSet; }
53 
57  inline void SetCodeSigningConfigId(const Aws::String& value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId = value; }
58 
62  inline void SetCodeSigningConfigId(Aws::String&& value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId = std::move(value); }
63 
67  inline void SetCodeSigningConfigId(const char* value) { m_codeSigningConfigIdHasBeenSet = true; m_codeSigningConfigId.assign(value); }
68 
72  inline CodeSigningConfig& WithCodeSigningConfigId(const Aws::String& value) { SetCodeSigningConfigId(value); return *this;}
73 
77  inline CodeSigningConfig& WithCodeSigningConfigId(Aws::String&& value) { SetCodeSigningConfigId(std::move(value)); return *this;}
78 
82  inline CodeSigningConfig& WithCodeSigningConfigId(const char* value) { SetCodeSigningConfigId(value); return *this;}
83 
84 
88  inline const Aws::String& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; }
89 
93  inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
94 
98  inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = value; }
99 
103  inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::move(value); }
104 
108  inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn.assign(value); }
109 
113  inline CodeSigningConfig& WithCodeSigningConfigArn(const Aws::String& value) { SetCodeSigningConfigArn(value); return *this;}
114 
118  inline CodeSigningConfig& WithCodeSigningConfigArn(Aws::String&& value) { SetCodeSigningConfigArn(std::move(value)); return *this;}
119 
123  inline CodeSigningConfig& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;}
124 
125 
129  inline const Aws::String& GetDescription() const{ return m_description; }
130 
134  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
135 
139  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
140 
144  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
145 
149  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
150 
154  inline CodeSigningConfig& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
155 
159  inline CodeSigningConfig& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
160 
164  inline CodeSigningConfig& WithDescription(const char* value) { SetDescription(value); return *this;}
165 
166 
170  inline const AllowedPublishers& GetAllowedPublishers() const{ return m_allowedPublishers; }
171 
175  inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
176 
180  inline void SetAllowedPublishers(const AllowedPublishers& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = value; }
181 
185  inline void SetAllowedPublishers(AllowedPublishers&& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = std::move(value); }
186 
190  inline CodeSigningConfig& WithAllowedPublishers(const AllowedPublishers& value) { SetAllowedPublishers(value); return *this;}
191 
195  inline CodeSigningConfig& WithAllowedPublishers(AllowedPublishers&& value) { SetAllowedPublishers(std::move(value)); return *this;}
196 
197 
202  inline const CodeSigningPolicies& GetCodeSigningPolicies() const{ return m_codeSigningPolicies; }
203 
208  inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
209 
214  inline void SetCodeSigningPolicies(const CodeSigningPolicies& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = value; }
215 
220  inline void SetCodeSigningPolicies(CodeSigningPolicies&& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = std::move(value); }
221 
226  inline CodeSigningConfig& WithCodeSigningPolicies(const CodeSigningPolicies& value) { SetCodeSigningPolicies(value); return *this;}
227 
232  inline CodeSigningConfig& WithCodeSigningPolicies(CodeSigningPolicies&& value) { SetCodeSigningPolicies(std::move(value)); return *this;}
233 
234 
239  inline const Aws::String& GetLastModified() const{ return m_lastModified; }
240 
245  inline bool LastModifiedHasBeenSet() const { return m_lastModifiedHasBeenSet; }
246 
251  inline void SetLastModified(const Aws::String& value) { m_lastModifiedHasBeenSet = true; m_lastModified = value; }
252 
257  inline void SetLastModified(Aws::String&& value) { m_lastModifiedHasBeenSet = true; m_lastModified = std::move(value); }
258 
263  inline void SetLastModified(const char* value) { m_lastModifiedHasBeenSet = true; m_lastModified.assign(value); }
264 
269  inline CodeSigningConfig& WithLastModified(const Aws::String& value) { SetLastModified(value); return *this;}
270 
275  inline CodeSigningConfig& WithLastModified(Aws::String&& value) { SetLastModified(std::move(value)); return *this;}
276 
281  inline CodeSigningConfig& WithLastModified(const char* value) { SetLastModified(value); return *this;}
282 
283  private:
284 
285  Aws::String m_codeSigningConfigId;
286  bool m_codeSigningConfigIdHasBeenSet;
287 
288  Aws::String m_codeSigningConfigArn;
289  bool m_codeSigningConfigArnHasBeenSet;
290 
291  Aws::String m_description;
292  bool m_descriptionHasBeenSet;
293 
294  AllowedPublishers m_allowedPublishers;
295  bool m_allowedPublishersHasBeenSet;
296 
297  CodeSigningPolicies m_codeSigningPolicies;
298  bool m_codeSigningPoliciesHasBeenSet;
299 
300  Aws::String m_lastModified;
301  bool m_lastModifiedHasBeenSet;
302  };
303 
304 } // namespace Model
305 } // namespace Lambda
306 } // namespace Aws
Aws::Lambda::Model::CodeSigningConfig::SetDescription
void SetDescription(const char *value)
Definition: CodeSigningConfig.h:149
Aws::Lambda::Model::CodeSigningConfig::GetCodeSigningConfigId
const Aws::String & GetCodeSigningConfigId() const
Definition: CodeSigningConfig.h:47
Aws::Lambda::Model::CodeSigningConfig::SetLastModified
void SetLastModified(const Aws::String &value)
Definition: CodeSigningConfig.h:251
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigId
void SetCodeSigningConfigId(const Aws::String &value)
Definition: CodeSigningConfig.h:57
Aws::Lambda::Model::CodeSigningConfig::operator=
CodeSigningConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::CodeSigningConfig::GetAllowedPublishers
const AllowedPublishers & GetAllowedPublishers() const
Definition: CodeSigningConfig.h:170
Aws::Lambda::Model::CodeSigningConfig::GetDescription
const Aws::String & GetDescription() const
Definition: CodeSigningConfig.h:129
Aws::Lambda::Model::CodeSigningConfig::GetCodeSigningPolicies
const CodeSigningPolicies & GetCodeSigningPolicies() const
Definition: CodeSigningConfig.h:202
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const Aws::String &value)
Definition: CodeSigningConfig.h:98
CodeSigningPolicies.h
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigId
void SetCodeSigningConfigId(const char *value)
Definition: CodeSigningConfig.h:67
Aws::Lambda::Model::CodeSigningConfig
Definition: CodeSigningConfig.h:36
Aws::Lambda::Model::CodeSigningConfig::WithDescription
CodeSigningConfig & WithDescription(const char *value)
Definition: CodeSigningConfig.h:164
Aws::Lambda::Model::CodeSigningConfig::WithLastModified
CodeSigningConfig & WithLastModified(Aws::String &&value)
Definition: CodeSigningConfig.h:275
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(Aws::String &&value)
Definition: CodeSigningConfig.h:103
Aws::Lambda::Model::CodeSigningConfig::SetDescription
void SetDescription(Aws::String &&value)
Definition: CodeSigningConfig.h:144
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigArn
CodeSigningConfig & WithCodeSigningConfigArn(Aws::String &&value)
Definition: CodeSigningConfig.h:118
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:123
Aws::Lambda::Model::CodeSigningConfig::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningPolicies
CodeSigningConfig & WithCodeSigningPolicies(const CodeSigningPolicies &value)
Definition: CodeSigningConfig.h:226
Aws::Lambda::Model::CodeSigningConfig::WithLastModified
CodeSigningConfig & WithLastModified(const char *value)
Definition: CodeSigningConfig.h:281
Aws::Lambda::Model::CodeSigningConfig::WithDescription
CodeSigningConfig & WithDescription(const Aws::String &value)
Definition: CodeSigningConfig.h:154
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningPolicies
CodeSigningConfig & WithCodeSigningPolicies(CodeSigningPolicies &&value)
Definition: CodeSigningConfig.h:232
Aws::Lambda::Model::CodeSigningConfig::WithAllowedPublishers
CodeSigningConfig & WithAllowedPublishers(const AllowedPublishers &value)
Definition: CodeSigningConfig.h:190
Aws::Lambda::Model::CodeSigningConfig::WithAllowedPublishers
CodeSigningConfig & WithAllowedPublishers(AllowedPublishers &&value)
Definition: CodeSigningConfig.h:195
Aws::Lambda::Model::CodeSigningConfig::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CodeSigningConfig.h:134
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigId
CodeSigningConfig & WithCodeSigningConfigId(const char *value)
Definition: CodeSigningConfig.h:82
Aws::Lambda::Model::CodeSigningConfig::CodeSigningConfigArnHasBeenSet
bool CodeSigningConfigArnHasBeenSet() const
Definition: CodeSigningConfig.h:93
Aws::Lambda::Model::CodeSigningConfig::CodeSigningPoliciesHasBeenSet
bool CodeSigningPoliciesHasBeenSet() const
Definition: CodeSigningConfig.h:208
Aws::Lambda::Model::AllowedPublishers
Definition: AllowedPublishers.h:34
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigId
void SetCodeSigningConfigId(Aws::String &&value)
Definition: CodeSigningConfig.h:62
Aws::Lambda::Model::CodeSigningConfig::WithLastModified
CodeSigningConfig & WithLastModified(const Aws::String &value)
Definition: CodeSigningConfig.h:269
Aws::Lambda::Model::CodeSigningConfig::LastModifiedHasBeenSet
bool LastModifiedHasBeenSet() const
Definition: CodeSigningConfig.h:245
Aws::Lambda::Model::CodeSigningConfig::WithDescription
CodeSigningConfig & WithDescription(Aws::String &&value)
Definition: CodeSigningConfig.h:159
Aws::Lambda::Model::CodeSigningConfig::SetDescription
void SetDescription(const Aws::String &value)
Definition: CodeSigningConfig.h:139
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigId
CodeSigningConfig & WithCodeSigningConfigId(Aws::String &&value)
Definition: CodeSigningConfig.h:77
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningPolicies
void SetCodeSigningPolicies(const CodeSigningPolicies &value)
Definition: CodeSigningConfig.h:214
Aws::Lambda::Model::CodeSigningConfig::AllowedPublishersHasBeenSet
bool AllowedPublishersHasBeenSet() const
Definition: CodeSigningConfig.h:175
Aws::Lambda::Model::CodeSigningConfig::GetCodeSigningConfigArn
const Aws::String & GetCodeSigningConfigArn() const
Definition: CodeSigningConfig.h:88
Aws::Lambda::Model::CodeSigningConfig::SetLastModified
void SetLastModified(Aws::String &&value)
Definition: CodeSigningConfig.h:257
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:263
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:180
Aws::Lambda::Model::CodeSigningConfig::SetAllowedPublishers
void SetAllowedPublishers(AllowedPublishers &&value)
Definition: CodeSigningConfig.h:185
AllowedPublishers.h
Aws::Lambda::Model::CodeSigningConfig::CodeSigningConfigIdHasBeenSet
bool CodeSigningConfigIdHasBeenSet() const
Definition: CodeSigningConfig.h:52
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningPolicies
void SetCodeSigningPolicies(CodeSigningPolicies &&value)
Definition: CodeSigningConfig.h:220
Aws::Lambda::Model::CodeSigningConfig::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const char *value)
Definition: CodeSigningConfig.h:108
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigArn
CodeSigningConfig & WithCodeSigningConfigArn(const Aws::String &value)
Definition: CodeSigningConfig.h:113
Aws::Lambda::Model::CodeSigningConfig::WithCodeSigningConfigId
CodeSigningConfig & WithCodeSigningConfigId(const Aws::String &value)
Definition: CodeSigningConfig.h:72
Aws::Lambda::Model::CodeSigningConfig::CodeSigningConfig
CodeSigningConfig()
Aws::Lambda::Model::CodeSigningConfig::GetLastModified
const Aws::String & GetLastModified() const
Definition: CodeSigningConfig.h:239
Lambda_EXPORTS.h
Aws::Lambda::Model::CodeSigningPolicies
Definition: CodeSigningPolicies.h:35