/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace CostandUsageReportService { namespace Model { /** *

Creates a Cost and Usage Report.

See Also:

AWS * API Reference

*/ class PutReportDefinitionRequest : public CostandUsageReportServiceRequest { public: AWS_COSTANDUSAGEREPORTSERVICE_API PutReportDefinitionRequest(); // 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 "PutReportDefinition"; } AWS_COSTANDUSAGEREPORTSERVICE_API Aws::String SerializePayload() const override; AWS_COSTANDUSAGEREPORTSERVICE_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

Represents the output of the PutReportDefinition operation. The content * consists of the detailed metadata and data file information.

*/ inline const ReportDefinition& GetReportDefinition() const{ return m_reportDefinition; } /** *

Represents the output of the PutReportDefinition operation. The content * consists of the detailed metadata and data file information.

*/ inline bool ReportDefinitionHasBeenSet() const { return m_reportDefinitionHasBeenSet; } /** *

Represents the output of the PutReportDefinition operation. The content * consists of the detailed metadata and data file information.

*/ inline void SetReportDefinition(const ReportDefinition& value) { m_reportDefinitionHasBeenSet = true; m_reportDefinition = value; } /** *

Represents the output of the PutReportDefinition operation. The content * consists of the detailed metadata and data file information.

*/ inline void SetReportDefinition(ReportDefinition&& value) { m_reportDefinitionHasBeenSet = true; m_reportDefinition = std::move(value); } /** *

Represents the output of the PutReportDefinition operation. The content * consists of the detailed metadata and data file information.

*/ inline PutReportDefinitionRequest& WithReportDefinition(const ReportDefinition& value) { SetReportDefinition(value); return *this;} /** *

Represents the output of the PutReportDefinition operation. The content * consists of the detailed metadata and data file information.

*/ inline PutReportDefinitionRequest& WithReportDefinition(ReportDefinition&& value) { SetReportDefinition(std::move(value)); return *this;} private: ReportDefinition m_reportDefinition; bool m_reportDefinitionHasBeenSet = false; }; } // namespace Model } // namespace CostandUsageReportService } // namespace Aws