AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline FleetAmountCapability& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline FleetAmountCapability& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline FleetAmountCapability& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline double GetMin() const{ return m_min; }
59 inline bool MinHasBeenSet() const { return m_minHasBeenSet; }
60 inline void SetMin(double value) { m_minHasBeenSet = true; m_min = value; }
61 inline FleetAmountCapability& WithMin(double value) { SetMin(value); return *this;}
63
65
68 inline double GetMax() const{ return m_max; }
69 inline bool MaxHasBeenSet() const { return m_maxHasBeenSet; }
70 inline void SetMax(double value) { m_maxHasBeenSet = true; m_max = value; }
71 inline FleetAmountCapability& WithMax(double value) { SetMax(value); return *this;}
73 private:
74
75 Aws::String m_name;
76 bool m_nameHasBeenSet = false;
77
78 double m_min;
79 bool m_minHasBeenSet = false;
80
81 double m_max;
82 bool m_maxHasBeenSet = false;
83 };
84
85} // namespace Model
86} // namespace deadline
87} // namespace Aws
AWS_DEADLINE_API FleetAmountCapability(Aws::Utils::Json::JsonView jsonValue)
FleetAmountCapability & WithName(const char *value)
FleetAmountCapability & WithMax(double value)
FleetAmountCapability & WithName(const Aws::String &value)
AWS_DEADLINE_API FleetAmountCapability & operator=(Aws::Utils::Json::JsonView jsonValue)
FleetAmountCapability & WithMin(double value)
AWS_DEADLINE_API Aws::Utils::Json::JsonValue Jsonize() const
FleetAmountCapability & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue