AWS SDK for C++  1.9.126
AWS SDK for C++
DeleteAliasRequest.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 "DeleteAlias"; }
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 DeleteAliasRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
106 
117  inline DeleteAliasRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
118 
129  inline DeleteAliasRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
130 
131 
135  inline const Aws::String& GetName() const{ return m_name; }
136 
140  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
141 
145  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
146 
150  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
151 
155  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
156 
160  inline DeleteAliasRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
161 
165  inline DeleteAliasRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
166 
170  inline DeleteAliasRequest& WithName(const char* value) { SetName(value); return *this;}
171 
172  private:
173 
174  Aws::String m_functionName;
175  bool m_functionNameHasBeenSet;
176 
177  Aws::String m_name;
178  bool m_nameHasBeenSet;
179  };
180 
181 } // namespace Model
182 } // namespace Lambda
183 } // namespace Aws
Aws::Lambda::Model::DeleteAliasRequest::SetName
void SetName(const Aws::String &value)
Definition: DeleteAliasRequest.h:145
Aws::Lambda::Model::DeleteAliasRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: DeleteAliasRequest.h:93
Aws::Lambda::Model::DeleteAliasRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::DeleteAliasRequest::WithFunctionName
DeleteAliasRequest & WithFunctionName(const Aws::String &value)
Definition: DeleteAliasRequest.h:105
Aws::Lambda::Model::DeleteAliasRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: DeleteAliasRequest.h:140
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::DeleteAliasRequest::SetName
void SetName(const char *value)
Definition: DeleteAliasRequest.h:155
Aws::Lambda::Model::DeleteAliasRequest::SetName
void SetName(Aws::String &&value)
Definition: DeleteAliasRequest.h:150
Aws::Lambda::Model::DeleteAliasRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: DeleteAliasRequest.h:45
Aws::Lambda::Model::DeleteAliasRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: DeleteAliasRequest.h:69
Aws::Lambda::Model::DeleteAliasRequest::WithName
DeleteAliasRequest & WithName(const Aws::String &value)
Definition: DeleteAliasRequest.h:160
AWSString.h
Aws::Lambda::Model::DeleteAliasRequest
Definition: DeleteAliasRequest.h:22
LambdaRequest.h
Aws::Lambda::Model::DeleteAliasRequest::WithName
DeleteAliasRequest & WithName(Aws::String &&value)
Definition: DeleteAliasRequest.h:165
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::DeleteAliasRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: DeleteAliasRequest.h:57
Aws::Lambda::Model::DeleteAliasRequest::WithFunctionName
DeleteAliasRequest & WithFunctionName(Aws::String &&value)
Definition: DeleteAliasRequest.h:117
Aws::Lambda::Model::DeleteAliasRequest::GetName
const Aws::String & GetName() const
Definition: DeleteAliasRequest.h:135
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::DeleteAliasRequest::WithName
DeleteAliasRequest & WithName(const char *value)
Definition: DeleteAliasRequest.h:170
Aws::Lambda::Model::DeleteAliasRequest::WithFunctionName
DeleteAliasRequest & WithFunctionName(const char *value)
Definition: DeleteAliasRequest.h:129
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::DeleteAliasRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteAliasRequest.h:30
Aws::Lambda::Model::DeleteAliasRequest::DeleteAliasRequest
DeleteAliasRequest()
Aws::Lambda::Model::DeleteAliasRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: DeleteAliasRequest.h:81
Lambda_EXPORTS.h