/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the summary of the assessment results. See Also:
* AWS
* API Reference
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::VectorList of AntipatternSeveritySummary.
*/ inline bool ListAntipatternSeveritySummaryHasBeenSet() const { return m_listAntipatternSeveritySummaryHasBeenSet; } /** *List of AntipatternSeveritySummary.
*/ inline void SetListAntipatternSeveritySummary(const Aws::VectorList of AntipatternSeveritySummary.
*/ inline void SetListAntipatternSeveritySummary(Aws::VectorList of AntipatternSeveritySummary.
*/ inline AssessmentSummary& WithListAntipatternSeveritySummary(const Aws::VectorList of AntipatternSeveritySummary.
*/ inline AssessmentSummary& WithListAntipatternSeveritySummary(Aws::VectorList 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::VectorList 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::VectorList of status summaries of the analyzed application components.
*/ inline void SetListApplicationComponentStatusSummary(Aws::VectorList of status summaries of the analyzed application components.
*/ inline AssessmentSummary& WithListApplicationComponentStatusSummary(const Aws::VectorList of status summaries of the analyzed application components.
*/ inline AssessmentSummary& WithListApplicationComponentStatusSummary(Aws::VectorList 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::VectorList of ApplicationComponentStrategySummary.
*/ inline bool ListApplicationComponentStrategySummaryHasBeenSet() const { return m_listApplicationComponentStrategySummaryHasBeenSet; } /** *List of ApplicationComponentStrategySummary.
*/ inline void SetListApplicationComponentStrategySummary(const Aws::VectorList of ApplicationComponentStrategySummary.
*/ inline void SetListApplicationComponentStrategySummary(Aws::VectorList of ApplicationComponentStrategySummary.
*/ inline AssessmentSummary& WithListApplicationComponentStrategySummary(const Aws::VectorList of ApplicationComponentStrategySummary.
*/ inline AssessmentSummary& WithListApplicationComponentStrategySummary(Aws::VectorList 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::VectorList of ApplicationComponentSummary.
*/ inline bool ListApplicationComponentSummaryHasBeenSet() const { return m_listApplicationComponentSummaryHasBeenSet; } /** *List of ApplicationComponentSummary.
*/ inline void SetListApplicationComponentSummary(const Aws::VectorList of ApplicationComponentSummary.
*/ inline void SetListApplicationComponentSummary(Aws::VectorList of ApplicationComponentSummary.
*/ inline AssessmentSummary& WithListApplicationComponentSummary(const Aws::VectorList of ApplicationComponentSummary.
*/ inline AssessmentSummary& WithListApplicationComponentSummary(Aws::VectorList 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::VectorList 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::VectorList of status summaries of the analyzed servers.
*/ inline void SetListServerStatusSummary(Aws::VectorList of status summaries of the analyzed servers.
*/ inline AssessmentSummary& WithListServerStatusSummary(const Aws::VectorList of status summaries of the analyzed servers.
*/ inline AssessmentSummary& WithListServerStatusSummary(Aws::VectorList 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::VectorList of ServerStrategySummary.
*/ inline bool ListServerStrategySummaryHasBeenSet() const { return m_listServerStrategySummaryHasBeenSet; } /** *List of ServerStrategySummary.
*/ inline void SetListServerStrategySummary(const Aws::VectorList of ServerStrategySummary.
*/ inline void SetListServerStrategySummary(Aws::VectorList of ServerStrategySummary.
*/ inline AssessmentSummary& WithListServerStrategySummary(const Aws::VectorList of ServerStrategySummary.
*/ inline AssessmentSummary& WithListServerStrategySummary(Aws::VectorList 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::VectorList of ServerSummary.
*/ inline bool ListServerSummaryHasBeenSet() const { return m_listServerSummaryHasBeenSet; } /** *List of ServerSummary.
*/ inline void SetListServerSummary(const Aws::VectorList of ServerSummary.
*/ inline void SetListServerSummary(Aws::VectorList of ServerSummary.
*/ inline AssessmentSummary& WithListServerSummary(const Aws::VectorList of ServerSummary.
*/ inline AssessmentSummary& WithListServerSummary(Aws::VectorList 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