/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #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 a recommendation report.

See * Also:

AWS * API Reference

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

The time that the recommendation report generation task completes.

*/ inline const Aws::Utils::DateTime& GetCompletionTime() const{ return m_completionTime; } /** *

The time that the recommendation report generation task completes.

*/ inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } /** *

The time that the recommendation report generation task completes.

*/ inline void SetCompletionTime(const Aws::Utils::DateTime& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } /** *

The time that the recommendation report generation task completes.

*/ inline void SetCompletionTime(Aws::Utils::DateTime&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } /** *

The time that the recommendation report generation task completes.

*/ inline RecommendationReportDetails& WithCompletionTime(const Aws::Utils::DateTime& value) { SetCompletionTime(value); return *this;} /** *

The time that the recommendation report generation task completes.

*/ inline RecommendationReportDetails& WithCompletionTime(Aws::Utils::DateTime&& value) { SetCompletionTime(std::move(value)); return *this;} /** *

The S3 bucket where the report file is located.

*/ inline const Aws::String& GetS3Bucket() const{ return m_s3Bucket; } /** *

The S3 bucket where the report file is located.

*/ inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; } /** *

The S3 bucket where the report file is located.

*/ inline void SetS3Bucket(const Aws::String& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; } /** *

The S3 bucket where the report file is located.

*/ inline void SetS3Bucket(Aws::String&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); } /** *

The S3 bucket where the report file is located.

*/ inline void SetS3Bucket(const char* value) { m_s3BucketHasBeenSet = true; m_s3Bucket.assign(value); } /** *

The S3 bucket where the report file is located.

*/ inline RecommendationReportDetails& WithS3Bucket(const Aws::String& value) { SetS3Bucket(value); return *this;} /** *

The S3 bucket where the report file is located.

*/ inline RecommendationReportDetails& WithS3Bucket(Aws::String&& value) { SetS3Bucket(std::move(value)); return *this;} /** *

The S3 bucket where the report file is located.

*/ inline RecommendationReportDetails& WithS3Bucket(const char* value) { SetS3Bucket(value); return *this;} /** *

The Amazon S3 key name of the report file.

*/ inline const Aws::Vector& GetS3Keys() const{ return m_s3Keys; } /** *

The Amazon S3 key name of the report file.

*/ inline bool S3KeysHasBeenSet() const { return m_s3KeysHasBeenSet; } /** *

The Amazon S3 key name of the report file.

*/ inline void SetS3Keys(const Aws::Vector& value) { m_s3KeysHasBeenSet = true; m_s3Keys = value; } /** *

The Amazon S3 key name of the report file.

*/ inline void SetS3Keys(Aws::Vector&& value) { m_s3KeysHasBeenSet = true; m_s3Keys = std::move(value); } /** *

The Amazon S3 key name of the report file.

*/ inline RecommendationReportDetails& WithS3Keys(const Aws::Vector& value) { SetS3Keys(value); return *this;} /** *

The Amazon S3 key name of the report file.

*/ inline RecommendationReportDetails& WithS3Keys(Aws::Vector&& value) { SetS3Keys(std::move(value)); return *this;} /** *

The Amazon S3 key name of the report file.

*/ inline RecommendationReportDetails& AddS3Keys(const Aws::String& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; } /** *

The Amazon S3 key name of the report file.

*/ inline RecommendationReportDetails& AddS3Keys(Aws::String&& value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(std::move(value)); return *this; } /** *

The Amazon S3 key name of the report file.

*/ inline RecommendationReportDetails& AddS3Keys(const char* value) { m_s3KeysHasBeenSet = true; m_s3Keys.push_back(value); return *this; } /** *

The time that the recommendation report generation task starts.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

The time that the recommendation report generation task starts.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

The time that the recommendation report generation task starts.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

The time that the recommendation report generation task starts.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

The time that the recommendation report generation task starts.

*/ inline RecommendationReportDetails& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

The time that the recommendation report generation task starts.

*/ inline RecommendationReportDetails& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

The status of the recommendation report generation task.

*/ inline const RecommendationReportStatus& GetStatus() const{ return m_status; } /** *

The status of the recommendation report generation task.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the recommendation report generation task.

*/ inline void SetStatus(const RecommendationReportStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the recommendation report generation task.

*/ inline void SetStatus(RecommendationReportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The status of the recommendation report generation task.

*/ inline RecommendationReportDetails& WithStatus(const RecommendationReportStatus& value) { SetStatus(value); return *this;} /** *

The status of the recommendation report generation task.

*/ inline RecommendationReportDetails& WithStatus(RecommendationReportStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The status message for recommendation report generation.

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

The status message for recommendation report generation.

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

The status message for recommendation report generation.

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

The status message for recommendation report generation.

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

The status message for recommendation report generation.

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

The status message for recommendation report generation.

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

The status message for recommendation report generation.

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

The status message for recommendation report generation.

*/ inline RecommendationReportDetails& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: Aws::Utils::DateTime m_completionTime; bool m_completionTimeHasBeenSet = false; Aws::String m_s3Bucket; bool m_s3BucketHasBeenSet = false; Aws::Vector m_s3Keys; bool m_s3KeysHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; RecommendationReportStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws