AWS SDK for C++  1.9.126
AWS SDK for C++
PutFunctionCodeSigningConfigRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Lambda
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "PutFunctionCodeSigningConfig"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
38  inline const Aws::String& GetCodeSigningConfigArn() const{ return m_codeSigningConfigArn; }
39 
43  inline bool CodeSigningConfigArnHasBeenSet() const { return m_codeSigningConfigArnHasBeenSet; }
44 
48  inline void SetCodeSigningConfigArn(const Aws::String& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = value; }
49 
53  inline void SetCodeSigningConfigArn(Aws::String&& value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn = std::move(value); }
54 
58  inline void SetCodeSigningConfigArn(const char* value) { m_codeSigningConfigArnHasBeenSet = true; m_codeSigningConfigArn.assign(value); }
59 
63  inline PutFunctionCodeSigningConfigRequest& WithCodeSigningConfigArn(const Aws::String& value) { SetCodeSigningConfigArn(value); return *this;}
64 
68  inline PutFunctionCodeSigningConfigRequest& WithCodeSigningConfigArn(Aws::String&& value) { SetCodeSigningConfigArn(std::move(value)); return *this;}
69 
73  inline PutFunctionCodeSigningConfigRequest& WithCodeSigningConfigArn(const char* value) { SetCodeSigningConfigArn(value); return *this;}
74 
75 
86  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
87 
98  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
99 
110  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
111 
122  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
123 
134  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
135 
146  inline PutFunctionCodeSigningConfigRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
147 
158  inline PutFunctionCodeSigningConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
159 
170  inline PutFunctionCodeSigningConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
171 
172  private:
173 
174  Aws::String m_codeSigningConfigArn;
175  bool m_codeSigningConfigArnHasBeenSet;
176 
177  Aws::String m_functionName;
178  bool m_functionNameHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace Lambda
183 } // namespace Aws
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::WithCodeSigningConfigArn
PutFunctionCodeSigningConfigRequest & WithCodeSigningConfigArn(Aws::String &&value)
Definition: PutFunctionCodeSigningConfigRequest.h:68
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::CodeSigningConfigArnHasBeenSet
bool CodeSigningConfigArnHasBeenSet() const
Definition: PutFunctionCodeSigningConfigRequest.h:43
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: PutFunctionCodeSigningConfigRequest.h:110
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(Aws::String &&value)
Definition: PutFunctionCodeSigningConfigRequest.h:53
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutFunctionCodeSigningConfigRequest.h:30
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: PutFunctionCodeSigningConfigRequest.h:134
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const Aws::String &value)
Definition: PutFunctionCodeSigningConfigRequest.h:48
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: PutFunctionCodeSigningConfigRequest.h:86
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::WithFunctionName
PutFunctionCodeSigningConfigRequest & WithFunctionName(Aws::String &&value)
Definition: PutFunctionCodeSigningConfigRequest.h:158
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::WithFunctionName
PutFunctionCodeSigningConfigRequest & WithFunctionName(const char *value)
Definition: PutFunctionCodeSigningConfigRequest.h:170
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: PutFunctionCodeSigningConfigRequest.h:98
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest
Definition: PutFunctionCodeSigningConfigRequest.h:22
AWSString.h
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::WithCodeSigningConfigArn
PutFunctionCodeSigningConfigRequest & WithCodeSigningConfigArn(const Aws::String &value)
Definition: PutFunctionCodeSigningConfigRequest.h:63
LambdaRequest.h
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: PutFunctionCodeSigningConfigRequest.h:122
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::SetCodeSigningConfigArn
void SetCodeSigningConfigArn(const char *value)
Definition: PutFunctionCodeSigningConfigRequest.h:58
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::GetCodeSigningConfigArn
const Aws::String & GetCodeSigningConfigArn() const
Definition: PutFunctionCodeSigningConfigRequest.h:38
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::WithFunctionName
PutFunctionCodeSigningConfigRequest & WithFunctionName(const Aws::String &value)
Definition: PutFunctionCodeSigningConfigRequest.h:146
Lambda_EXPORTS.h
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::WithCodeSigningConfigArn
PutFunctionCodeSigningConfigRequest & WithCodeSigningConfigArn(const char *value)
Definition: PutFunctionCodeSigningConfigRequest.h:73
Aws::Lambda::Model::PutFunctionCodeSigningConfigRequest::PutFunctionCodeSigningConfigRequest
PutFunctionCodeSigningConfigRequest()