7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lambda-web/LambdaWeb_EXPORTS.h>
10#include <aws/lambda-web/model/AuthType.h>
11#include <aws/lambda-web/model/EndpointState.h>
12#include <aws/lambda-web/model/EndpointUpdateStatus.h>
13#include <aws/lambda-web/model/RevisionWeight.h>
14#include <aws/lambda-web/model/ScalingConfig.h>
15#include <aws/lambda-web/model/ThrottleConfig.h>
48 template <
typename DomainNameT = Aws::String>
50 m_domainNameHasBeenSet =
true;
51 m_domainName = std::forward<DomainNameT>(value);
53 template <
typename DomainNameT = Aws::String>
67 m_authTypeHasBeenSet =
true;
82 template <
typename RevisionWeightsT = Aws::Vector<RevisionWeight>>
84 m_revisionWeightsHasBeenSet =
true;
85 m_revisionWeights = std::forward<RevisionWeightsT>(value);
87 template <
typename RevisionWeightsT = Aws::Vector<RevisionWeight>>
92 template <
typename RevisionWeightsT = RevisionWeight>
94 m_revisionWeightsHasBeenSet =
true;
95 m_revisionWeights.emplace_back(std::forward<RevisionWeightsT>(value));
107 template <
typename ScalingConfigT = ScalingConfig>
109 m_scalingConfigHasBeenSet =
true;
110 m_scalingConfig = std::forward<ScalingConfigT>(value);
112 template <
typename ScalingConfigT = ScalingConfig>
126 template <
typename ThrottleConfigT = ThrottleConfig>
128 m_throttleConfigHasBeenSet =
true;
129 m_throttleConfig = std::forward<ThrottleConfigT>(value);
131 template <
typename ThrottleConfigT = ThrottleConfig>
145 m_stateHasBeenSet =
true;
160 template <
typename StateReasonT = Aws::String>
162 m_stateReasonHasBeenSet =
true;
163 m_stateReason = std::forward<StateReasonT>(value);
165 template <
typename StateReasonT = Aws::String>
179 m_updateStatusHasBeenSet =
true;
180 m_updateStatus = value;
194 template <
typename UpdateStatusReasonT = Aws::String>
196 m_updateStatusReasonHasBeenSet =
true;
197 m_updateStatusReason = std::forward<UpdateStatusReasonT>(value);
199 template <
typename UpdateStatusReasonT = Aws::String>
212 ScalingConfig m_scalingConfig;
214 ThrottleConfig m_throttleConfig;
223 bool m_domainNameHasBeenSet =
false;
224 bool m_authTypeHasBeenSet =
false;
225 bool m_revisionWeightsHasBeenSet =
false;
226 bool m_scalingConfigHasBeenSet =
false;
227 bool m_throttleConfigHasBeenSet =
false;
228 bool m_stateHasBeenSet =
false;
229 bool m_stateReasonHasBeenSet =
false;
230 bool m_updateStatusHasBeenSet =
false;
231 bool m_updateStatusReasonHasBeenSet =
false;
void SetState(EndpointState value)
AuthType GetAuthType() const
void SetUpdateStatus(EndpointUpdateStatus value)
AWS_LAMBDAWEB_API RegionalEndpoint()=default
bool UpdateStatusHasBeenSet() const
bool StateHasBeenSet() const
const ScalingConfig & GetScalingConfig() const
EndpointUpdateStatus GetUpdateStatus() const
bool StateReasonHasBeenSet() const
RegionalEndpoint & WithUpdateStatus(EndpointUpdateStatus value)
bool RevisionWeightsHasBeenSet() const
RegionalEndpoint & WithScalingConfig(ScalingConfigT &&value)
void SetScalingConfig(ScalingConfigT &&value)
AWS_LAMBDAWEB_API RegionalEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetAuthType(AuthType value)
EndpointState GetState() const
const Aws::String & GetStateReason() const
const ThrottleConfig & GetThrottleConfig() const
RegionalEndpoint & WithState(EndpointState value)
RegionalEndpoint & WithThrottleConfig(ThrottleConfigT &&value)
void SetDomainName(DomainNameT &&value)
bool DomainNameHasBeenSet() const
RegionalEndpoint & WithRevisionWeights(RevisionWeightsT &&value)
const Aws::String & GetDomainName() const
RegionalEndpoint & WithAuthType(AuthType value)
void SetStateReason(StateReasonT &&value)
RegionalEndpoint & WithUpdateStatusReason(UpdateStatusReasonT &&value)
AWS_LAMBDAWEB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_LAMBDAWEB_API RegionalEndpoint(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetUpdateStatusReason() const
const Aws::Vector< RevisionWeight > & GetRevisionWeights() const
bool ScalingConfigHasBeenSet() const
RegionalEndpoint & WithStateReason(StateReasonT &&value)
bool UpdateStatusReasonHasBeenSet() const
void SetUpdateStatusReason(UpdateStatusReasonT &&value)
bool ThrottleConfigHasBeenSet() const
RegionalEndpoint & AddRevisionWeights(RevisionWeightsT &&value)
void SetThrottleConfig(ThrottleConfigT &&value)
bool AuthTypeHasBeenSet() const
void SetRevisionWeights(RevisionWeightsT &&value)
RegionalEndpoint & WithDomainName(DomainNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue