AWS SDK for C++  1.9.19
AWS SDK for C++
GetFunctionConcurrencyRequest.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 "GetFunctionConcurrency"; }
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 GetFunctionConcurrencyRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
106 
117  inline GetFunctionConcurrencyRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
118 
129  inline GetFunctionConcurrencyRequest& 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::GetFunctionConcurrencyRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: GetFunctionConcurrencyRequest.h:93
Aws::Lambda::Model::GetFunctionConcurrencyRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::GetFunctionConcurrencyRequest::WithFunctionName
GetFunctionConcurrencyRequest & WithFunctionName(Aws::String &&value)
Definition: GetFunctionConcurrencyRequest.h:117
Aws::Lambda::Model::GetFunctionConcurrencyRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: GetFunctionConcurrencyRequest.h:69
Aws::Lambda::Model::GetFunctionConcurrencyRequest
Definition: GetFunctionConcurrencyRequest.h:22
Aws::Lambda::Model::GetFunctionConcurrencyRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: GetFunctionConcurrencyRequest.h:45
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::GetFunctionConcurrencyRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetFunctionConcurrencyRequest.h:30
Aws::Lambda::Model::GetFunctionConcurrencyRequest::WithFunctionName
GetFunctionConcurrencyRequest & WithFunctionName(const Aws::String &value)
Definition: GetFunctionConcurrencyRequest.h:105
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::GetFunctionConcurrencyRequest::GetFunctionConcurrencyRequest
GetFunctionConcurrencyRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::GetFunctionConcurrencyRequest::WithFunctionName
GetFunctionConcurrencyRequest & WithFunctionName(const char *value)
Definition: GetFunctionConcurrencyRequest.h:129
Aws::Lambda::Model::GetFunctionConcurrencyRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: GetFunctionConcurrencyRequest.h:81
Lambda_EXPORTS.h
Aws::Lambda::Model::GetFunctionConcurrencyRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: GetFunctionConcurrencyRequest.h:57