7#include <aws/crt/cbor/Cbor.h>
8#include <aws/gamelift/GameLift_EXPORTS.h>
9#include <aws/gamelift/model/DeploymentImpairmentStrategy.h>
10#include <aws/gamelift/model/DeploymentProtectionStrategy.h>
34 AWS_GAMELIFT_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 m_protectionStrategyHasBeenSet =
true;
49 m_protectionStrategy = value;
65 m_minimumHealthyPercentageHasBeenSet =
true;
66 m_minimumHealthyPercentage = value;
86 m_impairmentStrategyHasBeenSet =
true;
87 m_impairmentStrategy = value;
97 int64_t m_minimumHealthyPercentage{0};
100 bool m_protectionStrategyHasBeenSet =
false;
101 bool m_minimumHealthyPercentageHasBeenSet =
false;
102 bool m_impairmentStrategyHasBeenSet =
false;
AWS_GAMELIFT_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
DeploymentConfiguration & WithImpairmentStrategy(DeploymentImpairmentStrategy value)
bool MinimumHealthyPercentageHasBeenSet() const
DeploymentProtectionStrategy GetProtectionStrategy() const
int64_t GetMinimumHealthyPercentage() const
DeploymentConfiguration & WithProtectionStrategy(DeploymentProtectionStrategy value)
AWS_GAMELIFT_API DeploymentConfiguration()=default
void SetProtectionStrategy(DeploymentProtectionStrategy value)
AWS_GAMELIFT_API DeploymentConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool ProtectionStrategyHasBeenSet() const
DeploymentImpairmentStrategy GetImpairmentStrategy() const
DeploymentConfiguration & WithMinimumHealthyPercentage(int64_t value)
void SetImpairmentStrategy(DeploymentImpairmentStrategy value)
void SetMinimumHealthyPercentage(int64_t value)
bool ImpairmentStrategyHasBeenSet() const
AWS_GAMELIFT_API DeploymentConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
DeploymentImpairmentStrategy
DeploymentProtectionStrategy