7#include <aws/ssm-sap/SsmSap_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/ssm-sap/model/CredentialType.h>
49 inline void SetDatabaseName(
const char* value) { m_databaseNameHasBeenSet =
true; m_databaseName.assign(value); }
76 inline void SetSecretId(
const char* value) { m_secretIdHasBeenSet =
true; m_secretId.assign(value); }
84 bool m_databaseNameHasBeenSet =
false;
87 bool m_credentialTypeHasBeenSet =
false;
90 bool m_secretIdHasBeenSet =
false;
ApplicationCredential & WithDatabaseName(Aws::String &&value)
const CredentialType & GetCredentialType() const
AWS_SSMSAP_API ApplicationCredential()
ApplicationCredential & WithSecretId(const char *value)
void SetDatabaseName(const char *value)
bool SecretIdHasBeenSet() const
ApplicationCredential & WithSecretId(const Aws::String &value)
void SetDatabaseName(Aws::String &&value)
bool DatabaseNameHasBeenSet() const
void SetSecretId(const Aws::String &value)
ApplicationCredential & WithDatabaseName(const char *value)
void SetCredentialType(const CredentialType &value)
AWS_SSMSAP_API ApplicationCredential(Aws::Utils::Json::JsonView jsonValue)
ApplicationCredential & WithCredentialType(const CredentialType &value)
void SetCredentialType(CredentialType &&value)
void SetSecretId(const char *value)
ApplicationCredential & WithCredentialType(CredentialType &&value)
const Aws::String & GetDatabaseName() const
const Aws::String & GetSecretId() const
AWS_SSMSAP_API ApplicationCredential & operator=(Aws::Utils::Json::JsonView jsonValue)
ApplicationCredential & WithDatabaseName(const Aws::String &value)
void SetSecretId(Aws::String &&value)
void SetDatabaseName(const Aws::String &value)
bool CredentialTypeHasBeenSet() const
AWS_SSMSAP_API Aws::Utils::Json::JsonValue Jsonize() const
ApplicationCredential & WithSecretId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue