/** * 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 DatabaseMigrationService { namespace Model { /** *

Describes an inventory database instance for a Fleet Advisor * collector.

See Also:

AWS * API Reference

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

The database engine of a database in a Fleet Advisor collector inventory, for * example Microsoft SQL Server.

*/ inline const Aws::String& GetEngine() const{ return m_engine; } /** *

The database engine of a database in a Fleet Advisor collector inventory, for * example Microsoft SQL Server.

*/ inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } /** *

The database engine of a database in a Fleet Advisor collector inventory, for * example Microsoft SQL Server.

*/ inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } /** *

The database engine of a database in a Fleet Advisor collector inventory, for * example Microsoft SQL Server.

*/ inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } /** *

The database engine of a database in a Fleet Advisor collector inventory, for * example Microsoft SQL Server.

*/ inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } /** *

The database engine of a database in a Fleet Advisor collector inventory, for * example Microsoft SQL Server.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} /** *

The database engine of a database in a Fleet Advisor collector inventory, for * example Microsoft SQL Server.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} /** *

The database engine of a database in a Fleet Advisor collector inventory, for * example Microsoft SQL Server.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithEngine(const char* value) { SetEngine(value); return *this;} /** *

The database engine version of a database in a Fleet Advisor collector * inventory, for example 2019.

*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *

The database engine version of a database in a Fleet Advisor collector * inventory, for example 2019.

*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *

The database engine version of a database in a Fleet Advisor collector * inventory, for example 2019.

*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *

The database engine version of a database in a Fleet Advisor collector * inventory, for example 2019.

*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *

The database engine version of a database in a Fleet Advisor collector * inventory, for example 2019.

*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *

The database engine version of a database in a Fleet Advisor collector * inventory, for example 2019.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *

The database engine version of a database in a Fleet Advisor collector * inventory, for example 2019.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *

The database engine version of a database in a Fleet Advisor collector * inventory, for example 2019.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *

The database engine edition of a database in a Fleet Advisor collector * inventory, for example Express.

*/ inline const Aws::String& GetEngineEdition() const{ return m_engineEdition; } /** *

The database engine edition of a database in a Fleet Advisor collector * inventory, for example Express.

*/ inline bool EngineEditionHasBeenSet() const { return m_engineEditionHasBeenSet; } /** *

The database engine edition of a database in a Fleet Advisor collector * inventory, for example Express.

*/ inline void SetEngineEdition(const Aws::String& value) { m_engineEditionHasBeenSet = true; m_engineEdition = value; } /** *

The database engine edition of a database in a Fleet Advisor collector * inventory, for example Express.

*/ inline void SetEngineEdition(Aws::String&& value) { m_engineEditionHasBeenSet = true; m_engineEdition = std::move(value); } /** *

The database engine edition of a database in a Fleet Advisor collector * inventory, for example Express.

*/ inline void SetEngineEdition(const char* value) { m_engineEditionHasBeenSet = true; m_engineEdition.assign(value); } /** *

The database engine edition of a database in a Fleet Advisor collector * inventory, for example Express.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithEngineEdition(const Aws::String& value) { SetEngineEdition(value); return *this;} /** *

The database engine edition of a database in a Fleet Advisor collector * inventory, for example Express.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithEngineEdition(Aws::String&& value) { SetEngineEdition(std::move(value)); return *this;} /** *

The database engine edition of a database in a Fleet Advisor collector * inventory, for example Express.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithEngineEdition(const char* value) { SetEngineEdition(value); return *this;} /** *

The service pack level of the database.

*/ inline const Aws::String& GetServicePack() const{ return m_servicePack; } /** *

The service pack level of the database.

*/ inline bool ServicePackHasBeenSet() const { return m_servicePackHasBeenSet; } /** *

The service pack level of the database.

*/ inline void SetServicePack(const Aws::String& value) { m_servicePackHasBeenSet = true; m_servicePack = value; } /** *

The service pack level of the database.

*/ inline void SetServicePack(Aws::String&& value) { m_servicePackHasBeenSet = true; m_servicePack = std::move(value); } /** *

The service pack level of the database.

*/ inline void SetServicePack(const char* value) { m_servicePackHasBeenSet = true; m_servicePack.assign(value); } /** *

The service pack level of the database.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithServicePack(const Aws::String& value) { SetServicePack(value); return *this;} /** *

The service pack level of the database.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithServicePack(Aws::String&& value) { SetServicePack(std::move(value)); return *this;} /** *

The service pack level of the database.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithServicePack(const char* value) { SetServicePack(value); return *this;} /** *

The support level of the database, for example Mainstream * support.

*/ inline const Aws::String& GetSupportLevel() const{ return m_supportLevel; } /** *

The support level of the database, for example Mainstream * support.

*/ inline bool SupportLevelHasBeenSet() const { return m_supportLevelHasBeenSet; } /** *

The support level of the database, for example Mainstream * support.

*/ inline void SetSupportLevel(const Aws::String& value) { m_supportLevelHasBeenSet = true; m_supportLevel = value; } /** *

The support level of the database, for example Mainstream * support.

*/ inline void SetSupportLevel(Aws::String&& value) { m_supportLevelHasBeenSet = true; m_supportLevel = std::move(value); } /** *

The support level of the database, for example Mainstream * support.

*/ inline void SetSupportLevel(const char* value) { m_supportLevelHasBeenSet = true; m_supportLevel.assign(value); } /** *

The support level of the database, for example Mainstream * support.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithSupportLevel(const Aws::String& value) { SetSupportLevel(value); return *this;} /** *

The support level of the database, for example Mainstream * support.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithSupportLevel(Aws::String&& value) { SetSupportLevel(std::move(value)); return *this;} /** *

The support level of the database, for example Mainstream * support.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithSupportLevel(const char* value) { SetSupportLevel(value); return *this;} /** *

The operating system architecture of the database.

*/ inline int GetOsArchitecture() const{ return m_osArchitecture; } /** *

The operating system architecture of the database.

*/ inline bool OsArchitectureHasBeenSet() const { return m_osArchitectureHasBeenSet; } /** *

The operating system architecture of the database.

*/ inline void SetOsArchitecture(int value) { m_osArchitectureHasBeenSet = true; m_osArchitecture = value; } /** *

The operating system architecture of the database.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithOsArchitecture(int value) { SetOsArchitecture(value); return *this;} /** *

Information about the database engine software, for example Mainstream * support ends on November 14th, 2024.

*/ inline const Aws::String& GetTooltip() const{ return m_tooltip; } /** *

Information about the database engine software, for example Mainstream * support ends on November 14th, 2024.

*/ inline bool TooltipHasBeenSet() const { return m_tooltipHasBeenSet; } /** *

Information about the database engine software, for example Mainstream * support ends on November 14th, 2024.

*/ inline void SetTooltip(const Aws::String& value) { m_tooltipHasBeenSet = true; m_tooltip = value; } /** *

Information about the database engine software, for example Mainstream * support ends on November 14th, 2024.

*/ inline void SetTooltip(Aws::String&& value) { m_tooltipHasBeenSet = true; m_tooltip = std::move(value); } /** *

Information about the database engine software, for example Mainstream * support ends on November 14th, 2024.

*/ inline void SetTooltip(const char* value) { m_tooltipHasBeenSet = true; m_tooltip.assign(value); } /** *

Information about the database engine software, for example Mainstream * support ends on November 14th, 2024.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithTooltip(const Aws::String& value) { SetTooltip(value); return *this;} /** *

Information about the database engine software, for example Mainstream * support ends on November 14th, 2024.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithTooltip(Aws::String&& value) { SetTooltip(std::move(value)); return *this;} /** *

Information about the database engine software, for example Mainstream * support ends on November 14th, 2024.

*/ inline DatabaseInstanceSoftwareDetailsResponse& WithTooltip(const char* value) { SetTooltip(value); return *this;} private: Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_engineEdition; bool m_engineEditionHasBeenSet = false; Aws::String m_servicePack; bool m_servicePackHasBeenSet = false; Aws::String m_supportLevel; bool m_supportLevelHasBeenSet = false; int m_osArchitecture; bool m_osArchitectureHasBeenSet = false; Aws::String m_tooltip; bool m_tooltipHasBeenSet = false; }; } // namespace Model } // namespace DatabaseMigrationService } // namespace Aws