AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CanaryConfiguration.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
31 public:
32 AWS_ECS_API CanaryConfiguration() = default;
36
38
43 inline double GetCanaryPercent() const { return m_canaryPercent; }
44 inline bool CanaryPercentHasBeenSet() const { return m_canaryPercentHasBeenSet; }
45 inline void SetCanaryPercent(double value) {
46 m_canaryPercentHasBeenSet = true;
47 m_canaryPercent = value;
48 }
49 inline CanaryConfiguration& WithCanaryPercent(double value) {
50 SetCanaryPercent(value);
51 return *this;
52 }
54
56
61 inline int GetCanaryBakeTimeInMinutes() const { return m_canaryBakeTimeInMinutes; }
62 inline bool CanaryBakeTimeInMinutesHasBeenSet() const { return m_canaryBakeTimeInMinutesHasBeenSet; }
63 inline void SetCanaryBakeTimeInMinutes(int value) {
64 m_canaryBakeTimeInMinutesHasBeenSet = true;
65 m_canaryBakeTimeInMinutes = value;
66 }
69 return *this;
70 }
72 private:
73 double m_canaryPercent{0.0};
74
75 int m_canaryBakeTimeInMinutes{0};
76 bool m_canaryPercentHasBeenSet = false;
77 bool m_canaryBakeTimeInMinutesHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace ECS
82} // namespace Aws
AWS_ECS_API CanaryConfiguration()=default
CanaryConfiguration & WithCanaryBakeTimeInMinutes(int value)
CanaryConfiguration & WithCanaryPercent(double value)
AWS_ECS_API CanaryConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API CanaryConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue