AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MemoryDBInstanceDetails.h
1
6#pragma once
7#include <aws/ce/CostExplorer_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 CostExplorer
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_COSTEXPLORER_API MemoryDBInstanceDetails();
36 AWS_COSTEXPLORER_API MemoryDBInstanceDetails(Aws::Utils::Json::JsonView jsonValue);
38 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetFamily() const{ return m_family; }
46 inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; }
47 inline void SetFamily(const Aws::String& value) { m_familyHasBeenSet = true; m_family = value; }
48 inline void SetFamily(Aws::String&& value) { m_familyHasBeenSet = true; m_family = std::move(value); }
49 inline void SetFamily(const char* value) { m_familyHasBeenSet = true; m_family.assign(value); }
50 inline MemoryDBInstanceDetails& WithFamily(const Aws::String& value) { SetFamily(value); return *this;}
51 inline MemoryDBInstanceDetails& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;}
52 inline MemoryDBInstanceDetails& WithFamily(const char* value) { SetFamily(value); return *this;}
54
56
59 inline const Aws::String& GetNodeType() const{ return m_nodeType; }
60 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
61 inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; }
62 inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); }
63 inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); }
64 inline MemoryDBInstanceDetails& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
65 inline MemoryDBInstanceDetails& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
66 inline MemoryDBInstanceDetails& WithNodeType(const char* value) { SetNodeType(value); return *this;}
68
70
73 inline const Aws::String& GetRegion() const{ return m_region; }
74 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
75 inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; }
76 inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); }
77 inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); }
78 inline MemoryDBInstanceDetails& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
79 inline MemoryDBInstanceDetails& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
80 inline MemoryDBInstanceDetails& WithRegion(const char* value) { SetRegion(value); return *this;}
82
84
88 inline bool GetCurrentGeneration() const{ return m_currentGeneration; }
89 inline bool CurrentGenerationHasBeenSet() const { return m_currentGenerationHasBeenSet; }
90 inline void SetCurrentGeneration(bool value) { m_currentGenerationHasBeenSet = true; m_currentGeneration = value; }
91 inline MemoryDBInstanceDetails& WithCurrentGeneration(bool value) { SetCurrentGeneration(value); return *this;}
93
95
98 inline bool GetSizeFlexEligible() const{ return m_sizeFlexEligible; }
99 inline bool SizeFlexEligibleHasBeenSet() const { return m_sizeFlexEligibleHasBeenSet; }
100 inline void SetSizeFlexEligible(bool value) { m_sizeFlexEligibleHasBeenSet = true; m_sizeFlexEligible = value; }
101 inline MemoryDBInstanceDetails& WithSizeFlexEligible(bool value) { SetSizeFlexEligible(value); return *this;}
103 private:
104
105 Aws::String m_family;
106 bool m_familyHasBeenSet = false;
107
108 Aws::String m_nodeType;
109 bool m_nodeTypeHasBeenSet = false;
110
111 Aws::String m_region;
112 bool m_regionHasBeenSet = false;
113
114 bool m_currentGeneration;
115 bool m_currentGenerationHasBeenSet = false;
116
117 bool m_sizeFlexEligible;
118 bool m_sizeFlexEligibleHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace CostExplorer
123} // namespace Aws
MemoryDBInstanceDetails & WithRegion(const char *value)
MemoryDBInstanceDetails & WithNodeType(Aws::String &&value)
MemoryDBInstanceDetails & WithSizeFlexEligible(bool value)
MemoryDBInstanceDetails & WithFamily(Aws::String &&value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
MemoryDBInstanceDetails & WithNodeType(const char *value)
MemoryDBInstanceDetails & WithFamily(const char *value)
AWS_COSTEXPLORER_API MemoryDBInstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
MemoryDBInstanceDetails & WithFamily(const Aws::String &value)
AWS_COSTEXPLORER_API MemoryDBInstanceDetails(Aws::Utils::Json::JsonView jsonValue)
MemoryDBInstanceDetails & WithNodeType(const Aws::String &value)
MemoryDBInstanceDetails & WithRegion(const Aws::String &value)
MemoryDBInstanceDetails & WithCurrentGeneration(bool value)
MemoryDBInstanceDetails & WithRegion(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue