7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/ssm-sap/model/DatabaseType.h>
11#include <aws/ssm-sap/model/DatabaseStatus.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/ssm-sap/model/ApplicationCredential.h>
54 inline void SetApplicationId(
const char* value) { m_applicationIdHasBeenSet =
true; m_applicationId.assign(value); }
68 inline void SetComponentId(
const char* value) { m_componentIdHasBeenSet =
true; m_componentId.assign(value); }
96 inline void SetDatabaseId(
const char* value) { m_databaseIdHasBeenSet =
true; m_databaseId.assign(value); }
110 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
136 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
162 inline void SetPrimaryHost(
const char* value) { m_primaryHostHasBeenSet =
true; m_primaryHost.assign(value); }
174 inline void SetSQLPort(
int value) { m_sQLPortHasBeenSet =
true; m_sQLPort = value; }
208 bool m_applicationIdHasBeenSet =
false;
211 bool m_componentIdHasBeenSet =
false;
214 bool m_credentialsHasBeenSet =
false;
217 bool m_databaseIdHasBeenSet =
false;
220 bool m_databaseNameHasBeenSet =
false;
223 bool m_databaseTypeHasBeenSet =
false;
226 bool m_arnHasBeenSet =
false;
229 bool m_statusHasBeenSet =
false;
232 bool m_primaryHostHasBeenSet =
false;
235 bool m_sQLPortHasBeenSet =
false;
238 bool m_lastUpdatedHasBeenSet =
false;
241 bool m_connectedComponentArnsHasBeenSet =
false;
Database & WithCredentials(const Aws::Vector< ApplicationCredential > &value)
const Aws::String & GetComponentId() const
const Aws::String & GetDatabaseId() const
Database & WithPrimaryHost(Aws::String &&value)
const DatabaseStatus & GetStatus() const
Database & WithStatus(DatabaseStatus &&value)
Database & WithComponentId(const Aws::String &value)
void SetArn(Aws::String &&value)
Database & WithDatabaseName(const Aws::String &value)
void SetStatus(const DatabaseStatus &value)
void SetCredentials(const Aws::Vector< ApplicationCredential > &value)
Database & WithDatabaseId(const Aws::String &value)
Database & WithComponentId(const char *value)
bool DatabaseTypeHasBeenSet() const
void SetConnectedComponentArns(Aws::Vector< Aws::String > &&value)
bool ConnectedComponentArnsHasBeenSet() const
Database & AddConnectedComponentArns(const Aws::String &value)
void SetArn(const Aws::String &value)
const Aws::String & GetPrimaryHost() const
Database & WithArn(Aws::String &&value)
Database & WithConnectedComponentArns(const Aws::Vector< Aws::String > &value)
Database & WithComponentId(Aws::String &&value)
Database & AddConnectedComponentArns(Aws::String &&value)
void SetDatabaseId(const char *value)
const Aws::String & GetArn() const
void SetPrimaryHost(const Aws::String &value)
void SetComponentId(const char *value)
AWS_SSMSAP_API Database()
const Aws::Vector< ApplicationCredential > & GetCredentials() const
AWS_SSMSAP_API Database(Aws::Utils::Json::JsonView jsonValue)
void SetDatabaseName(const Aws::String &value)
Database & WithLastUpdated(Aws::Utils::DateTime &&value)
Database & WithApplicationId(const char *value)
Database & WithApplicationId(Aws::String &&value)
bool ApplicationIdHasBeenSet() const
void SetApplicationId(const Aws::String &value)
Database & WithConnectedComponentArns(Aws::Vector< Aws::String > &&value)
void SetSQLPort(int value)
void SetDatabaseId(const Aws::String &value)
bool DatabaseIdHasBeenSet() const
const Aws::String & GetDatabaseName() const
void SetPrimaryHost(Aws::String &&value)
Database & WithDatabaseType(const DatabaseType &value)
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
bool LastUpdatedHasBeenSet() const
const Aws::Vector< Aws::String > & GetConnectedComponentArns() const
Database & WithDatabaseName(Aws::String &&value)
void SetCredentials(Aws::Vector< ApplicationCredential > &&value)
Database & WithApplicationId(const Aws::String &value)
void SetDatabaseName(const char *value)
void SetComponentId(Aws::String &&value)
Database & AddConnectedComponentArns(const char *value)
void SetApplicationId(const char *value)
void SetDatabaseName(Aws::String &&value)
Database & WithLastUpdated(const Aws::Utils::DateTime &value)
const Aws::String & GetApplicationId() const
bool ArnHasBeenSet() const
Database & AddCredentials(ApplicationCredential &&value)
Database & WithDatabaseId(Aws::String &&value)
Database & WithPrimaryHost(const char *value)
bool PrimaryHostHasBeenSet() const
void SetArn(const char *value)
bool DatabaseNameHasBeenSet() const
Database & WithArn(const char *value)
Database & WithPrimaryHost(const Aws::String &value)
Database & WithStatus(const DatabaseStatus &value)
const Aws::Utils::DateTime & GetLastUpdated() const
void SetDatabaseType(DatabaseType &&value)
Database & WithArn(const Aws::String &value)
bool StatusHasBeenSet() const
Database & WithDatabaseName(const char *value)
bool ComponentIdHasBeenSet() const
AWS_SSMSAP_API Database & operator=(Aws::Utils::Json::JsonView jsonValue)
Database & WithSQLPort(int value)
Database & AddCredentials(const ApplicationCredential &value)
void SetComponentId(const Aws::String &value)
bool SQLPortHasBeenSet() const
void SetDatabaseType(const DatabaseType &value)
void SetDatabaseId(Aws::String &&value)
Database & WithCredentials(Aws::Vector< ApplicationCredential > &&value)
void SetLastUpdated(Aws::Utils::DateTime &&value)
void SetApplicationId(Aws::String &&value)
void SetPrimaryHost(const char *value)
const DatabaseType & GetDatabaseType() const
Database & WithDatabaseType(DatabaseType &&value)
void SetLastUpdated(const Aws::Utils::DateTime &value)
void SetConnectedComponentArns(const Aws::Vector< Aws::String > &value)
Database & WithDatabaseId(const char *value)
void SetStatus(DatabaseStatus &&value)
bool CredentialsHasBeenSet() 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