/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ComputeOptimizer { namespace Model { class ExportEC2InstanceRecommendationsResult { public: AWS_COMPUTEOPTIMIZER_API ExportEC2InstanceRecommendationsResult(); AWS_COMPUTEOPTIMIZER_API ExportEC2InstanceRecommendationsResult(const Aws::AmazonWebServiceResult& result); AWS_COMPUTEOPTIMIZER_API ExportEC2InstanceRecommendationsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The identification number of the export job.

Use the * DescribeRecommendationExportJobs action, and specify the job ID to view * the status of an export job.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The identification number of the export job.

Use the * DescribeRecommendationExportJobs action, and specify the job ID to view * the status of an export job.

*/ inline void SetJobId(const Aws::String& value) { m_jobId = value; } /** *

The identification number of the export job.

Use the * DescribeRecommendationExportJobs action, and specify the job ID to view * the status of an export job.

*/ inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); } /** *

The identification number of the export job.

Use the * DescribeRecommendationExportJobs action, and specify the job ID to view * the status of an export job.

*/ inline void SetJobId(const char* value) { m_jobId.assign(value); } /** *

The identification number of the export job.

Use the * DescribeRecommendationExportJobs action, and specify the job ID to view * the status of an export job.

*/ inline ExportEC2InstanceRecommendationsResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The identification number of the export job.

Use the * DescribeRecommendationExportJobs action, and specify the job ID to view * the status of an export job.

*/ inline ExportEC2InstanceRecommendationsResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The identification number of the export job.

Use the * DescribeRecommendationExportJobs action, and specify the job ID to view * the status of an export job.

*/ inline ExportEC2InstanceRecommendationsResult& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

An object that describes the destination Amazon S3 bucket of a * recommendations export file.

*/ inline const S3Destination& GetS3Destination() const{ return m_s3Destination; } /** *

An object that describes the destination Amazon S3 bucket of a * recommendations export file.

*/ inline void SetS3Destination(const S3Destination& value) { m_s3Destination = value; } /** *

An object that describes the destination Amazon S3 bucket of a * recommendations export file.

*/ inline void SetS3Destination(S3Destination&& value) { m_s3Destination = std::move(value); } /** *

An object that describes the destination Amazon S3 bucket of a * recommendations export file.

*/ inline ExportEC2InstanceRecommendationsResult& WithS3Destination(const S3Destination& value) { SetS3Destination(value); return *this;} /** *

An object that describes the destination Amazon S3 bucket of a * recommendations export file.

*/ inline ExportEC2InstanceRecommendationsResult& WithS3Destination(S3Destination&& value) { SetS3Destination(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline ExportEC2InstanceRecommendationsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ExportEC2InstanceRecommendationsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ExportEC2InstanceRecommendationsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_jobId; S3Destination m_s3Destination; Aws::String m_requestId; }; } // namespace Model } // namespace ComputeOptimizer } // namespace Aws