AWS SDK for C++

AWS SDK for C++ Version 1.11.906

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
40 inline const Aws::String& GetFunctionName() const { return m_functionName; }
41 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
42 template <typename FunctionNameT = Aws::String>
43 void SetFunctionName(FunctionNameT&& value) {
44 m_functionNameHasBeenSet = true;
45 m_functionName = std::forward<FunctionNameT>(value);
46 }
47 template <typename FunctionNameT = Aws::String>
49 SetFunctionName(std::forward<FunctionNameT>(value));
50 return *this;
51 }
53
55
60 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
61 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
62 template <typename EndpointNameT = Aws::String>
63 void SetEndpointName(EndpointNameT&& value) {
64 m_endpointNameHasBeenSet = true;
65 m_endpointName = std::forward<EndpointNameT>(value);
66 }
67 template <typename EndpointNameT = Aws::String>
69 SetEndpointName(std::forward<EndpointNameT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_functionName;
75
76 Aws::String m_endpointName;
77 bool m_functionNameHasBeenSet = false;
78 bool m_endpointNameHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace LambdaWeb
83} // 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