AWS SDK for C++  1.9.20
AWS SDK for C++
DeleteFunctionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Http
15 {
16  class URI;
17 } //namespace Http
18 namespace Lambda
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteFunction"; }
35 
36  Aws::String SerializePayload() const override;
37 
38  void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39 
40 
53  inline const Aws::String& GetFunctionName() const{ return m_functionName; }
54 
67  inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
68 
81  inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
82 
95  inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
96 
109  inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
110 
123  inline DeleteFunctionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
124 
137  inline DeleteFunctionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
138 
151  inline DeleteFunctionRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
152 
153 
158  inline const Aws::String& GetQualifier() const{ return m_qualifier; }
159 
164  inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
165 
170  inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
171 
176  inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
177 
182  inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
183 
188  inline DeleteFunctionRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
189 
194  inline DeleteFunctionRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
195 
200  inline DeleteFunctionRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
201 
202  private:
203 
204  Aws::String m_functionName;
205  bool m_functionNameHasBeenSet;
206 
207  Aws::String m_qualifier;
208  bool m_qualifierHasBeenSet;
209  };
210 
211 } // namespace Model
212 } // namespace Lambda
213 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::Lambda::Model::DeleteFunctionRequest::WithFunctionName
DeleteFunctionRequest & WithFunctionName(const Aws::String &value)
Definition: DeleteFunctionRequest.h:123
Aws::Lambda::Model::DeleteFunctionRequest::QualifierHasBeenSet
bool QualifierHasBeenSet() const
Definition: DeleteFunctionRequest.h:164
Aws::Lambda::Model::DeleteFunctionRequest::GetQualifier
const Aws::String & GetQualifier() const
Definition: DeleteFunctionRequest.h:158
Aws::Lambda::Model::DeleteFunctionRequest::WithFunctionName
DeleteFunctionRequest & WithFunctionName(Aws::String &&value)
Definition: DeleteFunctionRequest.h:137
Aws::Lambda::Model::DeleteFunctionRequest
Definition: DeleteFunctionRequest.h:26
Aws::Lambda::Model::DeleteFunctionRequest::WithQualifier
DeleteFunctionRequest & WithQualifier(Aws::String &&value)
Definition: DeleteFunctionRequest.h:194
Aws::Lambda::Model::DeleteFunctionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::Lambda::Model::DeleteFunctionRequest::SetFunctionName
void SetFunctionName(const char *value)
Definition: DeleteFunctionRequest.h:109
Aws::Lambda::Model::DeleteFunctionRequest::FunctionNameHasBeenSet
bool FunctionNameHasBeenSet() const
Definition: DeleteFunctionRequest.h:67
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::DeleteFunctionRequest::WithQualifier
DeleteFunctionRequest & WithQualifier(const Aws::String &value)
Definition: DeleteFunctionRequest.h:188
Aws::Lambda::Model::DeleteFunctionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteFunctionRequest.h:34
Aws::Lambda::Model::DeleteFunctionRequest::SetFunctionName
void SetFunctionName(const Aws::String &value)
Definition: DeleteFunctionRequest.h:81
Aws::Lambda::Model::DeleteFunctionRequest::SetQualifier
void SetQualifier(Aws::String &&value)
Definition: DeleteFunctionRequest.h:176
Aws::Lambda::Model::DeleteFunctionRequest::SetFunctionName
void SetFunctionName(Aws::String &&value)
Definition: DeleteFunctionRequest.h:95
Aws::Lambda::Model::DeleteFunctionRequest::SetQualifier
void SetQualifier(const Aws::String &value)
Definition: DeleteFunctionRequest.h:170
AWSString.h
LambdaRequest.h
Aws::Lambda::LambdaRequest
Definition: LambdaRequest.h:18
Aws::Lambda::Model::DeleteFunctionRequest::WithFunctionName
DeleteFunctionRequest & WithFunctionName(const char *value)
Definition: DeleteFunctionRequest.h:151
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::DeleteFunctionRequest::GetFunctionName
const Aws::String & GetFunctionName() const
Definition: DeleteFunctionRequest.h:53
Aws::Lambda::Model::DeleteFunctionRequest::SetQualifier
void SetQualifier(const char *value)
Definition: DeleteFunctionRequest.h:182
Aws::Lambda::Model::DeleteFunctionRequest::DeleteFunctionRequest
DeleteFunctionRequest()
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::DeleteFunctionRequest::WithQualifier
DeleteFunctionRequest & WithQualifier(const char *value)
Definition: DeleteFunctionRequest.h:200
Aws::Lambda::Model::DeleteFunctionRequest::AddQueryStringParameters
void AddQueryStringParameters(Aws::Http::URI &uri) const override
Lambda_EXPORTS.h