7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/dms/DatabaseMigrationService_EXPORTS.h>
10#include <aws/dms/model/CollectorShortInfoResponse.h>
11#include <aws/dms/model/DatabaseInstanceSoftwareDetailsResponse.h>
12#include <aws/dms/model/ServerShortInfoResponse.h>
23namespace DatabaseMigrationService {
45 template <
typename DatabaseIdT = Aws::String>
47 m_databaseIdHasBeenSet =
true;
48 m_databaseId = std::forward<DatabaseIdT>(value);
50 template <
typename DatabaseIdT = Aws::String>
63 template <
typename DatabaseNameT = Aws::String>
65 m_databaseNameHasBeenSet =
true;
66 m_databaseName = std::forward<DatabaseNameT>(value);
68 template <
typename DatabaseNameT = Aws::String>
81 template <
typename IpAddressT = Aws::String>
83 m_ipAddressHasBeenSet =
true;
84 m_ipAddress = std::forward<IpAddressT>(value);
86 template <
typename IpAddressT = Aws::String>
100 m_numberOfSchemasHasBeenSet =
true;
101 m_numberOfSchemas = value;
115 template <
typename ServerT = ServerShortInfoResponse>
117 m_serverHasBeenSet =
true;
118 m_server = std::forward<ServerT>(value);
120 template <
typename ServerT = ServerShortInfoResponse>
134 template <
typename SoftwareDetailsT = DatabaseInstanceSoftwareDetailsResponse>
136 m_softwareDetailsHasBeenSet =
true;
137 m_softwareDetails = std::forward<SoftwareDetailsT>(value);
139 template <
typename SoftwareDetailsT = DatabaseInstanceSoftwareDetailsResponse>
152 template <
typename CollectorsT = Aws::Vector<CollectorShortInfoResponse>>
154 m_collectorsHasBeenSet =
true;
155 m_collectors = std::forward<CollectorsT>(value);
157 template <
typename CollectorsT = Aws::Vector<CollectorShortInfoResponse>>
162 template <
typename CollectorsT = CollectorShortInfoResponse>
164 m_collectorsHasBeenSet =
true;
165 m_collectors.emplace_back(std::forward<CollectorsT>(value));
176 long long m_numberOfSchemas{0};
178 ServerShortInfoResponse m_server;
180 DatabaseInstanceSoftwareDetailsResponse m_softwareDetails;
183 bool m_databaseIdHasBeenSet =
false;
184 bool m_databaseNameHasBeenSet =
false;
185 bool m_ipAddressHasBeenSet =
false;
186 bool m_numberOfSchemasHasBeenSet =
false;
187 bool m_serverHasBeenSet =
false;
188 bool m_softwareDetailsHasBeenSet =
false;
189 bool m_collectorsHasBeenSet =
false;
DatabaseResponse & WithDatabaseName(DatabaseNameT &&value)
bool IpAddressHasBeenSet() const
bool DatabaseNameHasBeenSet() const
DatabaseResponse & WithNumberOfSchemas(long long value)
void SetDatabaseName(DatabaseNameT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DatabaseResponse(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetDatabaseName() const
const ServerShortInfoResponse & GetServer() const
const Aws::String & GetDatabaseId() const
long long GetNumberOfSchemas() const
void SetSoftwareDetails(SoftwareDetailsT &&value)
const Aws::Vector< CollectorShortInfoResponse > & GetCollectors() const
DatabaseResponse & WithCollectors(CollectorsT &&value)
bool CollectorsHasBeenSet() const
DatabaseResponse & WithIpAddress(IpAddressT &&value)
void SetDatabaseId(DatabaseIdT &&value)
void SetCollectors(CollectorsT &&value)
bool ServerHasBeenSet() const
const Aws::String & GetIpAddress() const
DatabaseResponse & WithDatabaseId(DatabaseIdT &&value)
DatabaseResponse & AddCollectors(CollectorsT &&value)
void SetNumberOfSchemas(long long value)
AWS_DATABASEMIGRATIONSERVICE_API DatabaseResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
bool NumberOfSchemasHasBeenSet() const
DatabaseResponse & WithSoftwareDetails(SoftwareDetailsT &&value)
void SetServer(ServerT &&value)
AWS_DATABASEMIGRATIONSERVICE_API DatabaseResponse()=default
const DatabaseInstanceSoftwareDetailsResponse & GetSoftwareDetails() const
DatabaseResponse & WithServer(ServerT &&value)
bool SoftwareDetailsHasBeenSet() const
AWS_DATABASEMIGRATIONSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetIpAddress(IpAddressT &&value)
bool DatabaseIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue