AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsEcsServiceDeploymentConfigurationDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
32 {
33 public:
37 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline bool DeploymentCircuitBreakerHasBeenSet() const { return m_deploymentCircuitBreakerHasBeenSet; }
47 inline void SetDeploymentCircuitBreaker(const AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails& value) { m_deploymentCircuitBreakerHasBeenSet = true; m_deploymentCircuitBreaker = value; }
48 inline void SetDeploymentCircuitBreaker(AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails&& value) { m_deploymentCircuitBreakerHasBeenSet = true; m_deploymentCircuitBreaker = std::move(value); }
52
54
67 inline int GetMaximumPercent() const{ return m_maximumPercent; }
68 inline bool MaximumPercentHasBeenSet() const { return m_maximumPercentHasBeenSet; }
69 inline void SetMaximumPercent(int value) { m_maximumPercentHasBeenSet = true; m_maximumPercent = value; }
72
74
87 inline int GetMinimumHealthyPercent() const{ return m_minimumHealthyPercent; }
88 inline bool MinimumHealthyPercentHasBeenSet() const { return m_minimumHealthyPercentHasBeenSet; }
89 inline void SetMinimumHealthyPercent(int value) { m_minimumHealthyPercentHasBeenSet = true; m_minimumHealthyPercent = value; }
92 private:
93
95 bool m_deploymentCircuitBreakerHasBeenSet = false;
96
97 int m_maximumPercent;
98 bool m_maximumPercentHasBeenSet = false;
99
100 int m_minimumHealthyPercent;
101 bool m_minimumHealthyPercentHasBeenSet = false;
102 };
103
104} // namespace Model
105} // namespace SecurityHub
106} // namespace Aws
AwsEcsServiceDeploymentConfigurationDetails & WithDeploymentCircuitBreaker(AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails &&value)
AWS_SECURITYHUB_API AwsEcsServiceDeploymentConfigurationDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDeploymentCircuitBreaker(AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails &&value)
AwsEcsServiceDeploymentConfigurationDetails & WithDeploymentCircuitBreaker(const AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails &value)
void SetDeploymentCircuitBreaker(const AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsEcsServiceDeploymentConfigurationDeploymentCircuitBreakerDetails & GetDeploymentCircuitBreaker() const
AWS_SECURITYHUB_API AwsEcsServiceDeploymentConfigurationDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue