/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The configuration of a report in AWS Application Cost Profiler.See
* Also:
AWS
* API Reference
The ID of the report.
*/ inline const Aws::String& GetReportId() const{ return m_reportId; } /** *The ID of the report.
*/ inline bool ReportIdHasBeenSet() const { return m_reportIdHasBeenSet; } /** *The ID of the report.
*/ inline void SetReportId(const Aws::String& value) { m_reportIdHasBeenSet = true; m_reportId = value; } /** *The ID of the report.
*/ inline void SetReportId(Aws::String&& value) { m_reportIdHasBeenSet = true; m_reportId = std::move(value); } /** *The ID of the report.
*/ inline void SetReportId(const char* value) { m_reportIdHasBeenSet = true; m_reportId.assign(value); } /** *The ID of the report.
*/ inline ReportDefinition& WithReportId(const Aws::String& value) { SetReportId(value); return *this;} /** *The ID of the report.
*/ inline ReportDefinition& WithReportId(Aws::String&& value) { SetReportId(std::move(value)); return *this;} /** *The ID of the report.
*/ inline ReportDefinition& WithReportId(const char* value) { SetReportId(value); return *this;} /** *Description of the report
*/ inline const Aws::String& GetReportDescription() const{ return m_reportDescription; } /** *Description of the report
*/ inline bool ReportDescriptionHasBeenSet() const { return m_reportDescriptionHasBeenSet; } /** *Description of the report
*/ inline void SetReportDescription(const Aws::String& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = value; } /** *Description of the report
*/ inline void SetReportDescription(Aws::String&& value) { m_reportDescriptionHasBeenSet = true; m_reportDescription = std::move(value); } /** *Description of the report
*/ inline void SetReportDescription(const char* value) { m_reportDescriptionHasBeenSet = true; m_reportDescription.assign(value); } /** *Description of the report
*/ inline ReportDefinition& WithReportDescription(const Aws::String& value) { SetReportDescription(value); return *this;} /** *Description of the report
*/ inline ReportDefinition& WithReportDescription(Aws::String&& value) { SetReportDescription(std::move(value)); return *this;} /** *Description of the report
*/ inline ReportDefinition& WithReportDescription(const char* value) { SetReportDescription(value); return *this;} /** *The cadence at which the report is generated.
*/ inline const ReportFrequency& GetReportFrequency() const{ return m_reportFrequency; } /** *The cadence at which the report is generated.
*/ inline bool ReportFrequencyHasBeenSet() const { return m_reportFrequencyHasBeenSet; } /** *The cadence at which the report is generated.
*/ inline void SetReportFrequency(const ReportFrequency& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = value; } /** *The cadence at which the report is generated.
*/ inline void SetReportFrequency(ReportFrequency&& value) { m_reportFrequencyHasBeenSet = true; m_reportFrequency = std::move(value); } /** *The cadence at which the report is generated.
*/ inline ReportDefinition& WithReportFrequency(const ReportFrequency& value) { SetReportFrequency(value); return *this;} /** *The cadence at which the report is generated.
*/ inline ReportDefinition& WithReportFrequency(ReportFrequency&& value) { SetReportFrequency(std::move(value)); return *this;} /** *The format used for the generated reports.
*/ inline const Format& GetFormat() const{ return m_format; } /** *The format used for the generated reports.
*/ inline bool FormatHasBeenSet() const { return m_formatHasBeenSet; } /** *The format used for the generated reports.
*/ inline void SetFormat(const Format& value) { m_formatHasBeenSet = true; m_format = value; } /** *The format used for the generated reports.
*/ inline void SetFormat(Format&& value) { m_formatHasBeenSet = true; m_format = std::move(value); } /** *The format used for the generated reports.
*/ inline ReportDefinition& WithFormat(const Format& value) { SetFormat(value); return *this;} /** *The format used for the generated reports.
*/ inline ReportDefinition& WithFormat(Format&& value) { SetFormat(std::move(value)); return *this;} /** *The location in Amazon Simple Storage Service (Amazon S3) the reports should * be saved to.
*/ inline const S3Location& GetDestinationS3Location() const{ return m_destinationS3Location; } /** *The location in Amazon Simple Storage Service (Amazon S3) the reports should * be saved to.
*/ inline bool DestinationS3LocationHasBeenSet() const { return m_destinationS3LocationHasBeenSet; } /** *The location in Amazon Simple Storage Service (Amazon S3) the reports should * be saved to.
*/ inline void SetDestinationS3Location(const S3Location& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = value; } /** *The location in Amazon Simple Storage Service (Amazon S3) the reports should * be saved to.
*/ inline void SetDestinationS3Location(S3Location&& value) { m_destinationS3LocationHasBeenSet = true; m_destinationS3Location = std::move(value); } /** *The location in Amazon Simple Storage Service (Amazon S3) the reports should * be saved to.
*/ inline ReportDefinition& WithDestinationS3Location(const S3Location& value) { SetDestinationS3Location(value); return *this;} /** *The location in Amazon Simple Storage Service (Amazon S3) the reports should * be saved to.
*/ inline ReportDefinition& WithDestinationS3Location(S3Location&& value) { SetDestinationS3Location(std::move(value)); return *this;} /** *Timestamp (milliseconds) when this report definition was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *Timestamp (milliseconds) when this report definition was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *Timestamp (milliseconds) when this report definition was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *Timestamp (milliseconds) when this report definition was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *Timestamp (milliseconds) when this report definition was created.
*/ inline ReportDefinition& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *Timestamp (milliseconds) when this report definition was created.
*/ inline ReportDefinition& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *Timestamp (milliseconds) when this report definition was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *Timestamp (milliseconds) when this report definition was last updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *Timestamp (milliseconds) when this report definition was last updated.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *Timestamp (milliseconds) when this report definition was last updated.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *Timestamp (milliseconds) when this report definition was last updated.
*/ inline ReportDefinition& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *Timestamp (milliseconds) when this report definition was last updated.
*/ inline ReportDefinition& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(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; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; }; } // namespace Model } // namespace ApplicationCostProfiler } // namespace Aws