AWS SDK for C++  1.9.129
AWS SDK for C++
RelationalDatabaseBlueprint.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Lightsail
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetBlueprintId() const{ return m_blueprintId; }
46 
50  inline bool BlueprintIdHasBeenSet() const { return m_blueprintIdHasBeenSet; }
51 
55  inline void SetBlueprintId(const Aws::String& value) { m_blueprintIdHasBeenSet = true; m_blueprintId = value; }
56 
60  inline void SetBlueprintId(Aws::String&& value) { m_blueprintIdHasBeenSet = true; m_blueprintId = std::move(value); }
61 
65  inline void SetBlueprintId(const char* value) { m_blueprintIdHasBeenSet = true; m_blueprintId.assign(value); }
66 
70  inline RelationalDatabaseBlueprint& WithBlueprintId(const Aws::String& value) { SetBlueprintId(value); return *this;}
71 
75  inline RelationalDatabaseBlueprint& WithBlueprintId(Aws::String&& value) { SetBlueprintId(std::move(value)); return *this;}
76 
80  inline RelationalDatabaseBlueprint& WithBlueprintId(const char* value) { SetBlueprintId(value); return *this;}
81 
82 
87  inline const RelationalDatabaseEngine& GetEngine() const{ return m_engine; }
88 
93  inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
94 
99  inline void SetEngine(const RelationalDatabaseEngine& value) { m_engineHasBeenSet = true; m_engine = value; }
100 
105  inline void SetEngine(RelationalDatabaseEngine&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
106 
111  inline RelationalDatabaseBlueprint& WithEngine(const RelationalDatabaseEngine& value) { SetEngine(value); return *this;}
112 
117  inline RelationalDatabaseBlueprint& WithEngine(RelationalDatabaseEngine&& value) { SetEngine(std::move(value)); return *this;}
118 
119 
124  inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
125 
130  inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
131 
136  inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
137 
142  inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
143 
148  inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
149 
154  inline RelationalDatabaseBlueprint& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
155 
160  inline RelationalDatabaseBlueprint& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
161 
166  inline RelationalDatabaseBlueprint& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
167 
168 
172  inline const Aws::String& GetEngineDescription() const{ return m_engineDescription; }
173 
177  inline bool EngineDescriptionHasBeenSet() const { return m_engineDescriptionHasBeenSet; }
178 
182  inline void SetEngineDescription(const Aws::String& value) { m_engineDescriptionHasBeenSet = true; m_engineDescription = value; }
183 
187  inline void SetEngineDescription(Aws::String&& value) { m_engineDescriptionHasBeenSet = true; m_engineDescription = std::move(value); }
188 
192  inline void SetEngineDescription(const char* value) { m_engineDescriptionHasBeenSet = true; m_engineDescription.assign(value); }
193 
197  inline RelationalDatabaseBlueprint& WithEngineDescription(const Aws::String& value) { SetEngineDescription(value); return *this;}
198 
202  inline RelationalDatabaseBlueprint& WithEngineDescription(Aws::String&& value) { SetEngineDescription(std::move(value)); return *this;}
203 
207  inline RelationalDatabaseBlueprint& WithEngineDescription(const char* value) { SetEngineDescription(value); return *this;}
208 
209 
214  inline const Aws::String& GetEngineVersionDescription() const{ return m_engineVersionDescription; }
215 
220  inline bool EngineVersionDescriptionHasBeenSet() const { return m_engineVersionDescriptionHasBeenSet; }
221 
226  inline void SetEngineVersionDescription(const Aws::String& value) { m_engineVersionDescriptionHasBeenSet = true; m_engineVersionDescription = value; }
227 
232  inline void SetEngineVersionDescription(Aws::String&& value) { m_engineVersionDescriptionHasBeenSet = true; m_engineVersionDescription = std::move(value); }
233 
238  inline void SetEngineVersionDescription(const char* value) { m_engineVersionDescriptionHasBeenSet = true; m_engineVersionDescription.assign(value); }
239 
244  inline RelationalDatabaseBlueprint& WithEngineVersionDescription(const Aws::String& value) { SetEngineVersionDescription(value); return *this;}
245 
250  inline RelationalDatabaseBlueprint& WithEngineVersionDescription(Aws::String&& value) { SetEngineVersionDescription(std::move(value)); return *this;}
251 
256  inline RelationalDatabaseBlueprint& WithEngineVersionDescription(const char* value) { SetEngineVersionDescription(value); return *this;}
257 
258 
263  inline bool GetIsEngineDefault() const{ return m_isEngineDefault; }
264 
269  inline bool IsEngineDefaultHasBeenSet() const { return m_isEngineDefaultHasBeenSet; }
270 
275  inline void SetIsEngineDefault(bool value) { m_isEngineDefaultHasBeenSet = true; m_isEngineDefault = value; }
276 
281  inline RelationalDatabaseBlueprint& WithIsEngineDefault(bool value) { SetIsEngineDefault(value); return *this;}
282 
283  private:
284 
285  Aws::String m_blueprintId;
286  bool m_blueprintIdHasBeenSet;
287 
288  RelationalDatabaseEngine m_engine;
289  bool m_engineHasBeenSet;
290 
291  Aws::String m_engineVersion;
292  bool m_engineVersionHasBeenSet;
293 
294  Aws::String m_engineDescription;
295  bool m_engineDescriptionHasBeenSet;
296 
297  Aws::String m_engineVersionDescription;
298  bool m_engineVersionDescriptionHasBeenSet;
299 
300  bool m_isEngineDefault;
301  bool m_isEngineDefaultHasBeenSet;
302  };
303 
304 } // namespace Model
305 } // namespace Lightsail
306 } // namespace Aws
Aws::Lightsail::Model::RelationalDatabaseBlueprint::RelationalDatabaseBlueprint
RelationalDatabaseBlueprint()
Aws::Lightsail::Model::RelationalDatabaseBlueprint::EngineVersionDescriptionHasBeenSet
bool EngineVersionDescriptionHasBeenSet() const
Definition: RelationalDatabaseBlueprint.h:220
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngineVersionDescription
void SetEngineVersionDescription(const char *value)
Definition: RelationalDatabaseBlueprint.h:238
Aws::Lightsail::Model::RelationalDatabaseBlueprint::BlueprintIdHasBeenSet
bool BlueprintIdHasBeenSet() const
Definition: RelationalDatabaseBlueprint.h:50
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngineDescription
RelationalDatabaseBlueprint & WithEngineDescription(const Aws::String &value)
Definition: RelationalDatabaseBlueprint.h:197
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngine
RelationalDatabaseBlueprint & WithEngine(const RelationalDatabaseEngine &value)
Definition: RelationalDatabaseBlueprint.h:111
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngineVersion
void SetEngineVersion(Aws::String &&value)
Definition: RelationalDatabaseBlueprint.h:142
Aws::Lightsail::Model::RelationalDatabaseBlueprint::RelationalDatabaseBlueprint
RelationalDatabaseBlueprint(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::RelationalDatabaseBlueprint::EngineDescriptionHasBeenSet
bool EngineDescriptionHasBeenSet() const
Definition: RelationalDatabaseBlueprint.h:177
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngine
void SetEngine(const RelationalDatabaseEngine &value)
Definition: RelationalDatabaseBlueprint.h:99
Aws::Lightsail::Model::RelationalDatabaseBlueprint::GetEngine
const RelationalDatabaseEngine & GetEngine() const
Definition: RelationalDatabaseBlueprint.h:87
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithBlueprintId
RelationalDatabaseBlueprint & WithBlueprintId(Aws::String &&value)
Definition: RelationalDatabaseBlueprint.h:75
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngineVersion
void SetEngineVersion(const char *value)
Definition: RelationalDatabaseBlueprint.h:148
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngineVersionDescription
void SetEngineVersionDescription(Aws::String &&value)
Definition: RelationalDatabaseBlueprint.h:232
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngineVersion
RelationalDatabaseBlueprint & WithEngineVersion(const char *value)
Definition: RelationalDatabaseBlueprint.h:166
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngineVersionDescription
RelationalDatabaseBlueprint & WithEngineVersionDescription(Aws::String &&value)
Definition: RelationalDatabaseBlueprint.h:250
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetBlueprintId
void SetBlueprintId(const char *value)
Definition: RelationalDatabaseBlueprint.h:65
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngineDescription
void SetEngineDescription(const char *value)
Definition: RelationalDatabaseBlueprint.h:192
Aws::Lightsail::Model::RelationalDatabaseBlueprint
Definition: RelationalDatabaseBlueprint.h:34
Aws::Lightsail::Model::RelationalDatabaseBlueprint::GetIsEngineDefault
bool GetIsEngineDefault() const
Definition: RelationalDatabaseBlueprint.h:263
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngineVersion
void SetEngineVersion(const Aws::String &value)
Definition: RelationalDatabaseBlueprint.h:136
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngineVersionDescription
RelationalDatabaseBlueprint & WithEngineVersionDescription(const char *value)
Definition: RelationalDatabaseBlueprint.h:256
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetIsEngineDefault
void SetIsEngineDefault(bool value)
Definition: RelationalDatabaseBlueprint.h:275
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngineDescription
RelationalDatabaseBlueprint & WithEngineDescription(Aws::String &&value)
Definition: RelationalDatabaseBlueprint.h:202
Aws::Lightsail::Model::RelationalDatabaseBlueprint::GetBlueprintId
const Aws::String & GetBlueprintId() const
Definition: RelationalDatabaseBlueprint.h:45
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetBlueprintId
void SetBlueprintId(Aws::String &&value)
Definition: RelationalDatabaseBlueprint.h:60
Aws::Lightsail::Model::RelationalDatabaseBlueprint::operator=
RelationalDatabaseBlueprint & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
RelationalDatabaseEngine.h
AWSString.h
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetBlueprintId
void SetBlueprintId(const Aws::String &value)
Definition: RelationalDatabaseBlueprint.h:55
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngineVersion
RelationalDatabaseBlueprint & WithEngineVersion(const Aws::String &value)
Definition: RelationalDatabaseBlueprint.h:154
Aws::Lightsail::Model::RelationalDatabaseBlueprint::GetEngineVersion
const Aws::String & GetEngineVersion() const
Definition: RelationalDatabaseBlueprint.h:124
Lightsail_EXPORTS.h
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngineDescription
RelationalDatabaseBlueprint & WithEngineDescription(const char *value)
Definition: RelationalDatabaseBlueprint.h:207
Aws::Lightsail::Model::RelationalDatabaseBlueprint::GetEngineDescription
const Aws::String & GetEngineDescription() const
Definition: RelationalDatabaseBlueprint.h:172
Aws::Lightsail::Model::RelationalDatabaseBlueprint::EngineVersionHasBeenSet
bool EngineVersionHasBeenSet() const
Definition: RelationalDatabaseBlueprint.h:130
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngine
void SetEngine(RelationalDatabaseEngine &&value)
Definition: RelationalDatabaseBlueprint.h:105
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngineVersionDescription
void SetEngineVersionDescription(const Aws::String &value)
Definition: RelationalDatabaseBlueprint.h:226
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithBlueprintId
RelationalDatabaseBlueprint & WithBlueprintId(const Aws::String &value)
Definition: RelationalDatabaseBlueprint.h:70
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngineDescription
void SetEngineDescription(Aws::String &&value)
Definition: RelationalDatabaseBlueprint.h:187
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::RelationalDatabaseBlueprint::SetEngineDescription
void SetEngineDescription(const Aws::String &value)
Definition: RelationalDatabaseBlueprint.h:182
Aws::Lightsail::Model::RelationalDatabaseBlueprint::GetEngineVersionDescription
const Aws::String & GetEngineVersionDescription() const
Definition: RelationalDatabaseBlueprint.h:214
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngine
RelationalDatabaseBlueprint & WithEngine(RelationalDatabaseEngine &&value)
Definition: RelationalDatabaseBlueprint.h:117
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::RelationalDatabaseBlueprint::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::RelationalDatabaseBlueprint::EngineHasBeenSet
bool EngineHasBeenSet() const
Definition: RelationalDatabaseBlueprint.h:93
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngineVersion
RelationalDatabaseBlueprint & WithEngineVersion(Aws::String &&value)
Definition: RelationalDatabaseBlueprint.h:160
Aws::Lightsail::Model::RelationalDatabaseBlueprint::IsEngineDefaultHasBeenSet
bool IsEngineDefaultHasBeenSet() const
Definition: RelationalDatabaseBlueprint.h:269
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithBlueprintId
RelationalDatabaseBlueprint & WithBlueprintId(const char *value)
Definition: RelationalDatabaseBlueprint.h:80
Aws::Lightsail::Model::RelationalDatabaseEngine
RelationalDatabaseEngine
Definition: RelationalDatabaseEngine.h:17
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithEngineVersionDescription
RelationalDatabaseBlueprint & WithEngineVersionDescription(const Aws::String &value)
Definition: RelationalDatabaseBlueprint.h:244
Aws::Lightsail::Model::RelationalDatabaseBlueprint::WithIsEngineDefault
RelationalDatabaseBlueprint & WithIsEngineDefault(bool value)
Definition: RelationalDatabaseBlueprint.h:281