AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteFunctionRequest.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/LambdaRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Http
15{
16 class URI;
17} //namespace Http
18namespace Lambda
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_LAMBDA_API DeleteFunctionRequest();
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_LAMBDA_API Aws::String SerializePayload() const override;
37
38 AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
40
42
54 inline const Aws::String& GetFunctionName() const{ return m_functionName; }
55 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
56 inline void SetFunctionName(const Aws::String& value) { m_functionNameHasBeenSet = true; m_functionName = value; }
57 inline void SetFunctionName(Aws::String&& value) { m_functionNameHasBeenSet = true; m_functionName = std::move(value); }
58 inline void SetFunctionName(const char* value) { m_functionNameHasBeenSet = true; m_functionName.assign(value); }
59 inline DeleteFunctionRequest& WithFunctionName(const Aws::String& value) { SetFunctionName(value); return *this;}
60 inline DeleteFunctionRequest& WithFunctionName(Aws::String&& value) { SetFunctionName(std::move(value)); return *this;}
61 inline DeleteFunctionRequest& WithFunctionName(const char* value) { SetFunctionName(value); return *this;}
63
65
69 inline const Aws::String& GetQualifier() const{ return m_qualifier; }
70 inline bool QualifierHasBeenSet() const { return m_qualifierHasBeenSet; }
71 inline void SetQualifier(const Aws::String& value) { m_qualifierHasBeenSet = true; m_qualifier = value; }
72 inline void SetQualifier(Aws::String&& value) { m_qualifierHasBeenSet = true; m_qualifier = std::move(value); }
73 inline void SetQualifier(const char* value) { m_qualifierHasBeenSet = true; m_qualifier.assign(value); }
74 inline DeleteFunctionRequest& WithQualifier(const Aws::String& value) { SetQualifier(value); return *this;}
75 inline DeleteFunctionRequest& WithQualifier(Aws::String&& value) { SetQualifier(std::move(value)); return *this;}
76 inline DeleteFunctionRequest& WithQualifier(const char* value) { SetQualifier(value); return *this;}
78 private:
79
80 Aws::String m_functionName;
81 bool m_functionNameHasBeenSet = false;
82
83 Aws::String m_qualifier;
84 bool m_qualifierHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace Lambda
89} // namespace Aws
DeleteFunctionRequest & WithQualifier(Aws::String &&value)
void SetFunctionName(const Aws::String &value)
DeleteFunctionRequest & WithQualifier(const Aws::String &value)
DeleteFunctionRequest & WithFunctionName(Aws::String &&value)
DeleteFunctionRequest & WithFunctionName(const char *value)
DeleteFunctionRequest & WithFunctionName(const Aws::String &value)
void SetQualifier(const Aws::String &value)
AWS_LAMBDA_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
AWS_LAMBDA_API Aws::String SerializePayload() const override
DeleteFunctionRequest & WithQualifier(const char *value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String