AWS SDK for C++

AWS SDK for C++ Version 1.11.915

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
43 inline const Aws::String& GetFunctionName() const { return m_functionName; }
44 inline bool FunctionNameHasBeenSet() const { return m_functionNameHasBeenSet; }
45 template <typename FunctionNameT = Aws::String>
46 void SetFunctionName(FunctionNameT&& value) {
47 m_functionNameHasBeenSet = true;
48 m_functionName = std::forward<FunctionNameT>(value);
49 }
50 template <typename FunctionNameT = Aws::String>
52 SetFunctionName(std::forward<FunctionNameT>(value));
53 return *this;
54 }
56
58
65 inline const Aws::String& GetEndpointName() const { return m_endpointName; }
66 inline bool EndpointNameHasBeenSet() const { return m_endpointNameHasBeenSet; }
67 template <typename EndpointNameT = Aws::String>
68 void SetEndpointName(EndpointNameT&& value) {
69 m_endpointNameHasBeenSet = true;
70 m_endpointName = std::forward<EndpointNameT>(value);
71 }
72 template <typename EndpointNameT = Aws::String>
74 SetEndpointName(std::forward<EndpointNameT>(value));
75 return *this;
76 }
78 private:
79 Aws::String m_functionName;
80
81 Aws::String m_endpointName;
82 bool m_functionNameHasBeenSet = false;
83 bool m_endpointNameHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace LambdaWeb
88} // 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