AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
FleetAmountCapability.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
32 {
33 public:
34 AWS_DEADLINE_API FleetAmountCapability() = default;
37 AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const { return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 template<typename NameT = Aws::String>
47 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
48 template<typename NameT = Aws::String>
49 FleetAmountCapability& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
51
53
56 inline double GetMin() const { return m_min; }
57 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
58 inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; }
59 inline FleetAmountCapability& WithMin(double value) { SetMin(value); return *this;}
61
63
66 inline double GetMax() const { return m_max; }
67 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
68 inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; }
69 inline FleetAmountCapability& WithMax(double value) { SetMax(value); return *this;}
71 private:
72
73 Aws::String m_name;
74 bool m_nameHasBeenSet = false;
75
76 double m_min{0.0};
77 bool m_minHasBeenSet = false;
78
79 double m_max{0.0};
80 bool m_maxHasBeenSet = false;
81 };
82
83} // namespace Model
84} // namespace deadline
85} // 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