AWS SDK for C++  1.9.129
AWS SDK for C++
UpdateCodeSigningConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Lambda
17 {
18 namespace Model
19 {
20 
24  {
25  public:
27 
28  // Service request name is the Operation name which will send this request out,
29  // each operation should has unique request name, so that we can get operation's name from this request.
30  // Note: this is not true for response, multiple operations may have the same response name,
31  // so we can not get operation's name from response.
32  inline virtual const char* GetServiceRequestName() const override { return "UpdateCodeSigningConfig"; }
33 
34  Aws::String SerializePayload() const override;
35 
36 
40  inline const Aws::String& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; }
41 
45  inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
46 
50  inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = value; }
51 
55  inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::move(value); }
56 
60  inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn.assign(value); }
61 
65  inline UpdateCodeSigningConfigRequest& WithCodeSigningConfigArn(const Aws::String& value) { SetCodeSigningConfigArn(value); return *this;}
66 
70  inline UpdateCodeSigningConfigRequest& WithCodeSigningConfigArn(Aws::String&& value) { SetCodeSigningConfigArn(std::move(value)); return *this;}
71 
75  inline UpdateCodeSigningConfigRequest& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;}
76 
77 
81  inline const Aws::String& GetDescription() const{ return m_description; }
82 
86  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
87 
91  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 
96  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
97 
101  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
102 
106  inline UpdateCodeSigningConfigRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
107 
111  inline UpdateCodeSigningConfigRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
112 
116  inline UpdateCodeSigningConfigRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
117 
118 
122  inline const AllowedPublishers& GetAllowedPublishers() const{ return m_allowedPublishers; }
123 
127  inline bool AllowedPublishersHasBeenSet() const { return m_allowedPublishersHasBeenSet; }
128 
132  inline void SetAllowedPublishers(const AllowedPublishers& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = value; }
133 
137  inline void SetAllowedPublishers(AllowedPublishers&& value) { m_allowedPublishersHasBeenSet = true; m_allowedPublishers = std::move(value); }
138 
142  inline UpdateCodeSigningConfigRequest& WithAllowedPublishers(const AllowedPublishers& value) { SetAllowedPublishers(value); return *this;}
143 
147  inline UpdateCodeSigningConfigRequest& WithAllowedPublishers(AllowedPublishers&& value) { SetAllowedPublishers(std::move(value)); return *this;}
148 
149 
153  inline const CodeSigningPolicies& GetCodeSigningPolicies() const{ return m_codeSigningPolicies; }
154 
158  inline bool CodeSigningPoliciesHasBeenSet() const { return m_codeSigningPoliciesHasBeenSet; }
159 
163  inline void SetCodeSigningPolicies(const CodeSigningPolicies& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = value; }
164 
168  inline void SetCodeSigningPolicies(CodeSigningPolicies&& value) { m_codeSigningPoliciesHasBeenSet = true; m_codeSigningPolicies = std::move(value); }
169 
173  inline UpdateCodeSigningConfigRequest& WithCodeSigningPolicies(const CodeSigningPolicies& value) { SetCodeSigningPolicies(value); return *this;}
174 
178  inline UpdateCodeSigningConfigRequest& WithCodeSigningPolicies(CodeSigningPolicies&& value) { SetCodeSigningPolicies(std::move(value)); return *this;}
179 
180  private:
181 
182  Aws::String m_codeSigningConfigArn;
183  bool m_codeSigningConfigArnHasBeenSet;
184 
185  Aws::String m_description;
186  bool m_descriptionHasBeenSet;
187 
188  AllowedPublishers m_allowedPublishers;
189  bool m_allowedPublishersHasBeenSet;
190 
191  CodeSigningPolicies m_codeSigningPolicies;
192  bool m_codeSigningPoliciesHasBeenSet;
193  };
194 
195 } // namespace Model
196 } // namespace Lambda
197 } // namespace Aws
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(Aws::String &&value)
Definition: UpdateCodeSigningConfigRequest.h:55
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateCodeSigningConfigRequest.h:81
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::WithAllowedPublishers
UpdateCodeSigningConfigRequest & WithAllowedPublishers(const AllowedPublishers &value)
Definition: UpdateCodeSigningConfigRequest.h:142
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::CodeSigningConfigArnHasBeenSet
bool CodeSigningConfigArnHasBeenSet() const
Definition: UpdateCodeSigningConfigRequest.h:45
CodeSigningPolicies.h
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::WithDescription
UpdateCodeSigningConfigRequest & WithDescription(const char *value)
Definition: UpdateCodeSigningConfigRequest.h:116
Aws::Lambda::Model::UpdateCodeSigningConfigRequest
Definition: UpdateCodeSigningConfigRequest.h:24
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SetAllowedPublishers
void SetAllowedPublishers(AllowedPublishers &&value)
Definition: UpdateCodeSigningConfigRequest.h:137
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::GetCodeSigningConfigArn
const Aws::String & GetCodeSigningConfigArn() const
Definition: UpdateCodeSigningConfigRequest.h:40
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const char *value)
Definition: UpdateCodeSigningConfigRequest.h:60
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::AllowedPublishersHasBeenSet
bool AllowedPublishersHasBeenSet() const
Definition: UpdateCodeSigningConfigRequest.h:127
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateCodeSigningConfigRequest.h:91
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateCodeSigningConfigRequest.h:96
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SetCodeSigningPolicies
void SetCodeSigningPolicies(CodeSigningPolicies &&value)
Definition: UpdateCodeSigningConfigRequest.h:168
Aws::Lambda::Model::AllowedPublishers
Definition: AllowedPublishers.h:34
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::WithCodeSigningConfigArn
UpdateCodeSigningConfigRequest & WithCodeSigningConfigArn(const char *value)
Definition: UpdateCodeSigningConfigRequest.h:75
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::WithDescription
UpdateCodeSigningConfigRequest & WithDescription(Aws::String &&value)
Definition: UpdateCodeSigningConfigRequest.h:111
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::WithCodeSigningConfigArn
UpdateCodeSigningConfigRequest & WithCodeSigningConfigArn(const Aws::String &value)
Definition: UpdateCodeSigningConfigRequest.h:65
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::UpdateCodeSigningConfigRequest
UpdateCodeSigningConfigRequest()
AWSString.h
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SetCodeSigningPolicies
void SetCodeSigningPolicies(const CodeSigningPolicies &value)
Definition: UpdateCodeSigningConfigRequest.h:163
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::WithCodeSigningPolicies
UpdateCodeSigningConfigRequest & WithCodeSigningPolicies(CodeSigningPolicies &&value)
Definition: UpdateCodeSigningConfigRequest.h:178
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateCodeSigningConfigRequest.h:32
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::CodeSigningPoliciesHasBeenSet
bool CodeSigningPoliciesHasBeenSet() const
Definition: UpdateCodeSigningConfigRequest.h:158
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::WithCodeSigningPolicies
UpdateCodeSigningConfigRequest & WithCodeSigningPolicies(const CodeSigningPolicies &value)
Definition: UpdateCodeSigningConfigRequest.h:173
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::WithAllowedPublishers
UpdateCodeSigningConfigRequest & WithAllowedPublishers(AllowedPublishers &&value)
Definition: UpdateCodeSigningConfigRequest.h:147
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::WithDescription
UpdateCodeSigningConfigRequest & WithDescription(const Aws::String &value)
Definition: UpdateCodeSigningConfigRequest.h:106
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::GetCodeSigningPolicies
const CodeSigningPolicies & GetCodeSigningPolicies() const
Definition: UpdateCodeSigningConfigRequest.h:153
AllowedPublishers.h
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SetAllowedPublishers
void SetAllowedPublishers(const AllowedPublishers &value)
Definition: UpdateCodeSigningConfigRequest.h:132
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::GetAllowedPublishers
const AllowedPublishers & GetAllowedPublishers() const
Definition: UpdateCodeSigningConfigRequest.h:122
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateCodeSigningConfigRequest.h:86
Lambda_EXPORTS.h
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateCodeSigningConfigRequest.h:101
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::WithCodeSigningConfigArn
UpdateCodeSigningConfigRequest & WithCodeSigningConfigArn(Aws::String &&value)
Definition: UpdateCodeSigningConfigRequest.h:70
Aws::Lambda::Model::UpdateCodeSigningConfigRequest::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const Aws::String &value)
Definition: UpdateCodeSigningConfigRequest.h:50
Aws::Lambda::Model::CodeSigningPolicies
Definition: CodeSigningPolicies.h:35