/** * 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 namespace Aws { namespace ApplicationCostProfiler { namespace Model { /** */ class UpdateReportDefinitionRequest : public ApplicationCostProfilerRequest { public: AWS_APPLICATIONCOSTPROFILER_API UpdateReportDefinitionRequest(); // 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 "UpdateReportDefinition"; } AWS_APPLICATIONCOSTPROFILER_API Aws::String SerializePayload() const override; /** *

Required. ID of the report to update.

*/ inline const Aws::String& GetReportId() const{ return m_reportId; } /** *

Required. ID of the report to update.

*/ inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; } /** *

Required. ID of the report to update.

*/ inline void SetReportId(const Aws::String& value) { m_reportIdHasBeenSet = true; m_reportId = value; } /** *

Required. ID of the report to update.

*/ inline void SetReportId(Aws::String&& value) { m_reportIdHasBeenSet = true; m_reportId = std::move(value); } /** *

Required. ID of the report to update.

*/ inline void SetReportId(const char* value) { m_reportIdHasBeenSet = true; m_reportId.assign(value); } /** *

Required. ID of the report to update.

*/ inline UpdateReportDefinitionRequest& WithReportId(const Aws::String& value) { SetReportId(value); return *this;} /** *

Required. ID of the report to update.

*/ inline UpdateReportDefinitionRequest& WithReportId(Aws::String&& value) { SetReportId(std::move(value)); return *this;} /** *

Required. ID of the report to update.

*/ inline UpdateReportDefinitionRequest& WithReportId(const char* value) { SetReportId(value); return *this;} /** *

Required. Description of the report.

*/ inline const Aws::String& GetReportDescription() const{ return m_reportDescription; } /** *

Required. Description of the report.

*/ inline bool ReportDescriptionHasBeenSet() const { return m_reportDescriptionHasBeenSet; } /** *

Required. Description of the report.

*/ inline void SetReportDescription(const Aws::String& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = value; } /** *

Required. Description of the report.

*/ inline void SetReportDescription(Aws::String&& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = std::move(value); } /** *

Required. Description of the report.

*/ inline void SetReportDescription(const char* value) { m_reportDescriptionHasBeenSet = true; m_reportDescription.assign(value); } /** *

Required. Description of the report.

*/ inline UpdateReportDefinitionRequest& WithReportDescription(const Aws::String& value) { SetReportDescription(value); return *this;} /** *

Required. Description of the report.

*/ inline UpdateReportDefinitionRequest& WithReportDescription(Aws::String&& value) { SetReportDescription(std::move(value)); return *this;} /** *

Required. Description of the report.

*/ inline UpdateReportDefinitionRequest& WithReportDescription(const char* value) { SetReportDescription(value); return *this;} /** *

Required. The cadence to generate the report.

*/ inline const ReportFrequency& GetReportFrequency() const{ return m_reportFrequency; } /** *

Required. The cadence to generate the report.

*/ inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; } /** *

Required. The cadence to generate the report.

*/ inline void SetReportFrequency(const ReportFrequency& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; } /** *

Required. The cadence to generate the report.

*/ inline void SetReportFrequency(ReportFrequency&& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = std::move(value); } /** *

Required. The cadence to generate the report.

*/ inline UpdateReportDefinitionRequest& WithReportFrequency(const ReportFrequency& value) { SetReportFrequency(value); return *this;} /** *

Required. The cadence to generate the report.

*/ inline UpdateReportDefinitionRequest& WithReportFrequency(ReportFrequency&& value) { SetReportFrequency(std::move(value)); return *this;} /** *

Required. The format to use for the generated report.

*/ inline const Format& GetFormat() const{ return m_format; } /** *

Required. The format to use for the generated report.

*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *

Required. The format to use for the generated report.

*/ inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; } /** *

Required. The format to use for the generated report.

*/ inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *

Required. The format to use for the generated report.

*/ inline UpdateReportDefinitionRequest& WithFormat(const Format& value) { SetFormat(value); return *this;} /** *

Required. The format to use for the generated report.

*/ inline UpdateReportDefinitionRequest& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;} /** *

Required. Amazon Simple Storage Service (Amazon S3) location where * Application Cost Profiler uploads the report.

*/ inline const S3Location& GetDestinationS3Location() const{ return m_destinationS3Location; } /** *

Required. Amazon Simple Storage Service (Amazon S3) location where * Application Cost Profiler uploads the report.

*/ inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; } /** *

Required. Amazon Simple Storage Service (Amazon S3) location where * Application Cost Profiler uploads the report.

*/ inline void SetDestinationS3Location(const S3Location& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = value; } /** *

Required. Amazon Simple Storage Service (Amazon S3) location where * Application Cost Profiler uploads the report.

*/ inline void SetDestinationS3Location(S3Location&& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = std::move(value); } /** *

Required. Amazon Simple Storage Service (Amazon S3) location where * Application Cost Profiler uploads the report.

*/ inline UpdateReportDefinitionRequest& WithDestinationS3Location(const S3Location& value) { SetDestinationS3Location(value); return *this;} /** *

Required. Amazon Simple Storage Service (Amazon S3) location where * Application Cost Profiler uploads the report.

*/ inline UpdateReportDefinitionRequest& WithDestinationS3Location(S3Location&& value) { SetDestinationS3Location(std::move(value)); return *this;} private: Aws::String m_reportId; bool m_reportIdHasBeenSet = false; Aws::String m_reportDescription; bool m_reportDescriptionHasBeenSet = false; ReportFrequency m_reportFrequency; bool m_reportFrequencyHasBeenSet = false; Format m_format; bool m_formatHasBeenSet = false; S3Location m_destinationS3Location; bool m_destinationS3LocationHasBeenSet = false; }; } // namespace Model } // namespace ApplicationCostProfiler } // namespace Aws