AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModifyTenantDatabaseRequest.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace RDS
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ModifyTenantDatabase"; }
31
32 AWS_RDS_API Aws::String SerializePayload() const override;
33
34 protected:
35 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
36
37 public:
38
40
45 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
46 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
47 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
48 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
49 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
52 inline ModifyTenantDatabaseRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
54
56
61 inline const Aws::String& GetTenantDBName() const{ return m_tenantDBName; }
62 inline bool TenantDBNameHasBeenSet() const { return m_tenantDBNameHasBeenSet; }
63 inline void SetTenantDBName(const Aws::String& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = value; }
64 inline void SetTenantDBName(Aws::String&& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = std::move(value); }
65 inline void SetTenantDBName(const char* value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName.assign(value); }
66 inline ModifyTenantDatabaseRequest& WithTenantDBName(const Aws::String& value) { SetTenantDBName(value); return *this;}
67 inline ModifyTenantDatabaseRequest& WithTenantDBName(Aws::String&& value) { SetTenantDBName(std::move(value)); return *this;}
68 inline ModifyTenantDatabaseRequest& WithTenantDBName(const char* value) { SetTenantDBName(value); return *this;}
70
72
83 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
84 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
85 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
86 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
87 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
89 inline ModifyTenantDatabaseRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
90 inline ModifyTenantDatabaseRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
92
94
100 inline const Aws::String& GetNewTenantDBName() const{ return m_newTenantDBName; }
101 inline bool NewTenantDBNameHasBeenSet() const { return m_newTenantDBNameHasBeenSet; }
102 inline void SetNewTenantDBName(const Aws::String& value) { m_newTenantDBNameHasBeenSet = true; m_newTenantDBName = value; }
103 inline void SetNewTenantDBName(Aws::String&& value) { m_newTenantDBNameHasBeenSet = true; m_newTenantDBName = std::move(value); }
104 inline void SetNewTenantDBName(const char* value) { m_newTenantDBNameHasBeenSet = true; m_newTenantDBName.assign(value); }
106 inline ModifyTenantDatabaseRequest& WithNewTenantDBName(Aws::String&& value) { SetNewTenantDBName(std::move(value)); return *this;}
107 inline ModifyTenantDatabaseRequest& WithNewTenantDBName(const char* value) { SetNewTenantDBName(value); return *this;}
109 private:
110
111 Aws::String m_dBInstanceIdentifier;
112 bool m_dBInstanceIdentifierHasBeenSet = false;
113
114 Aws::String m_tenantDBName;
115 bool m_tenantDBNameHasBeenSet = false;
116
117 Aws::String m_masterUserPassword;
118 bool m_masterUserPasswordHasBeenSet = false;
119
120 Aws::String m_newTenantDBName;
121 bool m_newTenantDBNameHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace RDS
126} // namespace Aws
ModifyTenantDatabaseRequest & WithDBInstanceIdentifier(Aws::String &&value)
ModifyTenantDatabaseRequest & WithNewTenantDBName(Aws::String &&value)
ModifyTenantDatabaseRequest & WithMasterUserPassword(const Aws::String &value)
AWS_RDS_API Aws::String SerializePayload() const override
ModifyTenantDatabaseRequest & WithMasterUserPassword(const char *value)
ModifyTenantDatabaseRequest & WithDBInstanceIdentifier(const Aws::String &value)
ModifyTenantDatabaseRequest & WithTenantDBName(const char *value)
ModifyTenantDatabaseRequest & WithTenantDBName(Aws::String &&value)
ModifyTenantDatabaseRequest & WithNewTenantDBName(const Aws::String &value)
ModifyTenantDatabaseRequest & WithTenantDBName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ModifyTenantDatabaseRequest & WithNewTenantDBName(const char *value)
ModifyTenantDatabaseRequest & WithMasterUserPassword(Aws::String &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyTenantDatabaseRequest & WithDBInstanceIdentifier(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String