AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EC2Capacity.h
1
6#pragma once
7#include <aws/outposts/Outposts_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 Outposts
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_OUTPOSTS_API EC2Capacity();
35 AWS_OUTPOSTS_API EC2Capacity(Aws::Utils::Json::JsonView jsonValue);
36 AWS_OUTPOSTS_API EC2Capacity& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetFamily() const{ return m_family; }
45 inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; }
46 inline void SetFamily(const Aws::String& value) { m_familyHasBeenSet = true; m_family = value; }
47 inline void SetFamily(Aws::String&& value) { m_familyHasBeenSet = true; m_family = std::move(value); }
48 inline void SetFamily(const char* value) { m_familyHasBeenSet = true; m_family.assign(value); }
49 inline EC2Capacity& WithFamily(const Aws::String& value) { SetFamily(value); return *this;}
50 inline EC2Capacity& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;}
51 inline EC2Capacity& WithFamily(const char* value) { SetFamily(value); return *this;}
53
55
58 inline const Aws::String& GetMaxSize() const{ return m_maxSize; }
59 inline bool MaxSizeHasBeenSet() const { return m_maxSizeHasBeenSet; }
60 inline void SetMaxSize(const Aws::String& value) { m_maxSizeHasBeenSet = true; m_maxSize = value; }
61 inline void SetMaxSize(Aws::String&& value) { m_maxSizeHasBeenSet = true; m_maxSize = std::move(value); }
62 inline void SetMaxSize(const char* value) { m_maxSizeHasBeenSet = true; m_maxSize.assign(value); }
63 inline EC2Capacity& WithMaxSize(const Aws::String& value) { SetMaxSize(value); return *this;}
64 inline EC2Capacity& WithMaxSize(Aws::String&& value) { SetMaxSize(std::move(value)); return *this;}
65 inline EC2Capacity& WithMaxSize(const char* value) { SetMaxSize(value); return *this;}
67
69
72 inline const Aws::String& GetQuantity() const{ return m_quantity; }
73 inline bool QuantityHasBeenSet() const { return m_quantityHasBeenSet; }
74 inline void SetQuantity(const Aws::String& value) { m_quantityHasBeenSet = true; m_quantity = value; }
75 inline void SetQuantity(Aws::String&& value) { m_quantityHasBeenSet = true; m_quantity = std::move(value); }
76 inline void SetQuantity(const char* value) { m_quantityHasBeenSet = true; m_quantity.assign(value); }
77 inline EC2Capacity& WithQuantity(const Aws::String& value) { SetQuantity(value); return *this;}
78 inline EC2Capacity& WithQuantity(Aws::String&& value) { SetQuantity(std::move(value)); return *this;}
79 inline EC2Capacity& WithQuantity(const char* value) { SetQuantity(value); return *this;}
81 private:
82
83 Aws::String m_family;
84 bool m_familyHasBeenSet = false;
85
86 Aws::String m_maxSize;
87 bool m_maxSizeHasBeenSet = false;
88
89 Aws::String m_quantity;
90 bool m_quantityHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace Outposts
95} // namespace Aws
EC2Capacity & WithMaxSize(const char *value)
Definition EC2Capacity.h:65
void SetQuantity(const Aws::String &value)
Definition EC2Capacity.h:74
const Aws::String & GetFamily() const
Definition EC2Capacity.h:44
void SetMaxSize(const Aws::String &value)
Definition EC2Capacity.h:60
EC2Capacity & WithQuantity(const char *value)
Definition EC2Capacity.h:79
void SetFamily(const char *value)
Definition EC2Capacity.h:48
AWS_OUTPOSTS_API EC2Capacity(Aws::Utils::Json::JsonView jsonValue)
AWS_OUTPOSTS_API EC2Capacity & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFamily(Aws::String &&value)
Definition EC2Capacity.h:47
AWS_OUTPOSTS_API Aws::Utils::Json::JsonValue Jsonize() const
EC2Capacity & WithFamily(const Aws::String &value)
Definition EC2Capacity.h:49
EC2Capacity & WithFamily(const char *value)
Definition EC2Capacity.h:51
EC2Capacity & WithQuantity(Aws::String &&value)
Definition EC2Capacity.h:78
EC2Capacity & WithQuantity(const Aws::String &value)
Definition EC2Capacity.h:77
void SetFamily(const Aws::String &value)
Definition EC2Capacity.h:46
EC2Capacity & WithFamily(Aws::String &&value)
Definition EC2Capacity.h:50
EC2Capacity & WithMaxSize(const Aws::String &value)
Definition EC2Capacity.h:63
const Aws::String & GetMaxSize() const
Definition EC2Capacity.h:58
void SetMaxSize(const char *value)
Definition EC2Capacity.h:62
void SetQuantity(Aws::String &&value)
Definition EC2Capacity.h:75
void SetMaxSize(Aws::String &&value)
Definition EC2Capacity.h:61
void SetQuantity(const char *value)
Definition EC2Capacity.h:76
EC2Capacity & WithMaxSize(Aws::String &&value)
Definition EC2Capacity.h:64
const Aws::String & GetQuantity() const
Definition EC2Capacity.h:72
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue