AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
DeploymentCircuitBreaker.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ECS {
17namespace Model {
18
37 public:
38 AWS_ECS_API DeploymentCircuitBreaker() = default;
42
44
48 inline bool GetEnable() const { return m_enable; }
49 inline bool EnableHasBeenSet() const { return m_enableHasBeenSet; }
50 inline void SetEnable(bool value) {
51 m_enableHasBeenSet = true;
52 m_enable = value;
53 }
55 SetEnable(value);
56 return *this;
57 }
59
61
67 inline bool GetRollback() const { return m_rollback; }
68 inline bool RollbackHasBeenSet() const { return m_rollbackHasBeenSet; }
69 inline void SetRollback(bool value) {
70 m_rollbackHasBeenSet = true;
71 m_rollback = value;
72 }
74 SetRollback(value);
75 return *this;
76 }
78 private:
79 bool m_enable{false};
80
81 bool m_rollback{false};
82 bool m_enableHasBeenSet = false;
83 bool m_rollbackHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace ECS
88} // namespace Aws
AWS_ECS_API DeploymentCircuitBreaker & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API DeploymentCircuitBreaker(Aws::Utils::Json::JsonView jsonValue)
DeploymentCircuitBreaker & WithEnable(bool value)
DeploymentCircuitBreaker & WithRollback(bool value)
AWS_ECS_API DeploymentCircuitBreaker()=default
Aws::Utils::Json::JsonValue JsonValue