AWS SDK for C++

AWS SDK for C++ Version 1.11.906

Loading...
Searching...
No Matches
GetWebFunctionEndpointRequest.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
24 public:
25 AWS_LAMBDAWEB_API GetWebFunctionEndpointRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetWebFunctionEndpoint"; }
32
33 AWS_LAMBDAWEB_API Aws::String SerializePayload() const override;
34
36
41 inline const Aws::String& GetFunctionName() const { return m_functionName; }
42 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
43 template <typename FunctionNameT = Aws::String>
44 void SetFunctionName(FunctionNameT&& value) {
45 m_functionNameHasBeenSet = true;
46 m_functionName = std::forward<FunctionNameT>(value);
47 }
48 template <typename FunctionNameT = Aws::String>
50 SetFunctionName(std::forward<FunctionNameT>(value));
51 return *this;
52 }
54
56
61 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
62 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
63 template <typename EndpointNameT = Aws::String>
64 void SetEndpointName(EndpointNameT&& value) {
65 m_endpointNameHasBeenSet = true;
66 m_endpointName = std::forward<EndpointNameT>(value);
67 }
68 template <typename EndpointNameT = Aws::String>
70 SetEndpointName(std::forward<EndpointNameT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_functionName;
76
77 Aws::String m_endpointName;
78 bool m_functionNameHasBeenSet = false;
79 bool m_endpointNameHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace LambdaWeb
84} // namespace Aws
AWS_LAMBDAWEB_API GetWebFunctionEndpointRequest()=default
GetWebFunctionEndpointRequest & WithEndpointName(EndpointNameT &&value)
AWS_LAMBDAWEB_API Aws::String SerializePayload() const override
GetWebFunctionEndpointRequest & WithFunctionName(FunctionNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String