/** * 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 { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace ApplicationCostProfiler { namespace Model { class GetReportDefinitionResult { public: AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult(); AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult(const Aws::AmazonWebServiceResult& result); AWS_APPLICATIONCOSTPROFILER_API GetReportDefinitionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

ID of the report retrieved.

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

ID of the report retrieved.

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

ID of the report retrieved.

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

ID of the report retrieved.

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

ID of the report retrieved.

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

ID of the report retrieved.

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

ID of the report retrieved.

*/ inline GetReportDefinitionResult& 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 void SetReportDescription(const Aws::String& value) { m_reportDescription = value; } /** *

Description of the report.

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

Description of the report.

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

Description of the report.

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

Description of the report.

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

Description of the report.

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

Cadence used to generate the report.

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

Cadence used to generate the report.

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

Cadence used to generate the report.

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

Cadence used to generate the report.

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

Cadence used to generate the report.

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

Format of the generated report.

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

Format of the generated report.

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

Format of the generated report.

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

Format of the generated report.

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

Format of the generated report.

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

Amazon Simple Storage Service (Amazon S3) location where the report is * uploaded.

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

Amazon Simple Storage Service (Amazon S3) location where the report is * uploaded.

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

Amazon Simple Storage Service (Amazon S3) location where the report is * uploaded.

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

Amazon Simple Storage Service (Amazon S3) location where the report is * uploaded.

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

Amazon Simple Storage Service (Amazon S3) location where the report is * uploaded.

*/ inline GetReportDefinitionResult& 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 void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

Timestamp (milliseconds) when this report definition was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

Timestamp (milliseconds) when this report definition was created.

*/ inline GetReportDefinitionResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

Timestamp (milliseconds) when this report definition was created.

*/ inline GetReportDefinitionResult& 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& GetLastUpdated() const{ return m_lastUpdated; } /** *

Timestamp (milliseconds) when this report definition was last updated.

*/ inline void SetLastUpdated(const Aws::Utils::DateTime& value) { m_lastUpdated = value; } /** *

Timestamp (milliseconds) when this report definition was last updated.

*/ inline void SetLastUpdated(Aws::Utils::DateTime&& value) { m_lastUpdated = std::move(value); } /** *

Timestamp (milliseconds) when this report definition was last updated.

*/ inline GetReportDefinitionResult& WithLastUpdated(const Aws::Utils::DateTime& value) { SetLastUpdated(value); return *this;} /** *

Timestamp (milliseconds) when this report definition was last updated.

*/ inline GetReportDefinitionResult& WithLastUpdated(Aws::Utils::DateTime&& value) { SetLastUpdated(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 GetReportDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetReportDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetReportDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_reportId; Aws::String m_reportDescription; ReportFrequency m_reportFrequency; Format m_format; S3Location m_destinationS3Location; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_lastUpdated; Aws::String m_requestId; }; } // namespace Model } // namespace ApplicationCostProfiler } // namespace Aws