AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FleetAmountCapability.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/deadline/Deadline_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace deadline {
20namespace Model {
21
28 public:
29 AWS_DEADLINE_API FleetAmountCapability() = default;
32 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
56 inline double GetMin() const { return m_min; }
57 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
58 inline void SetMin(double value) {
59 m_minHasBeenSet = true;
60 m_min = value;
61 }
62 inline FleetAmountCapability& WithMin(double value) {
63 SetMin(value);
64 return *this;
65 }
67
69
72 inline double GetMax() const { return m_max; }
73 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
74 inline void SetMax(double value) {
75 m_maxHasBeenSet = true;
76 m_max = value;
77 }
78 inline FleetAmountCapability& WithMax(double value) {
79 SetMax(value);
80 return *this;
81 }
83 private:
84 Aws::String m_name;
85
86 double m_min{0.0};
87
88 double m_max{0.0};
89 bool m_nameHasBeenSet = false;
90 bool m_minHasBeenSet = false;
91 bool m_maxHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace deadline
96} // namespace Aws
AWS_DEADLINE_API FleetAmountCapability(Aws::Utils::Json::JsonView jsonValue)
FleetAmountCapability & WithName(NameT &&value)
FleetAmountCapability & WithMax(double value)
AWS_DEADLINE_API FleetAmountCapability & operator=(Aws::Utils::Json::JsonView jsonValue)
FleetAmountCapability & WithMin(double value)
AWS_DEADLINE_API FleetAmountCapability()=default
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue