7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
11#include <aws/lambda-web/model/FunctionState.h>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
42 template <
typename FunctionNameT = Aws::String>
44 m_functionNameHasBeenSet =
true;
45 m_functionName = std::forward<FunctionNameT>(value);
47 template <
typename FunctionNameT = Aws::String>
59 template <
typename FunctionArnT = Aws::String>
61 m_functionArnHasBeenSet =
true;
62 m_functionArn = std::forward<FunctionArnT>(value);
64 template <
typename FunctionArnT = Aws::String>
77 m_stateHasBeenSet =
true;
91 template <
typename StateReasonT = Aws::String>
93 m_stateReasonHasBeenSet =
true;
94 m_stateReason = std::forward<StateReasonT>(value);
96 template <
typename StateReasonT = Aws::String>
108 template <
typename CreatedAtT = Aws::Utils::DateTime>
110 m_createdAtHasBeenSet =
true;
111 m_createdAt = std::forward<CreatedAtT>(value);
113 template <
typename CreatedAtT = Aws::Utils::DateTime>
125 template <
typename UpdatedAtT = Aws::Utils::DateTime>
127 m_updatedAtHasBeenSet =
true;
128 m_updatedAt = std::forward<UpdatedAtT>(value);
130 template <
typename UpdatedAtT = Aws::Utils::DateTime>
140 template <
typename RequestIdT = Aws::String>
142 m_requestIdHasBeenSet =
true;
143 m_requestId = std::forward<RequestIdT>(value);
145 template <
typename RequestIdT = Aws::String>
168 bool m_functionNameHasBeenSet =
false;
169 bool m_functionArnHasBeenSet =
false;
170 bool m_stateHasBeenSet =
false;
171 bool m_stateReasonHasBeenSet =
false;
172 bool m_createdAtHasBeenSet =
false;
173 bool m_updatedAtHasBeenSet =
false;
174 bool m_requestIdHasBeenSet =
false;
const Aws::String & GetStateReason() const
GetWebFunctionResult & WithStateReason(StateReasonT &&value)
GetWebFunctionResult & WithState(FunctionState value)
GetWebFunctionResult & WithFunctionName(FunctionNameT &&value)
const Aws::String & GetFunctionName() const
GetWebFunctionResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetFunctionArn() const
FunctionState GetState() const
const Aws::Utils::DateTime & GetCreatedAt() const
GetWebFunctionResult & WithUpdatedAt(UpdatedAtT &&value)
AWS_LAMBDAWEB_API GetWebFunctionResult()=default
void SetState(FunctionState value)
void SetFunctionArn(FunctionArnT &&value)
const Aws::String & GetRequestId() const
void SetCreatedAt(CreatedAtT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetFunctionName(FunctionNameT &&value)
AWS_LAMBDAWEB_API GetWebFunctionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetStateReason(StateReasonT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
AWS_LAMBDAWEB_API GetWebFunctionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWebFunctionResult & WithFunctionArn(FunctionArnT &&value)
void SetRequestId(RequestIdT &&value)
GetWebFunctionResult & WithCreatedAt(CreatedAtT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue