/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MigrationHubStrategyRecommendations { namespace Model { /** *

Configuration information used for assessing databases.

See * Also:

AWS * API Reference

*/ class DatabaseConfigDetail { public: AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseConfigDetail(); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseConfigDetail(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API DatabaseConfigDetail& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

AWS Secrets Manager key that holds the credentials that you use to connect * to a database.

*/ inline const Aws::String& GetSecretName() const{ return m_secretName; } /** *

AWS Secrets Manager key that holds the credentials that you use to connect * to a database.

*/ inline bool SecretNameHasBeenSet() const { return m_secretNameHasBeenSet; } /** *

AWS Secrets Manager key that holds the credentials that you use to connect * to a database.

*/ inline void SetSecretName(const Aws::String& value) { m_secretNameHasBeenSet = true; m_secretName = value; } /** *

AWS Secrets Manager key that holds the credentials that you use to connect * to a database.

*/ inline void SetSecretName(Aws::String&& value) { m_secretNameHasBeenSet = true; m_secretName = std::move(value); } /** *

AWS Secrets Manager key that holds the credentials that you use to connect * to a database.

*/ inline void SetSecretName(const char* value) { m_secretNameHasBeenSet = true; m_secretName.assign(value); } /** *

AWS Secrets Manager key that holds the credentials that you use to connect * to a database.

*/ inline DatabaseConfigDetail& WithSecretName(const Aws::String& value) { SetSecretName(value); return *this;} /** *

AWS Secrets Manager key that holds the credentials that you use to connect * to a database.

*/ inline DatabaseConfigDetail& WithSecretName(Aws::String&& value) { SetSecretName(std::move(value)); return *this;} /** *

AWS Secrets Manager key that holds the credentials that you use to connect * to a database.

*/ inline DatabaseConfigDetail& WithSecretName(const char* value) { SetSecretName(value); return *this;} private: Aws::String m_secretName; bool m_secretNameHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws