AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TenantDatabase.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/rds/model/TenantDatabasePendingModifiedValues.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/rds/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace RDS
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_RDS_API TenantDatabase();
41 AWS_RDS_API TenantDatabase(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::Utils::DateTime& GetTenantDatabaseCreateTime() const{ return m_tenantDatabaseCreateTime; }
53 inline bool TenantDatabaseCreateTimeHasBeenSet() const { return m_tenantDatabaseCreateTimeHasBeenSet; }
54 inline void SetTenantDatabaseCreateTime(const Aws::Utils::DateTime& value) { m_tenantDatabaseCreateTimeHasBeenSet = true; m_tenantDatabaseCreateTime = value; }
55 inline void SetTenantDatabaseCreateTime(Aws::Utils::DateTime&& value) { m_tenantDatabaseCreateTimeHasBeenSet = true; m_tenantDatabaseCreateTime = std::move(value); }
59
61
64 inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
65 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
66 inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
67 inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); }
68 inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
69 inline TenantDatabase& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
70 inline TenantDatabase& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
71 inline TenantDatabase& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
73
75
78 inline const Aws::String& GetTenantDBName() const{ return m_tenantDBName; }
79 inline bool TenantDBNameHasBeenSet() const { return m_tenantDBNameHasBeenSet; }
80 inline void SetTenantDBName(const Aws::String& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = value; }
81 inline void SetTenantDBName(Aws::String&& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = std::move(value); }
82 inline void SetTenantDBName(const char* value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName.assign(value); }
83 inline TenantDatabase& WithTenantDBName(const Aws::String& value) { SetTenantDBName(value); return *this;}
84 inline TenantDatabase& WithTenantDBName(Aws::String&& value) { SetTenantDBName(std::move(value)); return *this;}
85 inline TenantDatabase& WithTenantDBName(const char* value) { SetTenantDBName(value); return *this;}
87
89
92 inline const Aws::String& GetStatus() const{ return m_status; }
93 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
94 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
95 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
96 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
97 inline TenantDatabase& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
98 inline TenantDatabase& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
99 inline TenantDatabase& WithStatus(const char* value) { SetStatus(value); return *this;}
101
103
106 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
107 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
108 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
109 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
110 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
111 inline TenantDatabase& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
112 inline TenantDatabase& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
113 inline TenantDatabase& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
115
117
121 inline const Aws::String& GetDbiResourceId() const{ return m_dbiResourceId; }
122 inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; }
123 inline void SetDbiResourceId(const Aws::String& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = value; }
124 inline void SetDbiResourceId(Aws::String&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::move(value); }
125 inline void SetDbiResourceId(const char* value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId.assign(value); }
126 inline TenantDatabase& WithDbiResourceId(const Aws::String& value) { SetDbiResourceId(value); return *this;}
127 inline TenantDatabase& WithDbiResourceId(Aws::String&& value) { SetDbiResourceId(std::move(value)); return *this;}
128 inline TenantDatabase& WithDbiResourceId(const char* value) { SetDbiResourceId(value); return *this;}
130
132
136 inline const Aws::String& GetTenantDatabaseResourceId() const{ return m_tenantDatabaseResourceId; }
137 inline bool TenantDatabaseResourceIdHasBeenSet() const { return m_tenantDatabaseResourceIdHasBeenSet; }
138 inline void SetTenantDatabaseResourceId(const Aws::String& value) { m_tenantDatabaseResourceIdHasBeenSet = true; m_tenantDatabaseResourceId = value; }
139 inline void SetTenantDatabaseResourceId(Aws::String&& value) { m_tenantDatabaseResourceIdHasBeenSet = true; m_tenantDatabaseResourceId = std::move(value); }
140 inline void SetTenantDatabaseResourceId(const char* value) { m_tenantDatabaseResourceIdHasBeenSet = true; m_tenantDatabaseResourceId.assign(value); }
142 inline TenantDatabase& WithTenantDatabaseResourceId(Aws::String&& value) { SetTenantDatabaseResourceId(std::move(value)); return *this;}
143 inline TenantDatabase& WithTenantDatabaseResourceId(const char* value) { SetTenantDatabaseResourceId(value); return *this;}
145
147
150 inline const Aws::String& GetTenantDatabaseARN() const{ return m_tenantDatabaseARN; }
151 inline bool TenantDatabaseARNHasBeenSet() const { return m_tenantDatabaseARNHasBeenSet; }
152 inline void SetTenantDatabaseARN(const Aws::String& value) { m_tenantDatabaseARNHasBeenSet = true; m_tenantDatabaseARN = value; }
153 inline void SetTenantDatabaseARN(Aws::String&& value) { m_tenantDatabaseARNHasBeenSet = true; m_tenantDatabaseARN = std::move(value); }
154 inline void SetTenantDatabaseARN(const char* value) { m_tenantDatabaseARNHasBeenSet = true; m_tenantDatabaseARN.assign(value); }
155 inline TenantDatabase& WithTenantDatabaseARN(const Aws::String& value) { SetTenantDatabaseARN(value); return *this;}
156 inline TenantDatabase& WithTenantDatabaseARN(Aws::String&& value) { SetTenantDatabaseARN(std::move(value)); return *this;}
157 inline TenantDatabase& WithTenantDatabaseARN(const char* value) { SetTenantDatabaseARN(value); return *this;}
159
161
164 inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; }
165 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
166 inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; }
167 inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); }
168 inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); }
169 inline TenantDatabase& WithCharacterSetName(const Aws::String& value) { SetCharacterSetName(value); return *this;}
170 inline TenantDatabase& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;}
171 inline TenantDatabase& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;}
173
175
178 inline const Aws::String& GetNcharCharacterSetName() const{ return m_ncharCharacterSetName; }
179 inline bool NcharCharacterSetNameHasBeenSet() const { return m_ncharCharacterSetNameHasBeenSet; }
180 inline void SetNcharCharacterSetName(const Aws::String& value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName = value; }
181 inline void SetNcharCharacterSetName(Aws::String&& value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName = std::move(value); }
182 inline void SetNcharCharacterSetName(const char* value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName.assign(value); }
184 inline TenantDatabase& WithNcharCharacterSetName(Aws::String&& value) { SetNcharCharacterSetName(std::move(value)); return *this;}
185 inline TenantDatabase& WithNcharCharacterSetName(const char* value) { SetNcharCharacterSetName(value); return *this;}
187
189
192 inline bool GetDeletionProtection() const{ return m_deletionProtection; }
193 inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; }
194 inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; }
195 inline TenantDatabase& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;}
197
199
202 inline const TenantDatabasePendingModifiedValues& GetPendingModifiedValues() const{ return m_pendingModifiedValues; }
203 inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; }
204 inline void SetPendingModifiedValues(const TenantDatabasePendingModifiedValues& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = value; }
205 inline void SetPendingModifiedValues(TenantDatabasePendingModifiedValues&& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = std::move(value); }
209
211
212 inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
213 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
214 inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
215 inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagListHasBeenSet = true; m_tagList = std::move(value); }
216 inline TenantDatabase& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
217 inline TenantDatabase& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
218 inline TenantDatabase& AddTagList(const Tag& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
219 inline TenantDatabase& AddTagList(Tag&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(std::move(value)); return *this; }
221 private:
222
223 Aws::Utils::DateTime m_tenantDatabaseCreateTime;
224 bool m_tenantDatabaseCreateTimeHasBeenSet = false;
225
226 Aws::String m_dBInstanceIdentifier;
227 bool m_dBInstanceIdentifierHasBeenSet = false;
228
229 Aws::String m_tenantDBName;
230 bool m_tenantDBNameHasBeenSet = false;
231
232 Aws::String m_status;
233 bool m_statusHasBeenSet = false;
234
235 Aws::String m_masterUsername;
236 bool m_masterUsernameHasBeenSet = false;
237
238 Aws::String m_dbiResourceId;
239 bool m_dbiResourceIdHasBeenSet = false;
240
241 Aws::String m_tenantDatabaseResourceId;
242 bool m_tenantDatabaseResourceIdHasBeenSet = false;
243
244 Aws::String m_tenantDatabaseARN;
245 bool m_tenantDatabaseARNHasBeenSet = false;
246
247 Aws::String m_characterSetName;
248 bool m_characterSetNameHasBeenSet = false;
249
250 Aws::String m_ncharCharacterSetName;
251 bool m_ncharCharacterSetNameHasBeenSet = false;
252
253 bool m_deletionProtection;
254 bool m_deletionProtectionHasBeenSet = false;
255
256 TenantDatabasePendingModifiedValues m_pendingModifiedValues;
257 bool m_pendingModifiedValuesHasBeenSet = false;
258
259 Aws::Vector<Tag> m_tagList;
260 bool m_tagListHasBeenSet = false;
261 };
262
263} // namespace Model
264} // namespace RDS
265} // namespace Aws
void SetCharacterSetName(const char *value)
const Aws::String & GetCharacterSetName() const
void SetDBInstanceIdentifier(Aws::String &&value)
TenantDatabase & WithMasterUsername(const Aws::String &value)
TenantDatabase & WithTenantDatabaseARN(Aws::String &&value)
void SetDbiResourceId(Aws::String &&value)
AWS_RDS_API TenantDatabase(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBInstanceIdentifier(const Aws::String &value)
TenantDatabase & WithStatus(const char *value)
void SetNcharCharacterSetName(const Aws::String &value)
TenantDatabase & WithCharacterSetName(const char *value)
TenantDatabase & WithStatus(Aws::String &&value)
TenantDatabase & WithTenantDBName(const Aws::String &value)
const Aws::String & GetStatus() const
TenantDatabase & AddTagList(const Tag &value)
void SetCharacterSetName(Aws::String &&value)
TenantDatabase & WithPendingModifiedValues(TenantDatabasePendingModifiedValues &&value)
TenantDatabase & WithPendingModifiedValues(const TenantDatabasePendingModifiedValues &value)
void SetTenantDatabaseCreateTime(const Aws::Utils::DateTime &value)
TenantDatabase & WithTenantDBName(const char *value)
void SetDBInstanceIdentifier(const char *value)
void SetStatus(const char *value)
void SetNcharCharacterSetName(Aws::String &&value)
void SetDbiResourceId(const char *value)
void SetTenantDatabaseARN(const char *value)
const Aws::String & GetMasterUsername() const
TenantDatabase & WithTenantDatabaseARN(const char *value)
void SetTenantDBName(const char *value)
AWS_RDS_API TenantDatabase & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCharacterSetName(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetTenantDatabaseARN(const Aws::String &value)
void SetTenantDatabaseResourceId(const char *value)
TenantDatabase & WithTenantDBName(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool TenantDatabaseCreateTimeHasBeenSet() const
TenantDatabase & WithNcharCharacterSetName(const char *value)
void SetTenantDBName(const Aws::String &value)
void SetTenantDatabaseCreateTime(Aws::Utils::DateTime &&value)
void SetTenantDatabaseARN(Aws::String &&value)
const Aws::String & GetTenantDatabaseARN() const
TenantDatabase & WithMasterUsername(Aws::String &&value)
const TenantDatabasePendingModifiedValues & GetPendingModifiedValues() const
TenantDatabase & WithNcharCharacterSetName(const Aws::String &value)
void SetMasterUsername(const Aws::String &value)
TenantDatabase & WithDBInstanceIdentifier(const Aws::String &value)
TenantDatabase & WithDeletionProtection(bool value)
TenantDatabase & WithTagList(const Aws::Vector< Tag > &value)
void SetTenantDatabaseResourceId(Aws::String &&value)
TenantDatabase & WithNcharCharacterSetName(Aws::String &&value)
const Aws::String & GetTenantDatabaseResourceId() const
TenantDatabase & AddTagList(Tag &&value)
void SetPendingModifiedValues(TenantDatabasePendingModifiedValues &&value)
const Aws::String & GetDBInstanceIdentifier() const
TenantDatabase & WithTenantDatabaseARN(const Aws::String &value)
TenantDatabase & WithMasterUsername(const char *value)
TenantDatabase & WithTenantDatabaseResourceId(Aws::String &&value)
bool TenantDatabaseResourceIdHasBeenSet() const
const Aws::Vector< Tag > & GetTagList() const
const Aws::String & GetTenantDBName() const
void SetTenantDatabaseResourceId(const Aws::String &value)
void SetTagList(const Aws::Vector< Tag > &value)
const Aws::String & GetDbiResourceId() const
TenantDatabase & WithCharacterSetName(const Aws::String &value)
void SetMasterUsername(Aws::String &&value)
TenantDatabase & WithStatus(const Aws::String &value)
TenantDatabase & WithTenantDatabaseCreateTime(const Aws::Utils::DateTime &value)
TenantDatabase & WithDBInstanceIdentifier(const char *value)
void SetPendingModifiedValues(const TenantDatabasePendingModifiedValues &value)
void SetStatus(Aws::String &&value)
TenantDatabase & WithTagList(Aws::Vector< Tag > &&value)
TenantDatabase & WithDBInstanceIdentifier(Aws::String &&value)
TenantDatabase & WithDbiResourceId(const char *value)
void SetStatus(const Aws::String &value)
TenantDatabase & WithCharacterSetName(Aws::String &&value)
TenantDatabase & WithDbiResourceId(Aws::String &&value)
void SetTagList(Aws::Vector< Tag > &&value)
void SetNcharCharacterSetName(const char *value)
TenantDatabase & WithTenantDatabaseResourceId(const Aws::String &value)
void SetMasterUsername(const char *value)
const Aws::String & GetNcharCharacterSetName() const
void SetTenantDBName(Aws::String &&value)
TenantDatabase & WithTenantDatabaseCreateTime(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetTenantDatabaseCreateTime() const
void SetDbiResourceId(const Aws::String &value)
TenantDatabase & WithTenantDatabaseResourceId(const char *value)
TenantDatabase & WithDbiResourceId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream