AWS SDK for C++  1.9.108
AWS SDK for C++
PendingModifiedRelationalDatabaseValues.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Lightsail
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
45 
49  inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
50 
54  inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
55 
59  inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
60 
64  inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
65 
69  inline PendingModifiedRelationalDatabaseValues& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;}
70 
74  inline PendingModifiedRelationalDatabaseValues& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
75 
79  inline PendingModifiedRelationalDatabaseValues& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
80 
81 
85  inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
86 
90  inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
91 
95  inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
96 
100  inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
101 
105  inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
106 
110  inline PendingModifiedRelationalDatabaseValues& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
111 
115  inline PendingModifiedRelationalDatabaseValues& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
116 
120  inline PendingModifiedRelationalDatabaseValues& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
121 
122 
126  inline bool GetBackupRetentionEnabled() const{ return m_backupRetentionEnabled; }
127 
131  inline bool BackupRetentionEnabledHasBeenSet() const { return m_backupRetentionEnabledHasBeenSet; }
132 
136  inline void SetBackupRetentionEnabled(bool value) { m_backupRetentionEnabledHasBeenSet = true; m_backupRetentionEnabled = value; }
137 
141  inline PendingModifiedRelationalDatabaseValues& WithBackupRetentionEnabled(bool value) { SetBackupRetentionEnabled(value); return *this;}
142 
143  private:
144 
145  Aws::String m_masterUserPassword;
146  bool m_masterUserPasswordHasBeenSet;
147 
148  Aws::String m_engineVersion;
149  bool m_engineVersionHasBeenSet;
150 
151  bool m_backupRetentionEnabled;
152  bool m_backupRetentionEnabledHasBeenSet;
153  };
154 
155 } // namespace Model
156 } // namespace Lightsail
157 } // namespace Aws
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::MasterUserPasswordHasBeenSet
bool MasterUserPasswordHasBeenSet() const
Definition: PendingModifiedRelationalDatabaseValues.h:49
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::GetEngineVersion
const Aws::String & GetEngineVersion() const
Definition: PendingModifiedRelationalDatabaseValues.h:85
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues
Definition: PendingModifiedRelationalDatabaseValues.h:33
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::EngineVersionHasBeenSet
bool EngineVersionHasBeenSet() const
Definition: PendingModifiedRelationalDatabaseValues.h:90
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::operator=
PendingModifiedRelationalDatabaseValues & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::SetMasterUserPassword
void SetMasterUserPassword(const char *value)
Definition: PendingModifiedRelationalDatabaseValues.h:64
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::PendingModifiedRelationalDatabaseValues
PendingModifiedRelationalDatabaseValues()
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::SetEngineVersion
void SetEngineVersion(const Aws::String &value)
Definition: PendingModifiedRelationalDatabaseValues.h:95
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::WithBackupRetentionEnabled
PendingModifiedRelationalDatabaseValues & WithBackupRetentionEnabled(bool value)
Definition: PendingModifiedRelationalDatabaseValues.h:141
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::PendingModifiedRelationalDatabaseValues
PendingModifiedRelationalDatabaseValues(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::BackupRetentionEnabledHasBeenSet
bool BackupRetentionEnabledHasBeenSet() const
Definition: PendingModifiedRelationalDatabaseValues.h:131
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::WithMasterUserPassword
PendingModifiedRelationalDatabaseValues & WithMasterUserPassword(Aws::String &&value)
Definition: PendingModifiedRelationalDatabaseValues.h:74
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::SetEngineVersion
void SetEngineVersion(Aws::String &&value)
Definition: PendingModifiedRelationalDatabaseValues.h:100
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Lightsail_EXPORTS.h
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::SetEngineVersion
void SetEngineVersion(const char *value)
Definition: PendingModifiedRelationalDatabaseValues.h:105
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::SetBackupRetentionEnabled
void SetBackupRetentionEnabled(bool value)
Definition: PendingModifiedRelationalDatabaseValues.h:136
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::WithEngineVersion
PendingModifiedRelationalDatabaseValues & WithEngineVersion(const char *value)
Definition: PendingModifiedRelationalDatabaseValues.h:120
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::WithMasterUserPassword
PendingModifiedRelationalDatabaseValues & WithMasterUserPassword(const Aws::String &value)
Definition: PendingModifiedRelationalDatabaseValues.h:69
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::WithMasterUserPassword
PendingModifiedRelationalDatabaseValues & WithMasterUserPassword(const char *value)
Definition: PendingModifiedRelationalDatabaseValues.h:79
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::WithEngineVersion
PendingModifiedRelationalDatabaseValues & WithEngineVersion(Aws::String &&value)
Definition: PendingModifiedRelationalDatabaseValues.h:115
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::SetMasterUserPassword
void SetMasterUserPassword(Aws::String &&value)
Definition: PendingModifiedRelationalDatabaseValues.h:59
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::GetBackupRetentionEnabled
bool GetBackupRetentionEnabled() const
Definition: PendingModifiedRelationalDatabaseValues.h:126
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::GetMasterUserPassword
const Aws::String & GetMasterUserPassword() const
Definition: PendingModifiedRelationalDatabaseValues.h:44
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::WithEngineVersion
PendingModifiedRelationalDatabaseValues & WithEngineVersion(const Aws::String &value)
Definition: PendingModifiedRelationalDatabaseValues.h:110
Aws::Lightsail::Model::PendingModifiedRelationalDatabaseValues::SetMasterUserPassword
void SetMasterUserPassword(const Aws::String &value)
Definition: PendingModifiedRelationalDatabaseValues.h:54