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

Contains detailed information about an application component.

See * Also:

AWS * API Reference

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

The status of analysis, if the application component has source code or an * associated database.

*/ inline const SrcCodeOrDbAnalysisStatus& GetAnalysisStatus() const{ return m_analysisStatus; } /** *

The status of analysis, if the application component has source code or an * associated database.

*/ inline bool AnalysisStatusHasBeenSet() const { return m_analysisStatusHasBeenSet; } /** *

The status of analysis, if the application component has source code or an * associated database.

*/ inline void SetAnalysisStatus(const SrcCodeOrDbAnalysisStatus& value) { m_analysisStatusHasBeenSet = true; m_analysisStatus = value; } /** *

The status of analysis, if the application component has source code or an * associated database.

*/ inline void SetAnalysisStatus(SrcCodeOrDbAnalysisStatus&& value) { m_analysisStatusHasBeenSet = true; m_analysisStatus = std::move(value); } /** *

The status of analysis, if the application component has source code or an * associated database.

*/ inline ApplicationComponentDetail& WithAnalysisStatus(const SrcCodeOrDbAnalysisStatus& value) { SetAnalysisStatus(value); return *this;} /** *

The status of analysis, if the application component has source code or an * associated database.

*/ inline ApplicationComponentDetail& WithAnalysisStatus(SrcCodeOrDbAnalysisStatus&& value) { SetAnalysisStatus(std::move(value)); return *this;} /** *

The S3 bucket name and the Amazon S3 key name for the anti-pattern report. *

*/ inline const S3Object& GetAntipatternReportS3Object() const{ return m_antipatternReportS3Object; } /** *

The S3 bucket name and the Amazon S3 key name for the anti-pattern report. *

*/ inline bool AntipatternReportS3ObjectHasBeenSet() const { return m_antipatternReportS3ObjectHasBeenSet; } /** *

The S3 bucket name and the Amazon S3 key name for the anti-pattern report. *

*/ inline void SetAntipatternReportS3Object(const S3Object& value) { m_antipatternReportS3ObjectHasBeenSet = true; m_antipatternReportS3Object = value; } /** *

The S3 bucket name and the Amazon S3 key name for the anti-pattern report. *

*/ inline void SetAntipatternReportS3Object(S3Object&& value) { m_antipatternReportS3ObjectHasBeenSet = true; m_antipatternReportS3Object = std::move(value); } /** *

The S3 bucket name and the Amazon S3 key name for the anti-pattern report. *

*/ inline ApplicationComponentDetail& WithAntipatternReportS3Object(const S3Object& value) { SetAntipatternReportS3Object(value); return *this;} /** *

The S3 bucket name and the Amazon S3 key name for the anti-pattern report. *

*/ inline ApplicationComponentDetail& WithAntipatternReportS3Object(S3Object&& value) { SetAntipatternReportS3Object(std::move(value)); return *this;} /** *

The status of the anti-pattern report generation.

*/ inline const AntipatternReportStatus& GetAntipatternReportStatus() const{ return m_antipatternReportStatus; } /** *

The status of the anti-pattern report generation.

*/ inline bool AntipatternReportStatusHasBeenSet() const { return m_antipatternReportStatusHasBeenSet; } /** *

The status of the anti-pattern report generation.

*/ inline void SetAntipatternReportStatus(const AntipatternReportStatus& value) { m_antipatternReportStatusHasBeenSet = true; m_antipatternReportStatus = value; } /** *

The status of the anti-pattern report generation.

*/ inline void SetAntipatternReportStatus(AntipatternReportStatus&& value) { m_antipatternReportStatusHasBeenSet = true; m_antipatternReportStatus = std::move(value); } /** *

The status of the anti-pattern report generation.

*/ inline ApplicationComponentDetail& WithAntipatternReportStatus(const AntipatternReportStatus& value) { SetAntipatternReportStatus(value); return *this;} /** *

The status of the anti-pattern report generation.

*/ inline ApplicationComponentDetail& WithAntipatternReportStatus(AntipatternReportStatus&& value) { SetAntipatternReportStatus(std::move(value)); return *this;} /** *

The status message for the anti-pattern.

*/ inline const Aws::String& GetAntipatternReportStatusMessage() const{ return m_antipatternReportStatusMessage; } /** *

The status message for the anti-pattern.

*/ inline bool AntipatternReportStatusMessageHasBeenSet() const { return m_antipatternReportStatusMessageHasBeenSet; } /** *

The status message for the anti-pattern.

*/ inline void SetAntipatternReportStatusMessage(const Aws::String& value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage = value; } /** *

The status message for the anti-pattern.

*/ inline void SetAntipatternReportStatusMessage(Aws::String&& value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage = std::move(value); } /** *

The status message for the anti-pattern.

*/ inline void SetAntipatternReportStatusMessage(const char* value) { m_antipatternReportStatusMessageHasBeenSet = true; m_antipatternReportStatusMessage.assign(value); } /** *

The status message for the anti-pattern.

*/ inline ApplicationComponentDetail& WithAntipatternReportStatusMessage(const Aws::String& value) { SetAntipatternReportStatusMessage(value); return *this;} /** *

The status message for the anti-pattern.

*/ inline ApplicationComponentDetail& WithAntipatternReportStatusMessage(Aws::String&& value) { SetAntipatternReportStatusMessage(std::move(value)); return *this;} /** *

The status message for the anti-pattern.

*/ inline ApplicationComponentDetail& WithAntipatternReportStatusMessage(const char* value) { SetAntipatternReportStatusMessage(value); return *this;} /** *

The type of application component.

*/ inline const AppType& GetAppType() const{ return m_appType; } /** *

The type of application component.

*/ inline bool AppTypeHasBeenSet() const { return m_appTypeHasBeenSet; } /** *

The type of application component.

*/ inline void SetAppType(const AppType& value) { m_appTypeHasBeenSet = true; m_appType = value; } /** *

The type of application component.

*/ inline void SetAppType(AppType&& value) { m_appTypeHasBeenSet = true; m_appType = std::move(value); } /** *

The type of application component.

*/ inline ApplicationComponentDetail& WithAppType(const AppType& value) { SetAppType(value); return *this;} /** *

The type of application component.

*/ inline ApplicationComponentDetail& WithAppType(AppType&& value) { SetAppType(std::move(value)); return *this;} /** *

The error in the analysis of the source code or database.

*/ inline const AppUnitError& GetAppUnitError() const{ return m_appUnitError; } /** *

The error in the analysis of the source code or database.

*/ inline bool AppUnitErrorHasBeenSet() const { return m_appUnitErrorHasBeenSet; } /** *

The error in the analysis of the source code or database.

*/ inline void SetAppUnitError(const AppUnitError& value) { m_appUnitErrorHasBeenSet = true; m_appUnitError = value; } /** *

The error in the analysis of the source code or database.

*/ inline void SetAppUnitError(AppUnitError&& value) { m_appUnitErrorHasBeenSet = true; m_appUnitError = std::move(value); } /** *

The error in the analysis of the source code or database.

*/ inline ApplicationComponentDetail& WithAppUnitError(const AppUnitError& value) { SetAppUnitError(value); return *this;} /** *

The error in the analysis of the source code or database.

*/ inline ApplicationComponentDetail& WithAppUnitError(AppUnitError&& value) { SetAppUnitError(std::move(value)); return *this;} /** *

The ID of the server that the application component is running on.

*/ inline const Aws::String& GetAssociatedServerId() const{ return m_associatedServerId; } /** *

The ID of the server that the application component is running on.

*/ inline bool AssociatedServerIdHasBeenSet() const { return m_associatedServerIdHasBeenSet; } /** *

The ID of the server that the application component is running on.

*/ inline void SetAssociatedServerId(const Aws::String& value) { m_associatedServerIdHasBeenSet = true; m_associatedServerId = value; } /** *

The ID of the server that the application component is running on.

*/ inline void SetAssociatedServerId(Aws::String&& value) { m_associatedServerIdHasBeenSet = true; m_associatedServerId = std::move(value); } /** *

The ID of the server that the application component is running on.

*/ inline void SetAssociatedServerId(const char* value) { m_associatedServerIdHasBeenSet = true; m_associatedServerId.assign(value); } /** *

The ID of the server that the application component is running on.

*/ inline ApplicationComponentDetail& WithAssociatedServerId(const Aws::String& value) { SetAssociatedServerId(value); return *this;} /** *

The ID of the server that the application component is running on.

*/ inline ApplicationComponentDetail& WithAssociatedServerId(Aws::String&& value) { SetAssociatedServerId(std::move(value)); return *this;} /** *

The ID of the server that the application component is running on.

*/ inline ApplicationComponentDetail& WithAssociatedServerId(const char* value) { SetAssociatedServerId(value); return *this;} /** *

Configuration details for the database associated with the application * component.

*/ inline const DatabaseConfigDetail& GetDatabaseConfigDetail() const{ return m_databaseConfigDetail; } /** *

Configuration details for the database associated with the application * component.

*/ inline bool DatabaseConfigDetailHasBeenSet() const { return m_databaseConfigDetailHasBeenSet; } /** *

Configuration details for the database associated with the application * component.

*/ inline void SetDatabaseConfigDetail(const DatabaseConfigDetail& value) { m_databaseConfigDetailHasBeenSet = true; m_databaseConfigDetail = value; } /** *

Configuration details for the database associated with the application * component.

*/ inline void SetDatabaseConfigDetail(DatabaseConfigDetail&& value) { m_databaseConfigDetailHasBeenSet = true; m_databaseConfigDetail = std::move(value); } /** *

Configuration details for the database associated with the application * component.

*/ inline ApplicationComponentDetail& WithDatabaseConfigDetail(const DatabaseConfigDetail& value) { SetDatabaseConfigDetail(value); return *this;} /** *

Configuration details for the database associated with the application * component.

*/ inline ApplicationComponentDetail& WithDatabaseConfigDetail(DatabaseConfigDetail&& value) { SetDatabaseConfigDetail(std::move(value)); return *this;} /** *

The ID of the application component.

*/ inline const Aws::String& GetId() const{ return m_id; } /** *

The ID of the application component.

*/ inline bool IdHasBeenSet() const { return m_idHasBeenSet; } /** *

The ID of the application component.

*/ inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; } /** *

The ID of the application component.

*/ inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); } /** *

The ID of the application component.

*/ inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); } /** *

The ID of the application component.

*/ inline ApplicationComponentDetail& WithId(const Aws::String& value) { SetId(value); return *this;} /** *

The ID of the application component.

*/ inline ApplicationComponentDetail& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;} /** *

The ID of the application component.

*/ inline ApplicationComponentDetail& WithId(const char* value) { SetId(value); return *this;} /** *

Indicates whether the application component has been included for server * recommendation or not.

*/ inline const InclusionStatus& GetInclusionStatus() const{ return m_inclusionStatus; } /** *

Indicates whether the application component has been included for server * recommendation or not.

*/ inline bool InclusionStatusHasBeenSet() const { return m_inclusionStatusHasBeenSet; } /** *

Indicates whether the application component has been included for server * recommendation or not.

*/ inline void SetInclusionStatus(const InclusionStatus& value) { m_inclusionStatusHasBeenSet = true; m_inclusionStatus = value; } /** *

Indicates whether the application component has been included for server * recommendation or not.

*/ inline void SetInclusionStatus(InclusionStatus&& value) { m_inclusionStatusHasBeenSet = true; m_inclusionStatus = std::move(value); } /** *

Indicates whether the application component has been included for server * recommendation or not.

*/ inline ApplicationComponentDetail& WithInclusionStatus(const InclusionStatus& value) { SetInclusionStatus(value); return *this;} /** *

Indicates whether the application component has been included for server * recommendation or not.

*/ inline ApplicationComponentDetail& WithInclusionStatus(InclusionStatus&& value) { SetInclusionStatus(std::move(value)); return *this;} /** *

The timestamp of when the application component was assessed.

*/ inline const Aws::Utils::DateTime& GetLastAnalyzedTimestamp() const{ return m_lastAnalyzedTimestamp; } /** *

The timestamp of when the application component was assessed.

*/ inline bool LastAnalyzedTimestampHasBeenSet() const { return m_lastAnalyzedTimestampHasBeenSet; } /** *

The timestamp of when the application component was assessed.

*/ inline void SetLastAnalyzedTimestamp(const Aws::Utils::DateTime& value) { m_lastAnalyzedTimestampHasBeenSet = true; m_lastAnalyzedTimestamp = value; } /** *

The timestamp of when the application component was assessed.

*/ inline void SetLastAnalyzedTimestamp(Aws::Utils::DateTime&& value) { m_lastAnalyzedTimestampHasBeenSet = true; m_lastAnalyzedTimestamp = std::move(value); } /** *

The timestamp of when the application component was assessed.

*/ inline ApplicationComponentDetail& WithLastAnalyzedTimestamp(const Aws::Utils::DateTime& value) { SetLastAnalyzedTimestamp(value); return *this;} /** *

The timestamp of when the application component was assessed.

*/ inline ApplicationComponentDetail& WithLastAnalyzedTimestamp(Aws::Utils::DateTime&& value) { SetLastAnalyzedTimestamp(std::move(value)); return *this;} /** *

A list of anti-pattern severity summaries.

*/ inline const Aws::Vector& GetListAntipatternSeveritySummary() const{ return m_listAntipatternSeveritySummary; } /** *

A list of anti-pattern severity summaries.

*/ inline bool ListAntipatternSeveritySummaryHasBeenSet() const { return m_listAntipatternSeveritySummaryHasBeenSet; } /** *

A list of anti-pattern severity summaries.

*/ inline void SetListAntipatternSeveritySummary(const Aws::Vector& value) { m_listAntipatternSeveritySummaryHasBeenSet = true; m_listAntipatternSeveritySummary = value; } /** *

A list of anti-pattern severity summaries.

*/ inline void SetListAntipatternSeveritySummary(Aws::Vector&& value) { m_listAntipatternSeveritySummaryHasBeenSet = true; m_listAntipatternSeveritySummary = std::move(value); } /** *

A list of anti-pattern severity summaries.

*/ inline ApplicationComponentDetail& WithListAntipatternSeveritySummary(const Aws::Vector& value) { SetListAntipatternSeveritySummary(value); return *this;} /** *

A list of anti-pattern severity summaries.

*/ inline ApplicationComponentDetail& WithListAntipatternSeveritySummary(Aws::Vector&& value) { SetListAntipatternSeveritySummary(std::move(value)); return *this;} /** *

A list of anti-pattern severity summaries.

*/ inline ApplicationComponentDetail& AddListAntipatternSeveritySummary(const AntipatternSeveritySummary& value) { m_listAntipatternSeveritySummaryHasBeenSet = true; m_listAntipatternSeveritySummary.push_back(value); return *this; } /** *

A list of anti-pattern severity summaries.

*/ inline ApplicationComponentDetail& AddListAntipatternSeveritySummary(AntipatternSeveritySummary&& value) { m_listAntipatternSeveritySummaryHasBeenSet = true; m_listAntipatternSeveritySummary.push_back(std::move(value)); return *this; } /** *

Set to true if the application component is running on multiple servers.

*/ inline bool GetMoreServerAssociationExists() const{ return m_moreServerAssociationExists; } /** *

Set to true if the application component is running on multiple servers.

*/ inline bool MoreServerAssociationExistsHasBeenSet() const { return m_moreServerAssociationExistsHasBeenSet; } /** *

Set to true if the application component is running on multiple servers.

*/ inline void SetMoreServerAssociationExists(bool value) { m_moreServerAssociationExistsHasBeenSet = true; m_moreServerAssociationExists = value; } /** *

Set to true if the application component is running on multiple servers.

*/ inline ApplicationComponentDetail& WithMoreServerAssociationExists(bool value) { SetMoreServerAssociationExists(value); return *this;} /** *

The name of application component.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of application component.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of application component.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of application component.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of application component.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of application component.

*/ inline ApplicationComponentDetail& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of application component.

*/ inline ApplicationComponentDetail& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of application component.

*/ inline ApplicationComponentDetail& WithName(const char* value) { SetName(value); return *this;} /** *

OS driver.

*/ inline const Aws::String& GetOsDriver() const{ return m_osDriver; } /** *

OS driver.

*/ inline bool OsDriverHasBeenSet() const { return m_osDriverHasBeenSet; } /** *

OS driver.

*/ inline void SetOsDriver(const Aws::String& value) { m_osDriverHasBeenSet = true; m_osDriver = value; } /** *

OS driver.

*/ inline void SetOsDriver(Aws::String&& value) { m_osDriverHasBeenSet = true; m_osDriver = std::move(value); } /** *

OS driver.

*/ inline void SetOsDriver(const char* value) { m_osDriverHasBeenSet = true; m_osDriver.assign(value); } /** *

OS driver.

*/ inline ApplicationComponentDetail& WithOsDriver(const Aws::String& value) { SetOsDriver(value); return *this;} /** *

OS driver.

*/ inline ApplicationComponentDetail& WithOsDriver(Aws::String&& value) { SetOsDriver(std::move(value)); return *this;} /** *

OS driver.

*/ inline ApplicationComponentDetail& WithOsDriver(const char* value) { SetOsDriver(value); return *this;} /** *

OS version.

*/ inline const Aws::String& GetOsVersion() const{ return m_osVersion; } /** *

OS version.

*/ inline bool OsVersionHasBeenSet() const { return m_osVersionHasBeenSet; } /** *

OS version.

*/ inline void SetOsVersion(const Aws::String& value) { m_osVersionHasBeenSet = true; m_osVersion = value; } /** *

OS version.

*/ inline void SetOsVersion(Aws::String&& value) { m_osVersionHasBeenSet = true; m_osVersion = std::move(value); } /** *

OS version.

*/ inline void SetOsVersion(const char* value) { m_osVersionHasBeenSet = true; m_osVersion.assign(value); } /** *

OS version.

*/ inline ApplicationComponentDetail& WithOsVersion(const Aws::String& value) { SetOsVersion(value); return *this;} /** *

OS version.

*/ inline ApplicationComponentDetail& WithOsVersion(Aws::String&& value) { SetOsVersion(std::move(value)); return *this;} /** *

OS version.

*/ inline ApplicationComponentDetail& WithOsVersion(const char* value) { SetOsVersion(value); return *this;} /** *

The top recommendation set for the application component.

*/ inline const RecommendationSet& GetRecommendationSet() const{ return m_recommendationSet; } /** *

The top recommendation set for the application component.

*/ inline bool RecommendationSetHasBeenSet() const { return m_recommendationSetHasBeenSet; } /** *

The top recommendation set for the application component.

*/ inline void SetRecommendationSet(const RecommendationSet& value) { m_recommendationSetHasBeenSet = true; m_recommendationSet = value; } /** *

The top recommendation set for the application component.

*/ inline void SetRecommendationSet(RecommendationSet&& value) { m_recommendationSetHasBeenSet = true; m_recommendationSet = std::move(value); } /** *

The top recommendation set for the application component.

*/ inline ApplicationComponentDetail& WithRecommendationSet(const RecommendationSet& value) { SetRecommendationSet(value); return *this;} /** *

The top recommendation set for the application component.

*/ inline ApplicationComponentDetail& WithRecommendationSet(RecommendationSet&& value) { SetRecommendationSet(std::move(value)); return *this;} /** *

The application component subtype.

*/ inline const ResourceSubType& GetResourceSubType() const{ return m_resourceSubType; } /** *

The application component subtype.

*/ inline bool ResourceSubTypeHasBeenSet() const { return m_resourceSubTypeHasBeenSet; } /** *

The application component subtype.

*/ inline void SetResourceSubType(const ResourceSubType& value) { m_resourceSubTypeHasBeenSet = true; m_resourceSubType = value; } /** *

The application component subtype.

*/ inline void SetResourceSubType(ResourceSubType&& value) { m_resourceSubTypeHasBeenSet = true; m_resourceSubType = std::move(value); } /** *

The application component subtype.

*/ inline ApplicationComponentDetail& WithResourceSubType(const ResourceSubType& value) { SetResourceSubType(value); return *this;} /** *

The application component subtype.

*/ inline ApplicationComponentDetail& WithResourceSubType(ResourceSubType&& value) { SetResourceSubType(std::move(value)); return *this;} /** *

A list of the analysis results.

*/ inline const Aws::Vector& GetResultList() const{ return m_resultList; } /** *

A list of the analysis results.

*/ inline bool ResultListHasBeenSet() const { return m_resultListHasBeenSet; } /** *

A list of the analysis results.

*/ inline void SetResultList(const Aws::Vector& value) { m_resultListHasBeenSet = true; m_resultList = value; } /** *

A list of the analysis results.

*/ inline void SetResultList(Aws::Vector&& value) { m_resultListHasBeenSet = true; m_resultList = std::move(value); } /** *

A list of the analysis results.

*/ inline ApplicationComponentDetail& WithResultList(const Aws::Vector& value) { SetResultList(value); return *this;} /** *

A list of the analysis results.

*/ inline ApplicationComponentDetail& WithResultList(Aws::Vector&& value) { SetResultList(std::move(value)); return *this;} /** *

A list of the analysis results.

*/ inline ApplicationComponentDetail& AddResultList(const Result& value) { m_resultListHasBeenSet = true; m_resultList.push_back(value); return *this; } /** *

A list of the analysis results.

*/ inline ApplicationComponentDetail& AddResultList(Result&& value) { m_resultListHasBeenSet = true; m_resultList.push_back(std::move(value)); return *this; } /** *

The status of the application unit.

*/ inline const RuntimeAnalysisStatus& GetRuntimeStatus() const{ return m_runtimeStatus; } /** *

The status of the application unit.

*/ inline bool RuntimeStatusHasBeenSet() const { return m_runtimeStatusHasBeenSet; } /** *

The status of the application unit.

*/ inline void SetRuntimeStatus(const RuntimeAnalysisStatus& value) { m_runtimeStatusHasBeenSet = true; m_runtimeStatus = value; } /** *

The status of the application unit.

*/ inline void SetRuntimeStatus(RuntimeAnalysisStatus&& value) { m_runtimeStatusHasBeenSet = true; m_runtimeStatus = std::move(value); } /** *

The status of the application unit.

*/ inline ApplicationComponentDetail& WithRuntimeStatus(const RuntimeAnalysisStatus& value) { SetRuntimeStatus(value); return *this;} /** *

The status of the application unit.

*/ inline ApplicationComponentDetail& WithRuntimeStatus(RuntimeAnalysisStatus&& value) { SetRuntimeStatus(std::move(value)); return *this;} /** *

The status message for the application unit.

*/ inline const Aws::String& GetRuntimeStatusMessage() const{ return m_runtimeStatusMessage; } /** *

The status message for the application unit.

*/ inline bool RuntimeStatusMessageHasBeenSet() const { return m_runtimeStatusMessageHasBeenSet; } /** *

The status message for the application unit.

*/ inline void SetRuntimeStatusMessage(const Aws::String& value) { m_runtimeStatusMessageHasBeenSet = true; m_runtimeStatusMessage = value; } /** *

The status message for the application unit.

*/ inline void SetRuntimeStatusMessage(Aws::String&& value) { m_runtimeStatusMessageHasBeenSet = true; m_runtimeStatusMessage = std::move(value); } /** *

The status message for the application unit.

*/ inline void SetRuntimeStatusMessage(const char* value) { m_runtimeStatusMessageHasBeenSet = true; m_runtimeStatusMessage.assign(value); } /** *

The status message for the application unit.

*/ inline ApplicationComponentDetail& WithRuntimeStatusMessage(const Aws::String& value) { SetRuntimeStatusMessage(value); return *this;} /** *

The status message for the application unit.

*/ inline ApplicationComponentDetail& WithRuntimeStatusMessage(Aws::String&& value) { SetRuntimeStatusMessage(std::move(value)); return *this;} /** *

The status message for the application unit.

*/ inline ApplicationComponentDetail& WithRuntimeStatusMessage(const char* value) { SetRuntimeStatusMessage(value); return *this;} /** *

Details about the source code repository associated with the application * component.

*/ inline const Aws::Vector& GetSourceCodeRepositories() const{ return m_sourceCodeRepositories; } /** *

Details about the source code repository associated with the application * component.

*/ inline bool SourceCodeRepositoriesHasBeenSet() const { return m_sourceCodeRepositoriesHasBeenSet; } /** *

Details about the source code repository associated with the application * component.

*/ inline void SetSourceCodeRepositories(const Aws::Vector& value) { m_sourceCodeRepositoriesHasBeenSet = true; m_sourceCodeRepositories = value; } /** *

Details about the source code repository associated with the application * component.

*/ inline void SetSourceCodeRepositories(Aws::Vector&& value) { m_sourceCodeRepositoriesHasBeenSet = true; m_sourceCodeRepositories = std::move(value); } /** *

Details about the source code repository associated with the application * component.

*/ inline ApplicationComponentDetail& WithSourceCodeRepositories(const Aws::Vector& value) { SetSourceCodeRepositories(value); return *this;} /** *

Details about the source code repository associated with the application * component.

*/ inline ApplicationComponentDetail& WithSourceCodeRepositories(Aws::Vector&& value) { SetSourceCodeRepositories(std::move(value)); return *this;} /** *

Details about the source code repository associated with the application * component.

*/ inline ApplicationComponentDetail& AddSourceCodeRepositories(const SourceCodeRepository& value) { m_sourceCodeRepositoriesHasBeenSet = true; m_sourceCodeRepositories.push_back(value); return *this; } /** *

Details about the source code repository associated with the application * component.

*/ inline ApplicationComponentDetail& AddSourceCodeRepositories(SourceCodeRepository&& value) { m_sourceCodeRepositoriesHasBeenSet = true; m_sourceCodeRepositories.push_back(std::move(value)); return *this; } /** *

A detailed description of the analysis status and any failure message.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

A detailed description of the analysis status and any failure message.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

A detailed description of the analysis status and any failure message.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *

A detailed description of the analysis status and any failure message.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *

A detailed description of the analysis status and any failure message.

*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *

A detailed description of the analysis status and any failure message.

*/ inline ApplicationComponentDetail& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

A detailed description of the analysis status and any failure message.

*/ inline ApplicationComponentDetail& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

A detailed description of the analysis status and any failure message.

*/ inline ApplicationComponentDetail& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: SrcCodeOrDbAnalysisStatus m_analysisStatus; bool m_analysisStatusHasBeenSet = false; S3Object m_antipatternReportS3Object; bool m_antipatternReportS3ObjectHasBeenSet = false; AntipatternReportStatus m_antipatternReportStatus; bool m_antipatternReportStatusHasBeenSet = false; Aws::String m_antipatternReportStatusMessage; bool m_antipatternReportStatusMessageHasBeenSet = false; AppType m_appType; bool m_appTypeHasBeenSet = false; AppUnitError m_appUnitError; bool m_appUnitErrorHasBeenSet = false; Aws::String m_associatedServerId; bool m_associatedServerIdHasBeenSet = false; DatabaseConfigDetail m_databaseConfigDetail; bool m_databaseConfigDetailHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; InclusionStatus m_inclusionStatus; bool m_inclusionStatusHasBeenSet = false; Aws::Utils::DateTime m_lastAnalyzedTimestamp; bool m_lastAnalyzedTimestampHasBeenSet = false; Aws::Vector m_listAntipatternSeveritySummary; bool m_listAntipatternSeveritySummaryHasBeenSet = false; bool m_moreServerAssociationExists; bool m_moreServerAssociationExistsHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_osDriver; bool m_osDriverHasBeenSet = false; Aws::String m_osVersion; bool m_osVersionHasBeenSet = false; RecommendationSet m_recommendationSet; bool m_recommendationSetHasBeenSet = false; ResourceSubType m_resourceSubType; bool m_resourceSubTypeHasBeenSet = false; Aws::Vector m_resultList; bool m_resultListHasBeenSet = false; RuntimeAnalysisStatus m_runtimeStatus; bool m_runtimeStatusHasBeenSet = false; Aws::String m_runtimeStatusMessage; bool m_runtimeStatusMessageHasBeenSet = false; Aws::Vector m_sourceCodeRepositories; bool m_sourceCodeRepositoriesHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws