7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
12#include <aws/lambda-web/model/FunctionEndpointSummary.h>
13#include <aws/lambda-web/model/FunctionRevisionSummary.h>
14#include <aws/lambda-web/model/FunctionState.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template <
typename FunctionNameT = Aws::String>
48 m_functionNameHasBeenSet =
true;
49 m_functionName = std::forward<FunctionNameT>(value);
51 template <
typename FunctionNameT = Aws::String>
63 template <
typename FunctionArnT = Aws::String>
65 m_functionArnHasBeenSet =
true;
66 m_functionArn = std::forward<FunctionArnT>(value);
68 template <
typename FunctionArnT = Aws::String>
81 m_stateHasBeenSet =
true;
95 template <
typename StateReasonT = Aws::String>
97 m_stateReasonHasBeenSet =
true;
98 m_stateReason = std::forward<StateReasonT>(value);
100 template <
typename StateReasonT = Aws::String>
112 template <
typename CreatedAtT = Aws::Utils::DateTime>
114 m_createdAtHasBeenSet =
true;
115 m_createdAt = std::forward<CreatedAtT>(value);
117 template <
typename CreatedAtT = Aws::Utils::DateTime>
129 template <
typename UpdatedAtT = Aws::Utils::DateTime>
131 m_updatedAtHasBeenSet =
true;
132 m_updatedAt = std::forward<UpdatedAtT>(value);
134 template <
typename UpdatedAtT = Aws::Utils::DateTime>
146 template <
typename RevisionT = FunctionRevisionSummary>
148 m_revisionHasBeenSet =
true;
149 m_revision = std::forward<RevisionT>(value);
151 template <
typename RevisionT = FunctionRevisionSummary>
163 template <
typename Endpo
intT = FunctionEndpo
intSummary>
165 m_endpointHasBeenSet =
true;
166 m_endpoint = std::forward<EndpointT>(value);
168 template <
typename Endpo
intT = FunctionEndpo
intSummary>
180 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
182 m_tagsHasBeenSet =
true;
183 m_tags = std::forward<TagsT>(value);
185 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
187 SetTags(std::forward<TagsT>(value));
190 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
192 m_tagsHasBeenSet =
true;
193 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
201 template <
typename RequestIdT = Aws::String>
203 m_requestIdHasBeenSet =
true;
204 m_requestId = std::forward<RequestIdT>(value);
206 template <
typename RequestIdT = Aws::String>
227 FunctionRevisionSummary m_revision;
229 FunctionEndpointSummary m_endpoint;
235 bool m_functionNameHasBeenSet =
false;
236 bool m_functionArnHasBeenSet =
false;
237 bool m_stateHasBeenSet =
false;
238 bool m_stateReasonHasBeenSet =
false;
239 bool m_createdAtHasBeenSet =
false;
240 bool m_updatedAtHasBeenSet =
false;
241 bool m_revisionHasBeenSet =
false;
242 bool m_endpointHasBeenSet =
false;
243 bool m_tagsHasBeenSet =
false;
244 bool m_requestIdHasBeenSet =
false;
void SetFunctionName(FunctionNameT &&value)
void SetStateReason(StateReasonT &&value)
CreateWebFunctionResult & WithRevision(RevisionT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
CreateWebFunctionResult & WithTags(TagsT &&value)
AWS_LAMBDAWEB_API CreateWebFunctionResult()=default
AWS_LAMBDAWEB_API CreateWebFunctionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
void SetFunctionArn(FunctionArnT &&value)
const Aws::String & GetFunctionArn() const
CreateWebFunctionResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
FunctionState GetState() const
void SetRevision(RevisionT &&value)
void SetCreatedAt(CreatedAtT &&value)
const Aws::String & GetStateReason() const
void SetEndpoint(EndpointT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetState(FunctionState value)
const FunctionRevisionSummary & GetRevision() const
CreateWebFunctionResult & WithUpdatedAt(UpdatedAtT &&value)
CreateWebFunctionResult & WithEndpoint(EndpointT &&value)
CreateWebFunctionResult & WithState(FunctionState value)
const FunctionEndpointSummary & GetEndpoint() const
const Aws::String & GetRequestId() const
CreateWebFunctionResult & WithRequestId(RequestIdT &&value)
CreateWebFunctionResult & WithStateReason(StateReasonT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetTags(TagsT &&value)
AWS_LAMBDAWEB_API CreateWebFunctionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetFunctionName() const
const Aws::Utils::DateTime & GetUpdatedAt() const
CreateWebFunctionResult & WithFunctionArn(FunctionArnT &&value)
CreateWebFunctionResult & WithCreatedAt(CreatedAtT &&value)
CreateWebFunctionResult & WithFunctionName(FunctionNameT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue