AWS SDK for C++

AWS SDK for C++ Version 1.11.916

Loading...
Searching...
No Matches
DeleteWebFunctionEndpointRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda-web/LambdaWebRequest.h>
9#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace LambdaWeb {
15namespace Model {
16
23 public:
24 AWS_LAMBDAWEB_API DeleteWebFunctionEndpointRequest() = default;
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 "DeleteWebFunctionEndpoint"; }
31
32 AWS_LAMBDAWEB_API Aws::String SerializePayload() const override;
33
35
42 inline const Aws::String& GetFunctionName() const { return m_functionName; }
43 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
44 template <typename FunctionNameT = Aws::String>
45 void SetFunctionName(FunctionNameT&& value) {
46 m_functionNameHasBeenSet = true;
47 m_functionName = std::forward<FunctionNameT>(value);
48 }
49 template <typename FunctionNameT = Aws::String>
51 SetFunctionName(std::forward<FunctionNameT>(value));
52 return *this;
53 }
55
57
64 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
65 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
66 template <typename EndpointNameT = Aws::String>
67 void SetEndpointName(EndpointNameT&& value) {
68 m_endpointNameHasBeenSet = true;
69 m_endpointName = std::forward<EndpointNameT>(value);
70 }
71 template <typename EndpointNameT = Aws::String>
73 SetEndpointName(std::forward<EndpointNameT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_functionName;
79
80 Aws::String m_endpointName;
81 bool m_functionNameHasBeenSet = false;
82 bool m_endpointNameHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace LambdaWeb
87} // namespace Aws
DeleteWebFunctionEndpointRequest & WithFunctionName(FunctionNameT &&value)
AWS_LAMBDAWEB_API DeleteWebFunctionEndpointRequest()=default
DeleteWebFunctionEndpointRequest & WithEndpointName(EndpointNameT &&value)
AWS_LAMBDAWEB_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String