AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RDSInstanceDetails.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 RDSInstanceDetails();
36 AWS_COSTEXPLORER_API RDSInstanceDetails(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 RDSInstanceDetails& WithFamily(const Aws::String& value) { SetFamily(value); return *this;}
51 inline RDSInstanceDetails& WithFamily(Aws::String&& value) { SetFamily(std::move(value)); return *this;}
52 inline RDSInstanceDetails& WithFamily(const char* value) { SetFamily(value); return *this;}
54
56
59 inline const Aws::String& GetInstanceType() const{ return m_instanceType; }
60 inline bool InstanceTypeHasBeenSet() const { return m_instanceTypeHasBeenSet; }
61 inline void SetInstanceType(const Aws::String& value) { m_instanceTypeHasBeenSet = true; m_instanceType = value; }
62 inline void SetInstanceType(Aws::String&& value) { m_instanceTypeHasBeenSet = true; m_instanceType = std::move(value); }
63 inline void SetInstanceType(const char* value) { m_instanceTypeHasBeenSet = true; m_instanceType.assign(value); }
64 inline RDSInstanceDetails& WithInstanceType(const Aws::String& value) { SetInstanceType(value); return *this;}
65 inline RDSInstanceDetails& WithInstanceType(Aws::String&& value) { SetInstanceType(std::move(value)); return *this;}
66 inline RDSInstanceDetails& WithInstanceType(const char* value) { SetInstanceType(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 RDSInstanceDetails& WithRegion(const Aws::String& value) { SetRegion(value); return *this;}
79 inline RDSInstanceDetails& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;}
80 inline RDSInstanceDetails& WithRegion(const char* value) { SetRegion(value); return *this;}
82
84
87 inline const Aws::String& GetDatabaseEngine() const{ return m_databaseEngine; }
88 inline bool DatabaseEngineHasBeenSet() const { return m_databaseEngineHasBeenSet; }
89 inline void SetDatabaseEngine(const Aws::String& value) { m_databaseEngineHasBeenSet = true; m_databaseEngine = value; }
90 inline void SetDatabaseEngine(Aws::String&& value) { m_databaseEngineHasBeenSet = true; m_databaseEngine = std::move(value); }
91 inline void SetDatabaseEngine(const char* value) { m_databaseEngineHasBeenSet = true; m_databaseEngine.assign(value); }
92 inline RDSInstanceDetails& WithDatabaseEngine(const Aws::String& value) { SetDatabaseEngine(value); return *this;}
93 inline RDSInstanceDetails& WithDatabaseEngine(Aws::String&& value) { SetDatabaseEngine(std::move(value)); return *this;}
94 inline RDSInstanceDetails& WithDatabaseEngine(const char* value) { SetDatabaseEngine(value); return *this;}
96
98
101 inline const Aws::String& GetDatabaseEdition() const{ return m_databaseEdition; }
102 inline bool DatabaseEditionHasBeenSet() const { return m_databaseEditionHasBeenSet; }
103 inline void SetDatabaseEdition(const Aws::String& value) { m_databaseEditionHasBeenSet = true; m_databaseEdition = value; }
104 inline void SetDatabaseEdition(Aws::String&& value) { m_databaseEditionHasBeenSet = true; m_databaseEdition = std::move(value); }
105 inline void SetDatabaseEdition(const char* value) { m_databaseEditionHasBeenSet = true; m_databaseEdition.assign(value); }
106 inline RDSInstanceDetails& WithDatabaseEdition(const Aws::String& value) { SetDatabaseEdition(value); return *this;}
107 inline RDSInstanceDetails& WithDatabaseEdition(Aws::String&& value) { SetDatabaseEdition(std::move(value)); return *this;}
108 inline RDSInstanceDetails& WithDatabaseEdition(const char* value) { SetDatabaseEdition(value); return *this;}
110
112
117 inline const Aws::String& GetDeploymentOption() const{ return m_deploymentOption; }
118 inline bool DeploymentOptionHasBeenSet() const { return m_deploymentOptionHasBeenSet; }
119 inline void SetDeploymentOption(const Aws::String& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = value; }
120 inline void SetDeploymentOption(Aws::String&& value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption = std::move(value); }
121 inline void SetDeploymentOption(const char* value) { m_deploymentOptionHasBeenSet = true; m_deploymentOption.assign(value); }
122 inline RDSInstanceDetails& WithDeploymentOption(const Aws::String& value) { SetDeploymentOption(value); return *this;}
123 inline RDSInstanceDetails& WithDeploymentOption(Aws::String&& value) { SetDeploymentOption(std::move(value)); return *this;}
124 inline RDSInstanceDetails& WithDeploymentOption(const char* value) { SetDeploymentOption(value); return *this;}
126
128
131 inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; }
132 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
133 inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
134 inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); }
135 inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); }
136 inline RDSInstanceDetails& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;}
137 inline RDSInstanceDetails& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;}
138 inline RDSInstanceDetails& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;}
140
142
146 inline bool GetCurrentGeneration() const{ return m_currentGeneration; }
147 inline bool CurrentGenerationHasBeenSet() const { return m_currentGenerationHasBeenSet; }
148 inline void SetCurrentGeneration(bool value) { m_currentGenerationHasBeenSet = true; m_currentGeneration = value; }
149 inline RDSInstanceDetails& WithCurrentGeneration(bool value) { SetCurrentGeneration(value); return *this;}
151
153
156 inline bool GetSizeFlexEligible() const{ return m_sizeFlexEligible; }
157 inline bool SizeFlexEligibleHasBeenSet() const { return m_sizeFlexEligibleHasBeenSet; }
158 inline void SetSizeFlexEligible(bool value) { m_sizeFlexEligibleHasBeenSet = true; m_sizeFlexEligible = value; }
159 inline RDSInstanceDetails& WithSizeFlexEligible(bool value) { SetSizeFlexEligible(value); return *this;}
161 private:
162
163 Aws::String m_family;
164 bool m_familyHasBeenSet = false;
165
166 Aws::String m_instanceType;
167 bool m_instanceTypeHasBeenSet = false;
168
169 Aws::String m_region;
170 bool m_regionHasBeenSet = false;
171
172 Aws::String m_databaseEngine;
173 bool m_databaseEngineHasBeenSet = false;
174
175 Aws::String m_databaseEdition;
176 bool m_databaseEditionHasBeenSet = false;
177
178 Aws::String m_deploymentOption;
179 bool m_deploymentOptionHasBeenSet = false;
180
181 Aws::String m_licenseModel;
182 bool m_licenseModelHasBeenSet = false;
183
184 bool m_currentGeneration;
185 bool m_currentGenerationHasBeenSet = false;
186
187 bool m_sizeFlexEligible;
188 bool m_sizeFlexEligibleHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace CostExplorer
193} // namespace Aws
RDSInstanceDetails & WithDeploymentOption(const Aws::String &value)
void SetInstanceType(const Aws::String &value)
RDSInstanceDetails & WithDeploymentOption(Aws::String &&value)
RDSInstanceDetails & WithRegion(const char *value)
void SetLicenseModel(const Aws::String &value)
AWS_COSTEXPLORER_API RDSInstanceDetails(Aws::Utils::Json::JsonView jsonValue)
RDSInstanceDetails & WithCurrentGeneration(bool value)
RDSInstanceDetails & WithInstanceType(const char *value)
RDSInstanceDetails & WithDatabaseEdition(const char *value)
RDSInstanceDetails & WithFamily(const Aws::String &value)
RDSInstanceDetails & WithRegion(const Aws::String &value)
RDSInstanceDetails & WithInstanceType(const Aws::String &value)
RDSInstanceDetails & WithDatabaseEdition(Aws::String &&value)
void SetDatabaseEdition(const Aws::String &value)
RDSInstanceDetails & WithDatabaseEngine(Aws::String &&value)
RDSInstanceDetails & WithDatabaseEngine(const char *value)
RDSInstanceDetails & WithDatabaseEngine(const Aws::String &value)
RDSInstanceDetails & WithRegion(Aws::String &&value)
RDSInstanceDetails & WithInstanceType(Aws::String &&value)
RDSInstanceDetails & WithLicenseModel(const Aws::String &value)
RDSInstanceDetails & WithFamily(Aws::String &&value)
RDSInstanceDetails & WithSizeFlexEligible(bool value)
void SetDeploymentOption(const Aws::String &value)
RDSInstanceDetails & WithDatabaseEdition(const Aws::String &value)
RDSInstanceDetails & WithLicenseModel(const char *value)
RDSInstanceDetails & WithLicenseModel(Aws::String &&value)
AWS_COSTEXPLORER_API RDSInstanceDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseEngine(const Aws::String &value)
RDSInstanceDetails & WithDeploymentOption(const char *value)
AWS_COSTEXPLORER_API Aws::Utils::Json::JsonValue Jsonize() const
RDSInstanceDetails & WithFamily(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue