AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeploymentCircuitBreaker.h
1
6#pragma once
7#include <aws/ecs/ECS_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ECS
20{
21namespace Model
22{
23
42 {
43 public:
48
49
51
55 inline bool GetEnable() const{ return m_enable; }
56 inline bool EnableHasBeenSet() const { return m_enableHasBeenSet; }
57 inline void SetEnable(bool value) { m_enableHasBeenSet = true; m_enable = value; }
58 inline DeploymentCircuitBreaker& WithEnable(bool value) { SetEnable(value); return *this;}
60
62
68 inline bool GetRollback() const{ return m_rollback; }
69 inline bool RollbackHasBeenSet() const { return m_rollbackHasBeenSet; }
70 inline void SetRollback(bool value) { m_rollbackHasBeenSet = true; m_rollback = value; }
71 inline DeploymentCircuitBreaker& WithRollback(bool value) { SetRollback(value); return *this;}
73 private:
74
75 bool m_enable;
76 bool m_enableHasBeenSet = false;
77
78 bool m_rollback;
79 bool m_rollbackHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ECS
84} // 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::Utils::Json::JsonValue JsonValue