AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ElastiCacheInstanceDetails.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 ElastiCacheInstanceDetails();
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 ElastiCacheInstanceDetails& WithFamily(const Aws::String& value) { SetFamily(value); return *this;}
51 inline ElastiCacheInstanceDetails& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;}
52 inline ElastiCacheInstanceDetails& 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 ElastiCacheInstanceDetails& WithNodeType(const Aws::String& value) { SetNodeType(value); return *this;}
65 inline ElastiCacheInstanceDetails& WithNodeType(Aws::String&& value) { SetNodeType(std::move(value)); return *this;}
66 inline ElastiCacheInstanceDetails& 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 ElastiCacheInstanceDetails& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
79 inline ElastiCacheInstanceDetails& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
80 inline ElastiCacheInstanceDetails& WithRegion(const char* value) { SetRegion(value); return *this;}
82
84
87 inline const Aws::String& GetProductDescription() const{ return m_productDescription; }
88 inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
89 inline void SetProductDescription(const Aws::String& value) { m_productDescriptionHasBeenSet = true; m_productDescription = value; }
90 inline void SetProductDescription(Aws::String&& value) { m_productDescriptionHasBeenSet = true; m_productDescription = std::move(value); }
91 inline void SetProductDescription(const char* value) { m_productDescriptionHasBeenSet = true; m_productDescription.assign(value); }
93 inline ElastiCacheInstanceDetails& WithProductDescription(Aws::String&& value) { SetProductDescription(std::move(value)); return *this;}
94 inline ElastiCacheInstanceDetails& WithProductDescription(const char* value) { SetProductDescription(value); return *this;}
96
98
102 inline bool GetCurrentGeneration() const{ return m_currentGeneration; }
103 inline bool CurrentGenerationHasBeenSet() const { return m_currentGenerationHasBeenSet; }
104 inline void SetCurrentGeneration(bool value) { m_currentGenerationHasBeenSet = true; m_currentGeneration = value; }
105 inline ElastiCacheInstanceDetails& WithCurrentGeneration(bool value) { SetCurrentGeneration(value); return *this;}
107
109
112 inline bool GetSizeFlexEligible() const{ return m_sizeFlexEligible; }
113 inline bool SizeFlexEligibleHasBeenSet() const { return m_sizeFlexEligibleHasBeenSet; }
114 inline void SetSizeFlexEligible(bool value) { m_sizeFlexEligibleHasBeenSet = true; m_sizeFlexEligible = value; }
115 inline ElastiCacheInstanceDetails& WithSizeFlexEligible(bool value) { SetSizeFlexEligible(value); return *this;}
117 private:
118
119 Aws::String m_family;
120 bool m_familyHasBeenSet = false;
121
122 Aws::String m_nodeType;
123 bool m_nodeTypeHasBeenSet = false;
124
125 Aws::String m_region;
126 bool m_regionHasBeenSet = false;
127
128 Aws::String m_productDescription;
129 bool m_productDescriptionHasBeenSet = false;
130
131 bool m_currentGeneration;
132 bool m_currentGenerationHasBeenSet = false;
133
134 bool m_sizeFlexEligible;
135 bool m_sizeFlexEligibleHasBeenSet = false;
136 };
137
138} // namespace Model
139} // namespace CostExplorer
140} // namespace Aws
ElastiCacheInstanceDetails & WithNodeType(const Aws::String &value)
ElastiCacheInstanceDetails & WithCurrentGeneration(bool value)
ElastiCacheInstanceDetails & WithSizeFlexEligible(bool value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API ElastiCacheInstanceDetails(Aws::Utils::Json::JsonView jsonValue)
ElastiCacheInstanceDetails & WithNodeType(Aws::String &&value)
ElastiCacheInstanceDetails & WithNodeType(const char *value)
AWS_COSTEXPLORER_API ElastiCacheInstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ElastiCacheInstanceDetails & WithFamily(Aws::String &&value)
ElastiCacheInstanceDetails & WithProductDescription(const char *value)
ElastiCacheInstanceDetails & WithProductDescription(Aws::String &&value)
ElastiCacheInstanceDetails & WithRegion(Aws::String &&value)
ElastiCacheInstanceDetails & WithRegion(const char *value)
ElastiCacheInstanceDetails & WithProductDescription(const Aws::String &value)
ElastiCacheInstanceDetails & WithFamily(const char *value)
ElastiCacheInstanceDetails & WithRegion(const Aws::String &value)
ElastiCacheInstanceDetails & WithFamily(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue