AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace CostExplorer {
20namespace Model {
21
29 public:
30 AWS_COSTEXPLORER_API ElastiCacheInstanceDetails() = default;
33 AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetFamily() const { return m_family; }
40 inline bool FamilyHasBeenSet() const { return m_familyHasBeenSet; }
41 template <typename FamilyT = Aws::String>
42 void SetFamily(FamilyT&& value) {
43 m_familyHasBeenSet = true;
44 m_family = std::forward<FamilyT>(value);
45 }
46 template <typename FamilyT = Aws::String>
48 SetFamily(std::forward<FamilyT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetNodeType() const { return m_nodeType; }
58 inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; }
59 template <typename NodeTypeT = Aws::String>
60 void SetNodeType(NodeTypeT&& value) {
61 m_nodeTypeHasBeenSet = true;
62 m_nodeType = std::forward<NodeTypeT>(value);
63 }
64 template <typename NodeTypeT = Aws::String>
66 SetNodeType(std::forward<NodeTypeT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetRegion() const { return m_region; }
76 inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; }
77 template <typename RegionT = Aws::String>
78 void SetRegion(RegionT&& value) {
79 m_regionHasBeenSet = true;
80 m_region = std::forward<RegionT>(value);
81 }
82 template <typename RegionT = Aws::String>
84 SetRegion(std::forward<RegionT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetProductDescription() const { return m_productDescription; }
94 inline bool ProductDescriptionHasBeenSet() const { return m_productDescriptionHasBeenSet; }
95 template <typename ProductDescriptionT = Aws::String>
96 void SetProductDescription(ProductDescriptionT&& value) {
97 m_productDescriptionHasBeenSet = true;
98 m_productDescription = std::forward<ProductDescriptionT>(value);
99 }
100 template <typename ProductDescriptionT = Aws::String>
102 SetProductDescription(std::forward<ProductDescriptionT>(value));
103 return *this;
104 }
106
108
112 inline bool GetCurrentGeneration() const { return m_currentGeneration; }
113 inline bool CurrentGenerationHasBeenSet() const { return m_currentGenerationHasBeenSet; }
114 inline void SetCurrentGeneration(bool value) {
115 m_currentGenerationHasBeenSet = true;
116 m_currentGeneration = value;
117 }
120 return *this;
121 }
123
125
128 inline bool GetSizeFlexEligible() const { return m_sizeFlexEligible; }
129 inline bool SizeFlexEligibleHasBeenSet() const { return m_sizeFlexEligibleHasBeenSet; }
130 inline void SetSizeFlexEligible(bool value) {
131 m_sizeFlexEligibleHasBeenSet = true;
132 m_sizeFlexEligible = value;
133 }
135 SetSizeFlexEligible(value);
136 return *this;
137 }
139 private:
140 Aws::String m_family;
141
142 Aws::String m_nodeType;
143
144 Aws::String m_region;
145
146 Aws::String m_productDescription;
147
148 bool m_currentGeneration{false};
149
150 bool m_sizeFlexEligible{false};
151 bool m_familyHasBeenSet = false;
152 bool m_nodeTypeHasBeenSet = false;
153 bool m_regionHasBeenSet = false;
154 bool m_productDescriptionHasBeenSet = false;
155 bool m_currentGenerationHasBeenSet = false;
156 bool m_sizeFlexEligibleHasBeenSet = false;
157};
158
159} // namespace Model
160} // namespace CostExplorer
161} // namespace Aws
ElastiCacheInstanceDetails & WithCurrentGeneration(bool value)
ElastiCacheInstanceDetails & WithRegion(RegionT &&value)
ElastiCacheInstanceDetails & WithSizeFlexEligible(bool value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COSTEXPLORER_API ElastiCacheInstanceDetails(Aws::Utils::Json::JsonView jsonValue)
ElastiCacheInstanceDetails & WithProductDescription(ProductDescriptionT &&value)
AWS_COSTEXPLORER_API ElastiCacheInstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_COSTEXPLORER_API ElastiCacheInstanceDetails()=default
ElastiCacheInstanceDetails & WithNodeType(NodeTypeT &&value)
ElastiCacheInstanceDetails & WithFamily(FamilyT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue