AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
CreateFunctionUrlConfigResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/lambda/Lambda_EXPORTS.h>
9#include <aws/lambda/model/Cors.h>
10#include <aws/lambda/model/FunctionUrlAuthType.h>
11#include <aws/lambda/model/InvokeMode.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Lambda {
25namespace Model {
27 public:
28 AWS_LAMBDA_API CreateFunctionUrlConfigResult() = default;
31
33
36 inline const Aws::String& GetFunctionUrl() const { return m_functionUrl; }
37 template <typename FunctionUrlT = Aws::String>
38 void SetFunctionUrl(FunctionUrlT&& value) {
39 m_functionUrlHasBeenSet = true;
40 m_functionUrl = std::forward<FunctionUrlT>(value);
41 }
42 template <typename FunctionUrlT = Aws::String>
44 SetFunctionUrl(std::forward<FunctionUrlT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetFunctionArn() const { return m_functionArn; }
54 template <typename FunctionArnT = Aws::String>
55 void SetFunctionArn(FunctionArnT&& value) {
56 m_functionArnHasBeenSet = true;
57 m_functionArn = std::forward<FunctionArnT>(value);
58 }
59 template <typename FunctionArnT = Aws::String>
61 SetFunctionArn(std::forward<FunctionArnT>(value));
62 return *this;
63 }
65
67
75 inline FunctionUrlAuthType GetAuthType() const { return m_authType; }
76 inline void SetAuthType(FunctionUrlAuthType value) {
77 m_authTypeHasBeenSet = true;
78 m_authType = value;
79 }
81 SetAuthType(value);
82 return *this;
83 }
85
87
92 inline const Cors& GetCors() const { return m_cors; }
93 template <typename CorsT = Cors>
94 void SetCors(CorsT&& value) {
95 m_corsHasBeenSet = true;
96 m_cors = std::forward<CorsT>(value);
97 }
98 template <typename CorsT = Cors>
100 SetCors(std::forward<CorsT>(value));
101 return *this;
102 }
104
106
111 inline const Aws::String& GetCreationTime() const { return m_creationTime; }
112 template <typename CreationTimeT = Aws::String>
113 void SetCreationTime(CreationTimeT&& value) {
114 m_creationTimeHasBeenSet = true;
115 m_creationTime = std::forward<CreationTimeT>(value);
116 }
117 template <typename CreationTimeT = Aws::String>
119 SetCreationTime(std::forward<CreationTimeT>(value));
120 return *this;
121 }
123
125
135 inline InvokeMode GetInvokeMode() const { return m_invokeMode; }
136 inline void SetInvokeMode(InvokeMode value) {
137 m_invokeModeHasBeenSet = true;
138 m_invokeMode = value;
139 }
141 SetInvokeMode(value);
142 return *this;
143 }
145
147
148 inline const Aws::String& GetRequestId() const { return m_requestId; }
149 template <typename RequestIdT = Aws::String>
150 void SetRequestId(RequestIdT&& value) {
151 m_requestIdHasBeenSet = true;
152 m_requestId = std::forward<RequestIdT>(value);
153 }
154 template <typename RequestIdT = Aws::String>
156 SetRequestId(std::forward<RequestIdT>(value));
157 return *this;
158 }
160 private:
161 Aws::String m_functionUrl;
162
163 Aws::String m_functionArn;
164
166
167 Cors m_cors;
168
169 Aws::String m_creationTime;
170
171 InvokeMode m_invokeMode{InvokeMode::NOT_SET};
172
173 Aws::String m_requestId;
174 bool m_functionUrlHasBeenSet = false;
175 bool m_functionArnHasBeenSet = false;
176 bool m_authTypeHasBeenSet = false;
177 bool m_corsHasBeenSet = false;
178 bool m_creationTimeHasBeenSet = false;
179 bool m_invokeModeHasBeenSet = false;
180 bool m_requestIdHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace Lambda
185} // namespace Aws
CreateFunctionUrlConfigResult & WithInvokeMode(InvokeMode value)
AWS_LAMBDA_API CreateFunctionUrlConfigResult()=default
CreateFunctionUrlConfigResult & WithFunctionArn(FunctionArnT &&value)
CreateFunctionUrlConfigResult & WithCors(CorsT &&value)
CreateFunctionUrlConfigResult & WithRequestId(RequestIdT &&value)
AWS_LAMBDA_API CreateFunctionUrlConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateFunctionUrlConfigResult & WithFunctionUrl(FunctionUrlT &&value)
CreateFunctionUrlConfigResult & WithAuthType(FunctionUrlAuthType value)
CreateFunctionUrlConfigResult & WithCreationTime(CreationTimeT &&value)
AWS_LAMBDA_API CreateFunctionUrlConfigResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue