/** * 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 namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace MigrationHubStrategyRecommendations { namespace Model { /** *

Contains the summary of the assessment results.

See Also:

* AWS * API Reference

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

The Amazon S3 object containing the anti-pattern report.

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

The Amazon S3 object containing the anti-pattern report.

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

The Amazon S3 object containing the anti-pattern report.

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

The Amazon S3 object containing the anti-pattern report.

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

The Amazon S3 object containing the anti-pattern report.

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

The Amazon S3 object containing the anti-pattern report.

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

The status of the anti-pattern report.

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

The status of the anti-pattern report.

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

The status of the anti-pattern report.

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

The status of the anti-pattern report.

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

The status of the anti-pattern report.

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

The status of the anti-pattern report.

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

The status message of the anti-pattern report.

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

The status message of the anti-pattern report.

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

The status message of the anti-pattern report.

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

The status message of the anti-pattern report.

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

The status message of the anti-pattern report.

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

The status message of the anti-pattern report.

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

The status message of the anti-pattern report.

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

The status message of the anti-pattern report.

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

The time the assessment was performed.

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

The time the assessment was performed.

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

The time the assessment was performed.

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

The time the assessment was performed.

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

The time the assessment was performed.

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

The time the assessment was performed.

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

List of AntipatternSeveritySummary.

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

List of AntipatternSeveritySummary.

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

List of AntipatternSeveritySummary.

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

List of AntipatternSeveritySummary.

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

List of AntipatternSeveritySummary.

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

List of AntipatternSeveritySummary.

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

List of AntipatternSeveritySummary.

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

List of AntipatternSeveritySummary.

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

List of status summaries of the analyzed application components.

*/ inline const Aws::Vector& GetListApplicationComponentStatusSummary() const{ return m_listApplicationComponentStatusSummary; } /** *

List of status summaries of the analyzed application components.

*/ inline bool ListApplicationComponentStatusSummaryHasBeenSet() const { return m_listApplicationComponentStatusSummaryHasBeenSet; } /** *

List of status summaries of the analyzed application components.

*/ inline void SetListApplicationComponentStatusSummary(const Aws::Vector& value) { m_listApplicationComponentStatusSummaryHasBeenSet = true; m_listApplicationComponentStatusSummary = value; } /** *

List of status summaries of the analyzed application components.

*/ inline void SetListApplicationComponentStatusSummary(Aws::Vector&& value) { m_listApplicationComponentStatusSummaryHasBeenSet = true; m_listApplicationComponentStatusSummary = std::move(value); } /** *

List of status summaries of the analyzed application components.

*/ inline AssessmentSummary& WithListApplicationComponentStatusSummary(const Aws::Vector& value) { SetListApplicationComponentStatusSummary(value); return *this;} /** *

List of status summaries of the analyzed application components.

*/ inline AssessmentSummary& WithListApplicationComponentStatusSummary(Aws::Vector&& value) { SetListApplicationComponentStatusSummary(std::move(value)); return *this;} /** *

List of status summaries of the analyzed application components.

*/ inline AssessmentSummary& AddListApplicationComponentStatusSummary(const ApplicationComponentStatusSummary& value) { m_listApplicationComponentStatusSummaryHasBeenSet = true; m_listApplicationComponentStatusSummary.push_back(value); return *this; } /** *

List of status summaries of the analyzed application components.

*/ inline AssessmentSummary& AddListApplicationComponentStatusSummary(ApplicationComponentStatusSummary&& value) { m_listApplicationComponentStatusSummaryHasBeenSet = true; m_listApplicationComponentStatusSummary.push_back(std::move(value)); return *this; } /** *

List of ApplicationComponentStrategySummary.

*/ inline const Aws::Vector& GetListApplicationComponentStrategySummary() const{ return m_listApplicationComponentStrategySummary; } /** *

List of ApplicationComponentStrategySummary.

*/ inline bool ListApplicationComponentStrategySummaryHasBeenSet() const { return m_listApplicationComponentStrategySummaryHasBeenSet; } /** *

List of ApplicationComponentStrategySummary.

*/ inline void SetListApplicationComponentStrategySummary(const Aws::Vector& value) { m_listApplicationComponentStrategySummaryHasBeenSet = true; m_listApplicationComponentStrategySummary = value; } /** *

List of ApplicationComponentStrategySummary.

*/ inline void SetListApplicationComponentStrategySummary(Aws::Vector&& value) { m_listApplicationComponentStrategySummaryHasBeenSet = true; m_listApplicationComponentStrategySummary = std::move(value); } /** *

List of ApplicationComponentStrategySummary.

*/ inline AssessmentSummary& WithListApplicationComponentStrategySummary(const Aws::Vector& value) { SetListApplicationComponentStrategySummary(value); return *this;} /** *

List of ApplicationComponentStrategySummary.

*/ inline AssessmentSummary& WithListApplicationComponentStrategySummary(Aws::Vector&& value) { SetListApplicationComponentStrategySummary(std::move(value)); return *this;} /** *

List of ApplicationComponentStrategySummary.

*/ inline AssessmentSummary& AddListApplicationComponentStrategySummary(const StrategySummary& value) { m_listApplicationComponentStrategySummaryHasBeenSet = true; m_listApplicationComponentStrategySummary.push_back(value); return *this; } /** *

List of ApplicationComponentStrategySummary.

*/ inline AssessmentSummary& AddListApplicationComponentStrategySummary(StrategySummary&& value) { m_listApplicationComponentStrategySummaryHasBeenSet = true; m_listApplicationComponentStrategySummary.push_back(std::move(value)); return *this; } /** *

List of ApplicationComponentSummary.

*/ inline const Aws::Vector& GetListApplicationComponentSummary() const{ return m_listApplicationComponentSummary; } /** *

List of ApplicationComponentSummary.

*/ inline bool ListApplicationComponentSummaryHasBeenSet() const { return m_listApplicationComponentSummaryHasBeenSet; } /** *

List of ApplicationComponentSummary.

*/ inline void SetListApplicationComponentSummary(const Aws::Vector& value) { m_listApplicationComponentSummaryHasBeenSet = true; m_listApplicationComponentSummary = value; } /** *

List of ApplicationComponentSummary.

*/ inline void SetListApplicationComponentSummary(Aws::Vector&& value) { m_listApplicationComponentSummaryHasBeenSet = true; m_listApplicationComponentSummary = std::move(value); } /** *

List of ApplicationComponentSummary.

*/ inline AssessmentSummary& WithListApplicationComponentSummary(const Aws::Vector& value) { SetListApplicationComponentSummary(value); return *this;} /** *

List of ApplicationComponentSummary.

*/ inline AssessmentSummary& WithListApplicationComponentSummary(Aws::Vector&& value) { SetListApplicationComponentSummary(std::move(value)); return *this;} /** *

List of ApplicationComponentSummary.

*/ inline AssessmentSummary& AddListApplicationComponentSummary(const ApplicationComponentSummary& value) { m_listApplicationComponentSummaryHasBeenSet = true; m_listApplicationComponentSummary.push_back(value); return *this; } /** *

List of ApplicationComponentSummary.

*/ inline AssessmentSummary& AddListApplicationComponentSummary(ApplicationComponentSummary&& value) { m_listApplicationComponentSummaryHasBeenSet = true; m_listApplicationComponentSummary.push_back(std::move(value)); return *this; } /** *

List of status summaries of the analyzed servers.

*/ inline const Aws::Vector& GetListServerStatusSummary() const{ return m_listServerStatusSummary; } /** *

List of status summaries of the analyzed servers.

*/ inline bool ListServerStatusSummaryHasBeenSet() const { return m_listServerStatusSummaryHasBeenSet; } /** *

List of status summaries of the analyzed servers.

*/ inline void SetListServerStatusSummary(const Aws::Vector& value) { m_listServerStatusSummaryHasBeenSet = true; m_listServerStatusSummary = value; } /** *

List of status summaries of the analyzed servers.

*/ inline void SetListServerStatusSummary(Aws::Vector&& value) { m_listServerStatusSummaryHasBeenSet = true; m_listServerStatusSummary = std::move(value); } /** *

List of status summaries of the analyzed servers.

*/ inline AssessmentSummary& WithListServerStatusSummary(const Aws::Vector& value) { SetListServerStatusSummary(value); return *this;} /** *

List of status summaries of the analyzed servers.

*/ inline AssessmentSummary& WithListServerStatusSummary(Aws::Vector&& value) { SetListServerStatusSummary(std::move(value)); return *this;} /** *

List of status summaries of the analyzed servers.

*/ inline AssessmentSummary& AddListServerStatusSummary(const ServerStatusSummary& value) { m_listServerStatusSummaryHasBeenSet = true; m_listServerStatusSummary.push_back(value); return *this; } /** *

List of status summaries of the analyzed servers.

*/ inline AssessmentSummary& AddListServerStatusSummary(ServerStatusSummary&& value) { m_listServerStatusSummaryHasBeenSet = true; m_listServerStatusSummary.push_back(std::move(value)); return *this; } /** *

List of ServerStrategySummary.

*/ inline const Aws::Vector& GetListServerStrategySummary() const{ return m_listServerStrategySummary; } /** *

List of ServerStrategySummary.

*/ inline bool ListServerStrategySummaryHasBeenSet() const { return m_listServerStrategySummaryHasBeenSet; } /** *

List of ServerStrategySummary.

*/ inline void SetListServerStrategySummary(const Aws::Vector& value) { m_listServerStrategySummaryHasBeenSet = true; m_listServerStrategySummary = value; } /** *

List of ServerStrategySummary.

*/ inline void SetListServerStrategySummary(Aws::Vector&& value) { m_listServerStrategySummaryHasBeenSet = true; m_listServerStrategySummary = std::move(value); } /** *

List of ServerStrategySummary.

*/ inline AssessmentSummary& WithListServerStrategySummary(const Aws::Vector& value) { SetListServerStrategySummary(value); return *this;} /** *

List of ServerStrategySummary.

*/ inline AssessmentSummary& WithListServerStrategySummary(Aws::Vector&& value) { SetListServerStrategySummary(std::move(value)); return *this;} /** *

List of ServerStrategySummary.

*/ inline AssessmentSummary& AddListServerStrategySummary(const StrategySummary& value) { m_listServerStrategySummaryHasBeenSet = true; m_listServerStrategySummary.push_back(value); return *this; } /** *

List of ServerStrategySummary.

*/ inline AssessmentSummary& AddListServerStrategySummary(StrategySummary&& value) { m_listServerStrategySummaryHasBeenSet = true; m_listServerStrategySummary.push_back(std::move(value)); return *this; } /** *

List of ServerSummary.

*/ inline const Aws::Vector& GetListServerSummary() const{ return m_listServerSummary; } /** *

List of ServerSummary.

*/ inline bool ListServerSummaryHasBeenSet() const { return m_listServerSummaryHasBeenSet; } /** *

List of ServerSummary.

*/ inline void SetListServerSummary(const Aws::Vector& value) { m_listServerSummaryHasBeenSet = true; m_listServerSummary = value; } /** *

List of ServerSummary.

*/ inline void SetListServerSummary(Aws::Vector&& value) { m_listServerSummaryHasBeenSet = true; m_listServerSummary = std::move(value); } /** *

List of ServerSummary.

*/ inline AssessmentSummary& WithListServerSummary(const Aws::Vector& value) { SetListServerSummary(value); return *this;} /** *

List of ServerSummary.

*/ inline AssessmentSummary& WithListServerSummary(Aws::Vector&& value) { SetListServerSummary(std::move(value)); return *this;} /** *

List of ServerSummary.

*/ inline AssessmentSummary& AddListServerSummary(const ServerSummary& value) { m_listServerSummaryHasBeenSet = true; m_listServerSummary.push_back(value); return *this; } /** *

List of ServerSummary.

*/ inline AssessmentSummary& AddListServerSummary(ServerSummary&& value) { m_listServerSummaryHasBeenSet = true; m_listServerSummary.push_back(std::move(value)); return *this; } private: S3Object m_antipatternReportS3Object; bool m_antipatternReportS3ObjectHasBeenSet = false; AntipatternReportStatus m_antipatternReportStatus; bool m_antipatternReportStatusHasBeenSet = false; Aws::String m_antipatternReportStatusMessage; bool m_antipatternReportStatusMessageHasBeenSet = false; Aws::Utils::DateTime m_lastAnalyzedTimestamp; bool m_lastAnalyzedTimestampHasBeenSet = false; Aws::Vector m_listAntipatternSeveritySummary; bool m_listAntipatternSeveritySummaryHasBeenSet = false; Aws::Vector m_listApplicationComponentStatusSummary; bool m_listApplicationComponentStatusSummaryHasBeenSet = false; Aws::Vector m_listApplicationComponentStrategySummary; bool m_listApplicationComponentStrategySummaryHasBeenSet = false; Aws::Vector m_listApplicationComponentSummary; bool m_listApplicationComponentSummaryHasBeenSet = false; Aws::Vector m_listServerStatusSummary; bool m_listServerStatusSummaryHasBeenSet = false; Aws::Vector m_listServerStrategySummary; bool m_listServerStrategySummaryHasBeenSet = false; Aws::Vector m_listServerSummary; bool m_listServerSummaryHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws