AWS SDK for C++  1.9.129
AWS SDK for C++
GetFunctionCodeSigningConfigRequest.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 "GetFunctionCodeSigningConfig"; }
31 
32  Aws::String SerializePayload() const override;
33 
34 
45  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
46 
57  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
58 
69  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
70 
81  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
82 
93  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
94 
105  inline GetFunctionCodeSigningConfigRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
106 
117  inline GetFunctionCodeSigningConfigRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
118 
129  inline GetFunctionCodeSigningConfigRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
130 
131  private:
132 
133  Aws::String m_functionName;
134  bool m_functionNameHasBeenSet;
135  };
136 
137 } // namespace Model
138 } // namespace Lambda
139 } // namespace Aws
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::WithFunctionName
GetFunctionCodeSigningConfigRequest & WithFunctionName(const Aws::String &value)
Definition: GetFunctionCodeSigningConfigRequest.h:105
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest
Definition: GetFunctionCodeSigningConfigRequest.h:22
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: GetFunctionCodeSigningConfigRequest.h:57
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: GetFunctionCodeSigningConfigRequest.h:69
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: GetFunctionCodeSigningConfigRequest.h:93
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::GetFunctionCodeSigningConfigRequest
GetFunctionCodeSigningConfigRequest()
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: GetFunctionCodeSigningConfigRequest.h:81
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetFunctionCodeSigningConfigRequest.h:30
AWSString.h
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::WithFunctionName
GetFunctionCodeSigningConfigRequest & WithFunctionName(const char *value)
Definition: GetFunctionCodeSigningConfigRequest.h:129
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::WithFunctionName
GetFunctionCodeSigningConfigRequest & WithFunctionName(Aws::String &&value)
Definition: GetFunctionCodeSigningConfigRequest.h:117
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::GetFunctionCodeSigningConfigRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: GetFunctionCodeSigningConfigRequest.h:45
Lambda_EXPORTS.h