AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
LinearConfiguration.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 LinearConfiguration() = default;
36
38
43 inline double GetStepPercent() const { return m_stepPercent; }
44 inline bool StepPercentHasBeenSet() const { return m_stepPercentHasBeenSet; }
45 inline void SetStepPercent(double value) {
46 m_stepPercentHasBeenSet = true;
47 m_stepPercent = value;
48 }
49 inline LinearConfiguration& WithStepPercent(double value) {
50 SetStepPercent(value);
51 return *this;
52 }
54
56
62 inline int GetStepBakeTimeInMinutes() const { return m_stepBakeTimeInMinutes; }
63 inline bool StepBakeTimeInMinutesHasBeenSet() const { return m_stepBakeTimeInMinutesHasBeenSet; }
64 inline void SetStepBakeTimeInMinutes(int value) {
65 m_stepBakeTimeInMinutesHasBeenSet = true;
66 m_stepBakeTimeInMinutes = value;
67 }
70 return *this;
71 }
73 private:
74 double m_stepPercent{0.0};
75
76 int m_stepBakeTimeInMinutes{0};
77 bool m_stepPercentHasBeenSet = false;
78 bool m_stepBakeTimeInMinutesHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace ECS
83} // namespace Aws
LinearConfiguration & WithStepPercent(double value)
AWS_ECS_API LinearConfiguration(Aws::Utils::Json::JsonView jsonValue)
LinearConfiguration & WithStepBakeTimeInMinutes(int value)
AWS_ECS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_ECS_API LinearConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_ECS_API LinearConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue