/** * 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 MigrationHubStrategyRecommendations { namespace Model { /** */ class StartAssessmentRequest : public MigrationHubStrategyRecommendationsRequest { public: AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API StartAssessmentRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "StartAssessment"; } AWS_MIGRATIONHUBSTRATEGYRECOMMENDATIONS_API Aws::String SerializePayload() const override; /** *

List of criteria for assessment.

*/ inline const Aws::Vector& GetAssessmentTargets() const{ return m_assessmentTargets; } /** *

List of criteria for assessment.

*/ inline bool AssessmentTargetsHasBeenSet() const { return m_assessmentTargetsHasBeenSet; } /** *

List of criteria for assessment.

*/ inline void SetAssessmentTargets(const Aws::Vector& value) { m_assessmentTargetsHasBeenSet = true; m_assessmentTargets = value; } /** *

List of criteria for assessment.

*/ inline void SetAssessmentTargets(Aws::Vector&& value) { m_assessmentTargetsHasBeenSet = true; m_assessmentTargets = std::move(value); } /** *

List of criteria for assessment.

*/ inline StartAssessmentRequest& WithAssessmentTargets(const Aws::Vector& value) { SetAssessmentTargets(value); return *this;} /** *

List of criteria for assessment.

*/ inline StartAssessmentRequest& WithAssessmentTargets(Aws::Vector&& value) { SetAssessmentTargets(std::move(value)); return *this;} /** *

List of criteria for assessment.

*/ inline StartAssessmentRequest& AddAssessmentTargets(const AssessmentTarget& value) { m_assessmentTargetsHasBeenSet = true; m_assessmentTargets.push_back(value); return *this; } /** *

List of criteria for assessment.

*/ inline StartAssessmentRequest& AddAssessmentTargets(AssessmentTarget&& value) { m_assessmentTargetsHasBeenSet = true; m_assessmentTargets.push_back(std::move(value)); return *this; } /** *

The S3 bucket used by the collectors to send analysis data to the service. * The bucket name must begin with migrationhub-strategy-.

*/ inline const Aws::String& GetS3bucketForAnalysisData() const{ return m_s3bucketForAnalysisData; } /** *

The S3 bucket used by the collectors to send analysis data to the service. * The bucket name must begin with migrationhub-strategy-.

*/ inline bool S3bucketForAnalysisDataHasBeenSet() const { return m_s3bucketForAnalysisDataHasBeenSet; } /** *

The S3 bucket used by the collectors to send analysis data to the service. * The bucket name must begin with migrationhub-strategy-.

*/ inline void SetS3bucketForAnalysisData(const Aws::String& value) { m_s3bucketForAnalysisDataHasBeenSet = true; m_s3bucketForAnalysisData = value; } /** *

The S3 bucket used by the collectors to send analysis data to the service. * The bucket name must begin with migrationhub-strategy-.

*/ inline void SetS3bucketForAnalysisData(Aws::String&& value) { m_s3bucketForAnalysisDataHasBeenSet = true; m_s3bucketForAnalysisData = std::move(value); } /** *

The S3 bucket used by the collectors to send analysis data to the service. * The bucket name must begin with migrationhub-strategy-.

*/ inline void SetS3bucketForAnalysisData(const char* value) { m_s3bucketForAnalysisDataHasBeenSet = true; m_s3bucketForAnalysisData.assign(value); } /** *

The S3 bucket used by the collectors to send analysis data to the service. * The bucket name must begin with migrationhub-strategy-.

*/ inline StartAssessmentRequest& WithS3bucketForAnalysisData(const Aws::String& value) { SetS3bucketForAnalysisData(value); return *this;} /** *

The S3 bucket used by the collectors to send analysis data to the service. * The bucket name must begin with migrationhub-strategy-.

*/ inline StartAssessmentRequest& WithS3bucketForAnalysisData(Aws::String&& value) { SetS3bucketForAnalysisData(std::move(value)); return *this;} /** *

The S3 bucket used by the collectors to send analysis data to the service. * The bucket name must begin with migrationhub-strategy-.

*/ inline StartAssessmentRequest& WithS3bucketForAnalysisData(const char* value) { SetS3bucketForAnalysisData(value); return *this;} /** *

The S3 bucket where all the reports generated by the service are stored. The * bucket name must begin with migrationhub-strategy-.

*/ inline const Aws::String& GetS3bucketForReportData() const{ return m_s3bucketForReportData; } /** *

The S3 bucket where all the reports generated by the service are stored. The * bucket name must begin with migrationhub-strategy-.

*/ inline bool S3bucketForReportDataHasBeenSet() const { return m_s3bucketForReportDataHasBeenSet; } /** *

The S3 bucket where all the reports generated by the service are stored. The * bucket name must begin with migrationhub-strategy-.

*/ inline void SetS3bucketForReportData(const Aws::String& value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData = value; } /** *

The S3 bucket where all the reports generated by the service are stored. The * bucket name must begin with migrationhub-strategy-.

*/ inline void SetS3bucketForReportData(Aws::String&& value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData = std::move(value); } /** *

The S3 bucket where all the reports generated by the service are stored. The * bucket name must begin with migrationhub-strategy-.

*/ inline void SetS3bucketForReportData(const char* value) { m_s3bucketForReportDataHasBeenSet = true; m_s3bucketForReportData.assign(value); } /** *

The S3 bucket where all the reports generated by the service are stored. The * bucket name must begin with migrationhub-strategy-.

*/ inline StartAssessmentRequest& WithS3bucketForReportData(const Aws::String& value) { SetS3bucketForReportData(value); return *this;} /** *

The S3 bucket where all the reports generated by the service are stored. The * bucket name must begin with migrationhub-strategy-.

*/ inline StartAssessmentRequest& WithS3bucketForReportData(Aws::String&& value) { SetS3bucketForReportData(std::move(value)); return *this;} /** *

The S3 bucket where all the reports generated by the service are stored. The * bucket name must begin with migrationhub-strategy-.

*/ inline StartAssessmentRequest& WithS3bucketForReportData(const char* value) { SetS3bucketForReportData(value); return *this;} private: Aws::Vector m_assessmentTargets; bool m_assessmentTargetsHasBeenSet = false; Aws::String m_s3bucketForAnalysisData; bool m_s3bucketForAnalysisDataHasBeenSet = false; Aws::String m_s3bucketForReportData; bool m_s3bucketForReportDataHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubStrategyRecommendations } // namespace Aws