AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RelationalDatabaseBlueprint.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/RelationalDatabaseEngine.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lightsail
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LIGHTSAIL_API RelationalDatabaseBlueprint();
39 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetBlueprintId() const{ return m_blueprintId; }
47 inline bool BlueprintIdHasBeenSet() const { return m_blueprintIdHasBeenSet; }
48 inline void SetBlueprintId(const Aws::String& value) { m_blueprintIdHasBeenSet = true; m_blueprintId = value; }
49 inline void SetBlueprintId(Aws::String&& value) { m_blueprintIdHasBeenSet = true; m_blueprintId = std::move(value); }
50 inline void SetBlueprintId(const char* value) { m_blueprintIdHasBeenSet = true; m_blueprintId.assign(value); }
51 inline RelationalDatabaseBlueprint& WithBlueprintId(const Aws::String& value) { SetBlueprintId(value); return *this;}
52 inline RelationalDatabaseBlueprint& WithBlueprintId(Aws::String&& value) { SetBlueprintId(std::move(value)); return *this;}
53 inline RelationalDatabaseBlueprint& WithBlueprintId(const char* value) { SetBlueprintId(value); return *this;}
55
57
61 inline const RelationalDatabaseEngine& GetEngine() const{ return m_engine; }
62 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
63 inline void SetEngine(const RelationalDatabaseEngine& value) { m_engineHasBeenSet = true; m_engine = value; }
64 inline void SetEngine(RelationalDatabaseEngine&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
65 inline RelationalDatabaseBlueprint& WithEngine(const RelationalDatabaseEngine& value) { SetEngine(value); return *this;}
66 inline RelationalDatabaseBlueprint& WithEngine(RelationalDatabaseEngine&& value) { SetEngine(std::move(value)); return *this;}
68
70
74 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
75 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
76 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
77 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
78 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
79 inline RelationalDatabaseBlueprint& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
80 inline RelationalDatabaseBlueprint& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
81 inline RelationalDatabaseBlueprint& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
83
85
88 inline const Aws::String& GetEngineDescription() const{ return m_engineDescription; }
89 inline bool EngineDescriptionHasBeenSet() const { return m_engineDescriptionHasBeenSet; }
90 inline void SetEngineDescription(const Aws::String& value) { m_engineDescriptionHasBeenSet = true; m_engineDescription = value; }
91 inline void SetEngineDescription(Aws::String&& value) { m_engineDescriptionHasBeenSet = true; m_engineDescription = std::move(value); }
92 inline void SetEngineDescription(const char* value) { m_engineDescriptionHasBeenSet = true; m_engineDescription.assign(value); }
94 inline RelationalDatabaseBlueprint& WithEngineDescription(Aws::String&& value) { SetEngineDescription(std::move(value)); return *this;}
95 inline RelationalDatabaseBlueprint& WithEngineDescription(const char* value) { SetEngineDescription(value); return *this;}
97
99
103 inline const Aws::String& GetEngineVersionDescription() const{ return m_engineVersionDescription; }
104 inline bool EngineVersionDescriptionHasBeenSet() const { return m_engineVersionDescriptionHasBeenSet; }
105 inline void SetEngineVersionDescription(const Aws::String& value) { m_engineVersionDescriptionHasBeenSet = true; m_engineVersionDescription = value; }
106 inline void SetEngineVersionDescription(Aws::String&& value) { m_engineVersionDescriptionHasBeenSet = true; m_engineVersionDescription = std::move(value); }
107 inline void SetEngineVersionDescription(const char* value) { m_engineVersionDescriptionHasBeenSet = true; m_engineVersionDescription.assign(value); }
112
114
118 inline bool GetIsEngineDefault() const{ return m_isEngineDefault; }
119 inline bool IsEngineDefaultHasBeenSet() const { return m_isEngineDefaultHasBeenSet; }
120 inline void SetIsEngineDefault(bool value) { m_isEngineDefaultHasBeenSet = true; m_isEngineDefault = value; }
121 inline RelationalDatabaseBlueprint& WithIsEngineDefault(bool value) { SetIsEngineDefault(value); return *this;}
123 private:
124
125 Aws::String m_blueprintId;
126 bool m_blueprintIdHasBeenSet = false;
127
129 bool m_engineHasBeenSet = false;
130
131 Aws::String m_engineVersion;
132 bool m_engineVersionHasBeenSet = false;
133
134 Aws::String m_engineDescription;
135 bool m_engineDescriptionHasBeenSet = false;
136
137 Aws::String m_engineVersionDescription;
138 bool m_engineVersionDescriptionHasBeenSet = false;
139
140 bool m_isEngineDefault;
141 bool m_isEngineDefaultHasBeenSet = false;
142 };
143
144} // namespace Model
145} // namespace Lightsail
146} // namespace Aws
RelationalDatabaseBlueprint & WithEngineVersion(const char *value)
RelationalDatabaseBlueprint & WithEngine(RelationalDatabaseEngine &&value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
RelationalDatabaseBlueprint & WithEngineDescription(const char *value)
void SetEngine(const RelationalDatabaseEngine &value)
RelationalDatabaseBlueprint & WithEngineDescription(const Aws::String &value)
RelationalDatabaseBlueprint & WithBlueprintId(const char *value)
RelationalDatabaseBlueprint & WithEngineDescription(Aws::String &&value)
RelationalDatabaseBlueprint & WithEngineVersionDescription(const char *value)
RelationalDatabaseBlueprint & WithBlueprintId(Aws::String &&value)
RelationalDatabaseBlueprint & WithBlueprintId(const Aws::String &value)
RelationalDatabaseBlueprint & WithIsEngineDefault(bool value)
RelationalDatabaseBlueprint & WithEngineVersion(const Aws::String &value)
AWS_LIGHTSAIL_API RelationalDatabaseBlueprint & operator=(Aws::Utils::Json::JsonView jsonValue)
RelationalDatabaseBlueprint & WithEngineVersionDescription(Aws::String &&value)
RelationalDatabaseBlueprint & WithEngineVersionDescription(const Aws::String &value)
RelationalDatabaseBlueprint & WithEngine(const RelationalDatabaseEngine &value)
RelationalDatabaseBlueprint & WithEngineVersion(Aws::String &&value)
AWS_LIGHTSAIL_API RelationalDatabaseBlueprint(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue