AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PendingModifiedRelationalDatabaseValues.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_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 Lightsail
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
46 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
47 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
48 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
49 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
54
56
59 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
60 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
61 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
62 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
63 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
66 inline PendingModifiedRelationalDatabaseValues& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
68
70
73 inline bool GetBackupRetentionEnabled() const{ return m_backupRetentionEnabled; }
74 inline bool BackupRetentionEnabledHasBeenSet() const { return m_backupRetentionEnabledHasBeenSet; }
75 inline void SetBackupRetentionEnabled(bool value) { m_backupRetentionEnabledHasBeenSet = true; m_backupRetentionEnabled = value; }
78 private:
79
80 Aws::String m_masterUserPassword;
81 bool m_masterUserPasswordHasBeenSet = false;
82
83 Aws::String m_engineVersion;
84 bool m_engineVersionHasBeenSet = false;
85
86 bool m_backupRetentionEnabled;
87 bool m_backupRetentionEnabledHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace Lightsail
92} // namespace Aws
AWS_LIGHTSAIL_API PendingModifiedRelationalDatabaseValues(Aws::Utils::Json::JsonView jsonValue)
AWS_LIGHTSAIL_API PendingModifiedRelationalDatabaseValues & operator=(Aws::Utils::Json::JsonView jsonValue)
PendingModifiedRelationalDatabaseValues & WithMasterUserPassword(const char *value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
PendingModifiedRelationalDatabaseValues & WithEngineVersion(const char *value)
PendingModifiedRelationalDatabaseValues & WithMasterUserPassword(const Aws::String &value)
PendingModifiedRelationalDatabaseValues & WithEngineVersion(const Aws::String &value)
PendingModifiedRelationalDatabaseValues & WithEngineVersion(Aws::String &&value)
PendingModifiedRelationalDatabaseValues & WithMasterUserPassword(Aws::String &&value)
PendingModifiedRelationalDatabaseValues & WithBackupRetentionEnabled(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue