/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The credentials of your SAP application.See Also:
AWS
* API Reference
The name of the SAP HANA database.
*/ inline const Aws::String& GetDatabaseName() const{ return m_databaseName; } /** *The name of the SAP HANA database.
*/ inline bool DatabaseNameHasBeenSet() const { return m_databaseNameHasBeenSet; } /** *The name of the SAP HANA database.
*/ inline void SetDatabaseName(const Aws::String& value) { m_databaseNameHasBeenSet = true; m_databaseName = value; } /** *The name of the SAP HANA database.
*/ inline void SetDatabaseName(Aws::String&& value) { m_databaseNameHasBeenSet = true; m_databaseName = std::move(value); } /** *The name of the SAP HANA database.
*/ inline void SetDatabaseName(const char* value) { m_databaseNameHasBeenSet = true; m_databaseName.assign(value); } /** *The name of the SAP HANA database.
*/ inline ApplicationCredential& WithDatabaseName(const Aws::String& value) { SetDatabaseName(value); return *this;} /** *The name of the SAP HANA database.
*/ inline ApplicationCredential& WithDatabaseName(Aws::String&& value) { SetDatabaseName(std::move(value)); return *this;} /** *The name of the SAP HANA database.
*/ inline ApplicationCredential& WithDatabaseName(const char* value) { SetDatabaseName(value); return *this;} /** *The type of the application credentials.
*/ inline const CredentialType& GetCredentialType() const{ return m_credentialType; } /** *The type of the application credentials.
*/ inline bool CredentialTypeHasBeenSet() const { return m_credentialTypeHasBeenSet; } /** *The type of the application credentials.
*/ inline void SetCredentialType(const CredentialType& value) { m_credentialTypeHasBeenSet = true; m_credentialType = value; } /** *The type of the application credentials.
*/ inline void SetCredentialType(CredentialType&& value) { m_credentialTypeHasBeenSet = true; m_credentialType = std::move(value); } /** *The type of the application credentials.
*/ inline ApplicationCredential& WithCredentialType(const CredentialType& value) { SetCredentialType(value); return *this;} /** *The type of the application credentials.
*/ inline ApplicationCredential& WithCredentialType(CredentialType&& value) { SetCredentialType(std::move(value)); return *this;} /** *The secret ID created in AWS Secrets Manager to store the credentials of the * SAP application.
*/ inline const Aws::String& GetSecretId() const{ return m_secretId; } /** *The secret ID created in AWS Secrets Manager to store the credentials of the * SAP application.
*/ inline bool SecretIdHasBeenSet() const { return m_secretIdHasBeenSet; } /** *The secret ID created in AWS Secrets Manager to store the credentials of the * SAP application.
*/ inline void SetSecretId(const Aws::String& value) { m_secretIdHasBeenSet = true; m_secretId = value; } /** *The secret ID created in AWS Secrets Manager to store the credentials of the * SAP application.
*/ inline void SetSecretId(Aws::String&& value) { m_secretIdHasBeenSet = true; m_secretId = std::move(value); } /** *The secret ID created in AWS Secrets Manager to store the credentials of the * SAP application.
*/ inline void SetSecretId(const char* value) { m_secretIdHasBeenSet = true; m_secretId.assign(value); } /** *The secret ID created in AWS Secrets Manager to store the credentials of the * SAP application.
*/ inline ApplicationCredential& WithSecretId(const Aws::String& value) { SetSecretId(value); return *this;} /** *The secret ID created in AWS Secrets Manager to store the credentials of the * SAP application.
*/ inline ApplicationCredential& WithSecretId(Aws::String&& value) { SetSecretId(std::move(value)); return *this;} /** *The secret ID created in AWS Secrets Manager to store the credentials of the * SAP application.
*/ inline ApplicationCredential& WithSecretId(const char* value) { SetSecretId(value); return *this;} private: Aws::String m_databaseName; bool m_databaseNameHasBeenSet = false; CredentialType m_credentialType; bool m_credentialTypeHasBeenSet = false; Aws::String m_secretId; bool m_secretIdHasBeenSet = false; }; } // namespace Model } // namespace SsmSap } // namespace Aws