AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
StepAmountCapability.h
1
6#pragma once
7#include <aws/deadline/Deadline_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace deadline
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_DEADLINE_API StepAmountCapability() = default;
38 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetName() const { return m_name; }
46 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
47 template<typename NameT = Aws::String>
48 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
49 template<typename NameT = Aws::String>
50 StepAmountCapability& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
52
54
57 inline double GetMin() const { return m_min; }
58 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
59 inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; }
60 inline StepAmountCapability& WithMin(double value) { SetMin(value); return *this;}
62
64
67 inline double GetMax() const { return m_max; }
68 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
69 inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; }
70 inline StepAmountCapability& WithMax(double value) { SetMax(value); return *this;}
72
74
77 inline double GetValue() const { return m_value; }
78 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
79 inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; }
80 inline StepAmountCapability& WithValue(double value) { SetValue(value); return *this;}
82 private:
83
84 Aws::String m_name;
85 bool m_nameHasBeenSet = false;
86
87 double m_min{0.0};
88 bool m_minHasBeenSet = false;
89
90 double m_max{0.0};
91 bool m_maxHasBeenSet = false;
92
93 double m_value{0.0};
94 bool m_valueHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace deadline
99} // namespace Aws
StepAmountCapability & WithValue(double value)
AWS_DEADLINE_API StepAmountCapability & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEADLINE_API StepAmountCapability()=default
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
StepAmountCapability & WithName(NameT &&value)
AWS_DEADLINE_API StepAmountCapability(Aws::Utils::Json::JsonView jsonValue)
StepAmountCapability & WithMin(double value)
StepAmountCapability & WithMax(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue