AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateTenantDatabaseRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace RDS
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateTenantDatabase"; }
33
34 AWS_RDS_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
38
39 public:
40
42
46 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
47 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
48 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
49 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
50 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
53 inline CreateTenantDatabaseRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
55
57
62 inline const Aws::String& GetTenantDBName() const{ return m_tenantDBName; }
63 inline bool TenantDBNameHasBeenSet() const { return m_tenantDBNameHasBeenSet; }
64 inline void SetTenantDBName(const Aws::String& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = value; }
65 inline void SetTenantDBName(Aws::String&& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = std::move(value); }
66 inline void SetTenantDBName(const char* value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName.assign(value); }
67 inline CreateTenantDatabaseRequest& WithTenantDBName(const Aws::String& value) { SetTenantDBName(value); return *this;}
68 inline CreateTenantDatabaseRequest& WithTenantDBName(Aws::String&& value) { SetTenantDBName(std::move(value)); return *this;}
69 inline CreateTenantDatabaseRequest& WithTenantDBName(const char* value) { SetTenantDBName(value); return *this;}
71
73
81 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
82 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
83 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
84 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
85 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
86 inline CreateTenantDatabaseRequest& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
87 inline CreateTenantDatabaseRequest& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
88 inline CreateTenantDatabaseRequest& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
90
92
100 inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; }
101 inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; }
102 inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; }
103 inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); }
104 inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); }
106 inline CreateTenantDatabaseRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;}
107 inline CreateTenantDatabaseRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;}
109
111
115 inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; }
116 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
117 inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; }
118 inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); }
119 inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); }
121 inline CreateTenantDatabaseRequest& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;}
122 inline CreateTenantDatabaseRequest& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;}
124
126
129 inline const Aws::String& GetNcharCharacterSetName() const{ return m_ncharCharacterSetName; }
130 inline bool NcharCharacterSetNameHasBeenSet() const { return m_ncharCharacterSetNameHasBeenSet; }
131 inline void SetNcharCharacterSetName(const Aws::String& value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName = value; }
132 inline void SetNcharCharacterSetName(Aws::String&& value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName = std::move(value); }
133 inline void SetNcharCharacterSetName(const char* value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName.assign(value); }
136 inline CreateTenantDatabaseRequest& WithNcharCharacterSetName(const char* value) { SetNcharCharacterSetName(value); return *this;}
138
140
141 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
142 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
143 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
144 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
145 inline CreateTenantDatabaseRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
146 inline CreateTenantDatabaseRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
147 inline CreateTenantDatabaseRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
148 inline CreateTenantDatabaseRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
150 private:
151
152 Aws::String m_dBInstanceIdentifier;
153 bool m_dBInstanceIdentifierHasBeenSet = false;
154
155 Aws::String m_tenantDBName;
156 bool m_tenantDBNameHasBeenSet = false;
157
158 Aws::String m_masterUsername;
159 bool m_masterUsernameHasBeenSet = false;
160
161 Aws::String m_masterUserPassword;
162 bool m_masterUserPasswordHasBeenSet = false;
163
164 Aws::String m_characterSetName;
165 bool m_characterSetNameHasBeenSet = false;
166
167 Aws::String m_ncharCharacterSetName;
168 bool m_ncharCharacterSetNameHasBeenSet = false;
169
170 Aws::Vector<Tag> m_tags;
171 bool m_tagsHasBeenSet = false;
172 };
173
174} // namespace Model
175} // namespace RDS
176} // namespace Aws
CreateTenantDatabaseRequest & WithCharacterSetName(const Aws::String &value)
CreateTenantDatabaseRequest & WithMasterUsername(const Aws::String &value)
CreateTenantDatabaseRequest & WithDBInstanceIdentifier(const char *value)
CreateTenantDatabaseRequest & WithTags(const Aws::Vector< Tag > &value)
CreateTenantDatabaseRequest & WithMasterUsername(const char *value)
CreateTenantDatabaseRequest & WithMasterUserPassword(Aws::String &&value)
CreateTenantDatabaseRequest & WithTenantDBName(Aws::String &&value)
CreateTenantDatabaseRequest & WithTenantDBName(const char *value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateTenantDatabaseRequest & WithMasterUsername(Aws::String &&value)
CreateTenantDatabaseRequest & WithMasterUserPassword(const char *value)
CreateTenantDatabaseRequest & WithTenantDBName(const Aws::String &value)
CreateTenantDatabaseRequest & WithCharacterSetName(Aws::String &&value)
CreateTenantDatabaseRequest & WithTags(Aws::Vector< Tag > &&value)
virtual const char * GetServiceRequestName() const override
CreateTenantDatabaseRequest & WithDBInstanceIdentifier(Aws::String &&value)
CreateTenantDatabaseRequest & AddTags(const Tag &value)
CreateTenantDatabaseRequest & WithMasterUserPassword(const Aws::String &value)
CreateTenantDatabaseRequest & WithDBInstanceIdentifier(const Aws::String &value)
AWS_RDS_API Aws::String SerializePayload() const override
CreateTenantDatabaseRequest & AddTags(Tag &&value)
CreateTenantDatabaseRequest & WithNcharCharacterSetName(Aws::String &&value)
CreateTenantDatabaseRequest & WithNcharCharacterSetName(const char *value)
CreateTenantDatabaseRequest & WithCharacterSetName(const char *value)
CreateTenantDatabaseRequest & WithNcharCharacterSetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector