7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lambda/Lambda_EXPORTS.h>
10#include <aws/lambda/model/Cors.h>
11#include <aws/lambda/model/FunctionUrlAuthType.h>
12#include <aws/lambda/model/InvokeMode.h>
17template <
typename RESULT_TYPE>
18class AmazonWebServiceResult;
38 template <
typename FunctionUrlT = Aws::String>
40 m_functionUrlHasBeenSet =
true;
41 m_functionUrl = std::forward<FunctionUrlT>(value);
43 template <
typename FunctionUrlT = Aws::String>
55 template <
typename FunctionArnT = Aws::String>
57 m_functionArnHasBeenSet =
true;
58 m_functionArn = std::forward<FunctionArnT>(value);
60 template <
typename FunctionArnT = Aws::String>
78 m_authTypeHasBeenSet =
true;
94 template <
typename CorsT = Cors>
96 m_corsHasBeenSet =
true;
97 m_cors = std::forward<CorsT>(value);
99 template <
typename CorsT = Cors>
101 SetCors(std::forward<CorsT>(value));
113 template <
typename CreationTimeT = Aws::String>
115 m_creationTimeHasBeenSet =
true;
116 m_creationTime = std::forward<CreationTimeT>(value);
118 template <
typename CreationTimeT = Aws::String>
138 m_invokeModeHasBeenSet =
true;
139 m_invokeMode = value;
150 template <
typename RequestIdT = Aws::String>
152 m_requestIdHasBeenSet =
true;
153 m_requestId = std::forward<RequestIdT>(value);
155 template <
typename RequestIdT = Aws::String>
178 bool m_functionUrlHasBeenSet =
false;
179 bool m_functionArnHasBeenSet =
false;
180 bool m_authTypeHasBeenSet =
false;
181 bool m_corsHasBeenSet =
false;
182 bool m_creationTimeHasBeenSet =
false;
183 bool m_invokeModeHasBeenSet =
false;
184 bool m_requestIdHasBeenSet =
false;
void SetFunctionArn(FunctionArnT &&value)
void SetCors(CorsT &&value)
CreateFunctionUrlConfigResult & WithInvokeMode(InvokeMode value)
AWS_LAMBDA_API CreateFunctionUrlConfigResult()=default
const Aws::String & GetRequestId() const
CreateFunctionUrlConfigResult & WithFunctionArn(FunctionArnT &&value)
CreateFunctionUrlConfigResult & WithCors(CorsT &&value)
const Aws::String & GetFunctionArn() const
const Cors & GetCors() const
CreateFunctionUrlConfigResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetFunctionUrl() const
AWS_LAMBDA_API CreateFunctionUrlConfigResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetCreationTime() const
FunctionUrlAuthType GetAuthType() const
void SetRequestId(RequestIdT &&value)
void SetFunctionUrl(FunctionUrlT &&value)
void SetInvokeMode(InvokeMode value)
CreateFunctionUrlConfigResult & WithFunctionUrl(FunctionUrlT &&value)
CreateFunctionUrlConfigResult & WithAuthType(FunctionUrlAuthType value)
void SetAuthType(FunctionUrlAuthType value)
CreateFunctionUrlConfigResult & WithCreationTime(CreationTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
InvokeMode GetInvokeMode() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
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