AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBSnapshotTenantDatabase.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/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rds/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace RDS
25{
26namespace Model
27{
28
36 {
37 public:
41
42 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const Aws::String& GetDBSnapshotIdentifier() const{ return m_dBSnapshotIdentifier; }
51 inline bool DBSnapshotIdentifierHasBeenSet() const { return m_dBSnapshotIdentifierHasBeenSet; }
52 inline void SetDBSnapshotIdentifier(const Aws::String& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; }
53 inline void SetDBSnapshotIdentifier(Aws::String&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::move(value); }
54 inline void SetDBSnapshotIdentifier(const char* value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier.assign(value); }
56 inline DBSnapshotTenantDatabase& WithDBSnapshotIdentifier(Aws::String&& value) { SetDBSnapshotIdentifier(std::move(value)); return *this;}
57 inline DBSnapshotTenantDatabase& WithDBSnapshotIdentifier(const char* value) { SetDBSnapshotIdentifier(value); return *this;}
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); }
70 inline DBSnapshotTenantDatabase& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;}
71 inline DBSnapshotTenantDatabase& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
73
75
79 inline const Aws::String& GetDbiResourceId() const{ return m_dbiResourceId; }
80 inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; }
81 inline void SetDbiResourceId(const Aws::String& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = value; }
82 inline void SetDbiResourceId(Aws::String&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::move(value); }
83 inline void SetDbiResourceId(const char* value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId.assign(value); }
84 inline DBSnapshotTenantDatabase& WithDbiResourceId(const Aws::String& value) { SetDbiResourceId(value); return *this;}
85 inline DBSnapshotTenantDatabase& WithDbiResourceId(Aws::String&& value) { SetDbiResourceId(std::move(value)); return *this;}
86 inline DBSnapshotTenantDatabase& WithDbiResourceId(const char* value) { SetDbiResourceId(value); return *this;}
88
90
93 inline const Aws::String& GetEngineName() const{ return m_engineName; }
94 inline bool EngineNameHasBeenSet() const { return m_engineNameHasBeenSet; }
95 inline void SetEngineName(const Aws::String& value) { m_engineNameHasBeenSet = true; m_engineName = value; }
96 inline void SetEngineName(Aws::String&& value) { m_engineNameHasBeenSet = true; m_engineName = std::move(value); }
97 inline void SetEngineName(const char* value) { m_engineNameHasBeenSet = true; m_engineName.assign(value); }
98 inline DBSnapshotTenantDatabase& WithEngineName(const Aws::String& value) { SetEngineName(value); return *this;}
99 inline DBSnapshotTenantDatabase& WithEngineName(Aws::String&& value) { SetEngineName(std::move(value)); return *this;}
100 inline DBSnapshotTenantDatabase& WithEngineName(const char* value) { SetEngineName(value); return *this;}
102
104
107 inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
108 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
109 inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
110 inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
111 inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
112 inline DBSnapshotTenantDatabase& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;}
113 inline DBSnapshotTenantDatabase& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
114 inline DBSnapshotTenantDatabase& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
116
118
122 inline const Aws::Utils::DateTime& GetTenantDatabaseCreateTime() const{ return m_tenantDatabaseCreateTime; }
123 inline bool TenantDatabaseCreateTimeHasBeenSet() const { return m_tenantDatabaseCreateTimeHasBeenSet; }
124 inline void SetTenantDatabaseCreateTime(const Aws::Utils::DateTime& value) { m_tenantDatabaseCreateTimeHasBeenSet = true; m_tenantDatabaseCreateTime = value; }
125 inline void SetTenantDatabaseCreateTime(Aws::Utils::DateTime&& value) { m_tenantDatabaseCreateTimeHasBeenSet = true; m_tenantDatabaseCreateTime = std::move(value); }
129
131
134 inline const Aws::String& GetTenantDBName() const{ return m_tenantDBName; }
135 inline bool TenantDBNameHasBeenSet() const { return m_tenantDBNameHasBeenSet; }
136 inline void SetTenantDBName(const Aws::String& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = value; }
137 inline void SetTenantDBName(Aws::String&& value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName = std::move(value); }
138 inline void SetTenantDBName(const char* value) { m_tenantDBNameHasBeenSet = true; m_tenantDBName.assign(value); }
139 inline DBSnapshotTenantDatabase& WithTenantDBName(const Aws::String& value) { SetTenantDBName(value); return *this;}
140 inline DBSnapshotTenantDatabase& WithTenantDBName(Aws::String&& value) { SetTenantDBName(std::move(value)); return *this;}
141 inline DBSnapshotTenantDatabase& WithTenantDBName(const char* value) { SetTenantDBName(value); return *this;}
143
145
148 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
149 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
150 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
151 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
152 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
153 inline DBSnapshotTenantDatabase& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
154 inline DBSnapshotTenantDatabase& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
155 inline DBSnapshotTenantDatabase& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
157
159
162 inline const Aws::String& GetTenantDatabaseResourceId() const{ return m_tenantDatabaseResourceId; }
163 inline bool TenantDatabaseResourceIdHasBeenSet() const { return m_tenantDatabaseResourceIdHasBeenSet; }
164 inline void SetTenantDatabaseResourceId(const Aws::String& value) { m_tenantDatabaseResourceIdHasBeenSet = true; m_tenantDatabaseResourceId = value; }
165 inline void SetTenantDatabaseResourceId(Aws::String&& value) { m_tenantDatabaseResourceIdHasBeenSet = true; m_tenantDatabaseResourceId = std::move(value); }
166 inline void SetTenantDatabaseResourceId(const char* value) { m_tenantDatabaseResourceIdHasBeenSet = true; m_tenantDatabaseResourceId.assign(value); }
171
173
176 inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; }
177 inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; }
178 inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; }
179 inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); }
180 inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); }
182 inline DBSnapshotTenantDatabase& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;}
183 inline DBSnapshotTenantDatabase& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;}
185
187
190 inline const Aws::String& GetDBSnapshotTenantDatabaseARN() const{ return m_dBSnapshotTenantDatabaseARN; }
191 inline bool DBSnapshotTenantDatabaseARNHasBeenSet() const { return m_dBSnapshotTenantDatabaseARNHasBeenSet; }
192 inline void SetDBSnapshotTenantDatabaseARN(const Aws::String& value) { m_dBSnapshotTenantDatabaseARNHasBeenSet = true; m_dBSnapshotTenantDatabaseARN = value; }
193 inline void SetDBSnapshotTenantDatabaseARN(Aws::String&& value) { m_dBSnapshotTenantDatabaseARNHasBeenSet = true; m_dBSnapshotTenantDatabaseARN = std::move(value); }
194 inline void SetDBSnapshotTenantDatabaseARN(const char* value) { m_dBSnapshotTenantDatabaseARNHasBeenSet = true; m_dBSnapshotTenantDatabaseARN.assign(value); }
199
201
204 inline const Aws::String& GetNcharCharacterSetName() const{ return m_ncharCharacterSetName; }
205 inline bool NcharCharacterSetNameHasBeenSet() const { return m_ncharCharacterSetNameHasBeenSet; }
206 inline void SetNcharCharacterSetName(const Aws::String& value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName = value; }
207 inline void SetNcharCharacterSetName(Aws::String&& value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName = std::move(value); }
208 inline void SetNcharCharacterSetName(const char* value) { m_ncharCharacterSetNameHasBeenSet = true; m_ncharCharacterSetName.assign(value); }
211 inline DBSnapshotTenantDatabase& WithNcharCharacterSetName(const char* value) { SetNcharCharacterSetName(value); return *this;}
213
215
216 inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
217 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
218 inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
219 inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagListHasBeenSet = true; m_tagList = std::move(value); }
220 inline DBSnapshotTenantDatabase& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
221 inline DBSnapshotTenantDatabase& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
222 inline DBSnapshotTenantDatabase& AddTagList(const Tag& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
223 inline DBSnapshotTenantDatabase& AddTagList(Tag&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(std::move(value)); return *this; }
225 private:
226
227 Aws::String m_dBSnapshotIdentifier;
228 bool m_dBSnapshotIdentifierHasBeenSet = false;
229
230 Aws::String m_dBInstanceIdentifier;
231 bool m_dBInstanceIdentifierHasBeenSet = false;
232
233 Aws::String m_dbiResourceId;
234 bool m_dbiResourceIdHasBeenSet = false;
235
236 Aws::String m_engineName;
237 bool m_engineNameHasBeenSet = false;
238
239 Aws::String m_snapshotType;
240 bool m_snapshotTypeHasBeenSet = false;
241
242 Aws::Utils::DateTime m_tenantDatabaseCreateTime;
243 bool m_tenantDatabaseCreateTimeHasBeenSet = false;
244
245 Aws::String m_tenantDBName;
246 bool m_tenantDBNameHasBeenSet = false;
247
248 Aws::String m_masterUsername;
249 bool m_masterUsernameHasBeenSet = false;
250
251 Aws::String m_tenantDatabaseResourceId;
252 bool m_tenantDatabaseResourceIdHasBeenSet = false;
253
254 Aws::String m_characterSetName;
255 bool m_characterSetNameHasBeenSet = false;
256
257 Aws::String m_dBSnapshotTenantDatabaseARN;
258 bool m_dBSnapshotTenantDatabaseARNHasBeenSet = false;
259
260 Aws::String m_ncharCharacterSetName;
261 bool m_ncharCharacterSetNameHasBeenSet = false;
262
263 Aws::Vector<Tag> m_tagList;
264 bool m_tagListHasBeenSet = false;
265 };
266
267} // namespace Model
268} // namespace RDS
269} // namespace Aws
DBSnapshotTenantDatabase & WithCharacterSetName(const Aws::String &value)
DBSnapshotTenantDatabase & WithTagList(const Aws::Vector< Tag > &value)
DBSnapshotTenantDatabase & WithTenantDatabaseResourceId(Aws::String &&value)
DBSnapshotTenantDatabase & WithMasterUsername(const Aws::String &value)
const Aws::Vector< Tag > & GetTagList() const
DBSnapshotTenantDatabase & WithNcharCharacterSetName(const char *value)
DBSnapshotTenantDatabase & WithSnapshotType(Aws::String &&value)
void SetDBSnapshotIdentifier(const Aws::String &value)
DBSnapshotTenantDatabase & WithSnapshotType(const char *value)
DBSnapshotTenantDatabase & WithDBSnapshotIdentifier(const Aws::String &value)
DBSnapshotTenantDatabase & WithDBInstanceIdentifier(Aws::String &&value)
DBSnapshotTenantDatabase & WithDBInstanceIdentifier(const char *value)
void SetTagList(const Aws::Vector< Tag > &value)
DBSnapshotTenantDatabase & WithEngineName(const char *value)
DBSnapshotTenantDatabase & WithMasterUsername(Aws::String &&value)
void SetTenantDatabaseResourceId(const Aws::String &value)
DBSnapshotTenantDatabase & WithDBInstanceIdentifier(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBSnapshotTenantDatabase & WithCharacterSetName(const char *value)
DBSnapshotTenantDatabase & WithTenantDatabaseResourceId(const Aws::String &value)
void SetNcharCharacterSetName(const Aws::String &value)
void SetDBSnapshotTenantDatabaseARN(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBSnapshotTenantDatabase & WithTenantDatabaseCreateTime(Aws::Utils::DateTime &&value)
DBSnapshotTenantDatabase & WithTagList(Aws::Vector< Tag > &&value)
DBSnapshotTenantDatabase & WithCharacterSetName(Aws::String &&value)
DBSnapshotTenantDatabase & WithNcharCharacterSetName(const Aws::String &value)
void SetTenantDatabaseCreateTime(const Aws::Utils::DateTime &value)
DBSnapshotTenantDatabase & WithDBSnapshotTenantDatabaseARN(Aws::String &&value)
const Aws::String & GetDBSnapshotTenantDatabaseARN() const
DBSnapshotTenantDatabase & WithDBSnapshotIdentifier(const char *value)
DBSnapshotTenantDatabase & WithEngineName(const Aws::String &value)
DBSnapshotTenantDatabase & AddTagList(const Tag &value)
DBSnapshotTenantDatabase & WithDbiResourceId(const char *value)
DBSnapshotTenantDatabase & WithDBSnapshotIdentifier(Aws::String &&value)
DBSnapshotTenantDatabase & WithTenantDBName(const char *value)
DBSnapshotTenantDatabase & WithTenantDatabaseCreateTime(const Aws::Utils::DateTime &value)
DBSnapshotTenantDatabase & WithTenantDBName(Aws::String &&value)
DBSnapshotTenantDatabase & WithNcharCharacterSetName(Aws::String &&value)
DBSnapshotTenantDatabase & WithTenantDBName(const Aws::String &value)
DBSnapshotTenantDatabase & WithEngineName(Aws::String &&value)
const Aws::Utils::DateTime & GetTenantDatabaseCreateTime() const
DBSnapshotTenantDatabase & WithTenantDatabaseResourceId(const char *value)
DBSnapshotTenantDatabase & WithSnapshotType(const Aws::String &value)
DBSnapshotTenantDatabase & WithMasterUsername(const char *value)
AWS_RDS_API DBSnapshotTenantDatabase & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTenantDatabaseCreateTime(Aws::Utils::DateTime &&value)
DBSnapshotTenantDatabase & AddTagList(Tag &&value)
AWS_RDS_API DBSnapshotTenantDatabase(const Aws::Utils::Xml::XmlNode &xmlNode)
DBSnapshotTenantDatabase & WithDbiResourceId(Aws::String &&value)
DBSnapshotTenantDatabase & WithDBSnapshotTenantDatabaseARN(const char *value)
void SetDBInstanceIdentifier(const Aws::String &value)
DBSnapshotTenantDatabase & WithDBSnapshotTenantDatabaseARN(const Aws::String &value)
DBSnapshotTenantDatabase & 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