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/core/utils/memory/stl/AWSVector.h>
12#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
13#include <aws/lambda-web/model/AuthType.h>
14#include <aws/lambda-web/model/AutoDeploymentMode.h>
15#include <aws/lambda-web/model/EndpointState.h>
16#include <aws/lambda-web/model/EndpointType.h>
17#include <aws/lambda-web/model/EndpointUpdateStatus.h>
18#include <aws/lambda-web/model/RegionalEndpoint.h>
19#include <aws/lambda-web/model/RevisionWeight.h>
20#include <aws/lambda-web/model/ScalingConfig.h>
21#include <aws/lambda-web/model/ThrottleConfig.h>
26template <
typename RESULT_TYPE>
27class AmazonWebServiceResult;
52 template <
typename FunctionArnT = Aws::String>
54 m_functionArnHasBeenSet =
true;
55 m_functionArn = std::forward<FunctionArnT>(value);
57 template <
typename FunctionArnT = Aws::String>
69 template <
typename Endpo
intArnT = Aws::String>
71 m_endpointArnHasBeenSet =
true;
72 m_endpointArn = std::forward<EndpointArnT>(value);
74 template <
typename Endpo
intArnT = Aws::String>
86 template <
typename Endpo
intNameT = Aws::String>
88 m_endpointNameHasBeenSet =
true;
89 m_endpointName = std::forward<EndpointNameT>(value);
91 template <
typename Endpo
intNameT = Aws::String>
103 template <
typename DescriptionT = Aws::String>
105 m_descriptionHasBeenSet =
true;
106 m_description = std::forward<DescriptionT>(value);
108 template <
typename DescriptionT = Aws::String>
119 m_endpointTypeHasBeenSet =
true;
120 m_endpointType = value;
133 template <
typename DomainNameT = Aws::String>
135 m_domainNameHasBeenSet =
true;
136 m_domainName = std::forward<DomainNameT>(value);
138 template <
typename DomainNameT = Aws::String>
149 m_authTypeHasBeenSet =
true;
162 m_autoDeploymentModeHasBeenSet =
true;
163 m_autoDeploymentMode = value;
177 template <
typename RevisionWeightsT = Aws::Vector<RevisionWeight>>
179 m_revisionWeightsHasBeenSet =
true;
180 m_revisionWeights = std::forward<RevisionWeightsT>(value);
182 template <
typename RevisionWeightsT = Aws::Vector<RevisionWeight>>
187 template <
typename RevisionWeightsT = RevisionWeight>
189 m_revisionWeightsHasBeenSet =
true;
190 m_revisionWeights.emplace_back(std::forward<RevisionWeightsT>(value));
200 template <
typename RegionsT = Aws::Vector<Aws::String>>
202 m_regionsHasBeenSet =
true;
203 m_regions = std::forward<RegionsT>(value);
205 template <
typename RegionsT = Aws::Vector<Aws::String>>
210 template <
typename RegionsT = Aws::String>
212 m_regionsHasBeenSet =
true;
213 m_regions.emplace_back(std::forward<RegionsT>(value));
221 template <
typename ScalingConfigT = ScalingConfig>
223 m_scalingConfigHasBeenSet =
true;
224 m_scalingConfig = std::forward<ScalingConfigT>(value);
226 template <
typename ScalingConfigT = ScalingConfig>
236 template <
typename ThrottleConfigT = ThrottleConfig>
238 m_throttleConfigHasBeenSet =
true;
239 m_throttleConfig = std::forward<ThrottleConfigT>(value);
241 template <
typename ThrottleConfigT = ThrottleConfig>
254 m_stateHasBeenSet =
true;
268 template <
typename StateReasonT = Aws::String>
270 m_stateReasonHasBeenSet =
true;
271 m_stateReason = std::forward<StateReasonT>(value);
273 template <
typename StateReasonT = Aws::String>
284 m_updateStatusHasBeenSet =
true;
285 m_updateStatus = value;
298 template <
typename UpdateStatusReasonT = Aws::String>
300 m_updateStatusReasonHasBeenSet =
true;
301 m_updateStatusReason = std::forward<UpdateStatusReasonT>(value);
303 template <
typename UpdateStatusReasonT = Aws::String>
315 template <
typename RegionalEndpo
intsT = Aws::Map<Aws::String, RegionalEndpo
int>>
317 m_regionalEndpointsHasBeenSet =
true;
318 m_regionalEndpoints = std::forward<RegionalEndpointsT>(value);
320 template <
typename RegionalEndpo
intsT = Aws::Map<Aws::String, RegionalEndpo
int>>
325 template <
typename RegionalEndpo
intsKeyT = Aws::String,
typename RegionalEndpo
intsValueT = RegionalEndpo
int>
327 m_regionalEndpointsHasBeenSet =
true;
328 m_regionalEndpoints.emplace(std::forward<RegionalEndpointsKeyT>(key), std::forward<RegionalEndpointsValueT>(value));
338 template <
typename CreatedAtT = Aws::Utils::DateTime>
340 m_createdAtHasBeenSet =
true;
341 m_createdAt = std::forward<CreatedAtT>(value);
343 template <
typename CreatedAtT = Aws::Utils::DateTime>
355 template <
typename UpdatedAtT = Aws::Utils::DateTime>
357 m_updatedAtHasBeenSet =
true;
358 m_updatedAt = std::forward<UpdatedAtT>(value);
360 template <
typename UpdatedAtT = Aws::Utils::DateTime>
370 template <
typename RequestIdT = Aws::String>
372 m_requestIdHasBeenSet =
true;
373 m_requestId = std::forward<RequestIdT>(value);
375 template <
typename RequestIdT = Aws::String>
404 ScalingConfig m_scalingConfig;
406 ThrottleConfig m_throttleConfig;
424 bool m_functionArnHasBeenSet =
false;
425 bool m_endpointArnHasBeenSet =
false;
426 bool m_endpointNameHasBeenSet =
false;
427 bool m_descriptionHasBeenSet =
false;
428 bool m_endpointTypeHasBeenSet =
false;
429 bool m_domainNameHasBeenSet =
false;
430 bool m_authTypeHasBeenSet =
false;
431 bool m_autoDeploymentModeHasBeenSet =
false;
432 bool m_revisionWeightsHasBeenSet =
false;
433 bool m_regionsHasBeenSet =
false;
434 bool m_scalingConfigHasBeenSet =
false;
435 bool m_throttleConfigHasBeenSet =
false;
436 bool m_stateHasBeenSet =
false;
437 bool m_stateReasonHasBeenSet =
false;
438 bool m_updateStatusHasBeenSet =
false;
439 bool m_updateStatusReasonHasBeenSet =
false;
440 bool m_regionalEndpointsHasBeenSet =
false;
441 bool m_createdAtHasBeenSet =
false;
442 bool m_updatedAtHasBeenSet =
false;
443 bool m_requestIdHasBeenSet =
false;
UpdateWebFunctionEndpointResult & WithState(EndpointState value)
const Aws::String & GetDomainName() const
void SetRegions(RegionsT &&value)
const Aws::Vector< RevisionWeight > & GetRevisionWeights() const
void SetState(EndpointState value)
EndpointState GetState() const
void SetDomainName(DomainNameT &&value)
void SetDescription(DescriptionT &&value)
AWS_LAMBDAWEB_API UpdateWebFunctionEndpointResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetUpdateStatusReason() const
UpdateWebFunctionEndpointResult & WithEndpointName(EndpointNameT &&value)
const Aws::String & GetFunctionArn() const
const Aws::String & GetDescription() const
UpdateWebFunctionEndpointResult & WithUpdateStatus(EndpointUpdateStatus value)
void SetAuthType(AuthType value)
UpdateWebFunctionEndpointResult & WithRegionalEndpoints(RegionalEndpointsT &&value)
void SetThrottleConfig(ThrottleConfigT &&value)
void SetRegionalEndpoints(RegionalEndpointsT &&value)
UpdateWebFunctionEndpointResult & WithDescription(DescriptionT &&value)
const Aws::Vector< Aws::String > & GetRegions() const
void SetAutoDeploymentMode(AutoDeploymentMode value)
UpdateWebFunctionEndpointResult & AddRegionalEndpoints(RegionalEndpointsKeyT &&key, RegionalEndpointsValueT &&value)
const Aws::Map< Aws::String, RegionalEndpoint > & GetRegionalEndpoints() const
const ScalingConfig & GetScalingConfig() const
const Aws::Utils::DateTime & GetCreatedAt() const
void SetUpdateStatus(EndpointUpdateStatus value)
const Aws::String & GetStateReason() const
AWS_LAMBDAWEB_API UpdateWebFunctionEndpointResult()=default
UpdateWebFunctionEndpointResult & WithThrottleConfig(ThrottleConfigT &&value)
EndpointUpdateStatus GetUpdateStatus() const
void SetEndpointName(EndpointNameT &&value)
void SetRevisionWeights(RevisionWeightsT &&value)
UpdateWebFunctionEndpointResult & WithEndpointType(EndpointType value)
UpdateWebFunctionEndpointResult & WithCreatedAt(CreatedAtT &&value)
AWS_LAMBDAWEB_API UpdateWebFunctionEndpointResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateWebFunctionEndpointResult & WithDomainName(DomainNameT &&value)
UpdateWebFunctionEndpointResult & WithAuthType(AuthType value)
void SetEndpointType(EndpointType value)
void SetUpdatedAt(UpdatedAtT &&value)
AuthType GetAuthType() const
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateWebFunctionEndpointResult & WithEndpointArn(EndpointArnT &&value)
UpdateWebFunctionEndpointResult & AddRegions(RegionsT &&value)
void SetScalingConfig(ScalingConfigT &&value)
UpdateWebFunctionEndpointResult & WithRevisionWeights(RevisionWeightsT &&value)
UpdateWebFunctionEndpointResult & WithScalingConfig(ScalingConfigT &&value)
void SetCreatedAt(CreatedAtT &&value)
const ThrottleConfig & GetThrottleConfig() const
UpdateWebFunctionEndpointResult & WithUpdateStatusReason(UpdateStatusReasonT &&value)
UpdateWebFunctionEndpointResult & WithFunctionArn(FunctionArnT &&value)
UpdateWebFunctionEndpointResult & WithRequestId(RequestIdT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
void SetUpdateStatusReason(UpdateStatusReasonT &&value)
EndpointType GetEndpointType() const
UpdateWebFunctionEndpointResult & WithAutoDeploymentMode(AutoDeploymentMode value)
UpdateWebFunctionEndpointResult & WithRegions(RegionsT &&value)
UpdateWebFunctionEndpointResult & WithUpdatedAt(UpdatedAtT &&value)
UpdateWebFunctionEndpointResult & WithStateReason(StateReasonT &&value)
void SetEndpointArn(EndpointArnT &&value)
void SetRequestId(RequestIdT &&value)
void SetStateReason(StateReasonT &&value)
const Aws::String & GetRequestId() const
const Aws::String & GetEndpointArn() const
UpdateWebFunctionEndpointResult & AddRevisionWeights(RevisionWeightsT &&value)
void SetFunctionArn(FunctionArnT &&value)
const Aws::String & GetEndpointName() const
AutoDeploymentMode GetAutoDeploymentMode() const
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue