AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
TimeBasedLinear.h
Go to the documentation of this file.
1
6#pragma once
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CodeDeploy
20{
21namespace Model
22{
23
34 {
35 public:
40
41
46 inline int GetLinearPercentage() const{ return m_linearPercentage; }
47
52 inline bool LinearPercentageHasBeenSet() const { return m_linearPercentageHasBeenSet; }
53
58 inline void SetLinearPercentage(int value) { m_linearPercentageHasBeenSet = true; m_linearPercentage = value; }
59
64 inline TimeBasedLinear& WithLinearPercentage(int value) { SetLinearPercentage(value); return *this;}
65
66
71 inline int GetLinearInterval() const{ return m_linearInterval; }
72
77 inline bool LinearIntervalHasBeenSet() const { return m_linearIntervalHasBeenSet; }
78
83 inline void SetLinearInterval(int value) { m_linearIntervalHasBeenSet = true; m_linearInterval = value; }
84
89 inline TimeBasedLinear& WithLinearInterval(int value) { SetLinearInterval(value); return *this;}
90
91 private:
92
93 int m_linearPercentage;
94 bool m_linearPercentageHasBeenSet = false;
95
96 int m_linearInterval;
97 bool m_linearIntervalHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace CodeDeploy
102} // namespace Aws
#define AWS_CODEDEPLOY_API
AWS_CODEDEPLOY_API TimeBasedLinear(Aws::Utils::Json::JsonView jsonValue)
AWS_CODEDEPLOY_API TimeBasedLinear & operator=(Aws::Utils::Json::JsonView jsonValue)
TimeBasedLinear & WithLinearInterval(int value)
TimeBasedLinear & WithLinearPercentage(int value)
AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const