AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TimeBasedLinear.h
1
6#pragma once
7#include <aws/codedeploy/CodeDeploy_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 CodeDeploy
20{
21namespace Model
22{
23
34 {
35 public:
36 AWS_CODEDEPLOY_API TimeBasedLinear();
37 AWS_CODEDEPLOY_API TimeBasedLinear(Aws::Utils::Json::JsonView jsonValue);
39 AWS_CODEDEPLOY_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline int GetLinearPercentage() const{ return m_linearPercentage; }
48 inline bool LinearPercentageHasBeenSet() const { return m_linearPercentageHasBeenSet; }
49 inline void SetLinearPercentage(int value) { m_linearPercentageHasBeenSet = true; m_linearPercentage = value; }
50 inline TimeBasedLinear& WithLinearPercentage(int value) { SetLinearPercentage(value); return *this;}
52
54
58 inline int GetLinearInterval() const{ return m_linearInterval; }
59 inline bool LinearIntervalHasBeenSet() const { return m_linearIntervalHasBeenSet; }
60 inline void SetLinearInterval(int value) { m_linearIntervalHasBeenSet = true; m_linearInterval = value; }
61 inline TimeBasedLinear& WithLinearInterval(int value) { SetLinearInterval(value); return *this;}
63 private:
64
65 int m_linearPercentage;
66 bool m_linearPercentageHasBeenSet = false;
67
68 int m_linearInterval;
69 bool m_linearIntervalHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CodeDeploy
74} // namespace Aws
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
Aws::Utils::Json::JsonValue JsonValue