/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Usage report with specified parameters.See Also:
AWS
* API Reference
The status of the report generation execution (RUNNING, SUCCEEDED, or * FAILED).
*/ inline const BusinessReportStatus& GetStatus() const{ return m_status; } /** *The status of the report generation execution (RUNNING, SUCCEEDED, or * FAILED).
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the report generation execution (RUNNING, SUCCEEDED, or * FAILED).
*/ inline void SetStatus(const BusinessReportStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the report generation execution (RUNNING, SUCCEEDED, or * FAILED).
*/ inline void SetStatus(BusinessReportStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the report generation execution (RUNNING, SUCCEEDED, or * FAILED).
*/ inline BusinessReport& WithStatus(const BusinessReportStatus& value) { SetStatus(value); return *this;} /** *The status of the report generation execution (RUNNING, SUCCEEDED, or * FAILED).
*/ inline BusinessReport& WithStatus(BusinessReportStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The failure code.
*/ inline const BusinessReportFailureCode& GetFailureCode() const{ return m_failureCode; } /** *The failure code.
*/ inline bool FailureCodeHasBeenSet() const { return m_failureCodeHasBeenSet; } /** *The failure code.
*/ inline void SetFailureCode(const BusinessReportFailureCode& value) { m_failureCodeHasBeenSet = true; m_failureCode = value; } /** *The failure code.
*/ inline void SetFailureCode(BusinessReportFailureCode&& value) { m_failureCodeHasBeenSet = true; m_failureCode = std::move(value); } /** *The failure code.
*/ inline BusinessReport& WithFailureCode(const BusinessReportFailureCode& value) { SetFailureCode(value); return *this;} /** *The failure code.
*/ inline BusinessReport& WithFailureCode(BusinessReportFailureCode&& value) { SetFailureCode(std::move(value)); return *this;} /** *The S3 location of the output reports.
*/ inline const BusinessReportS3Location& GetS3Location() const{ return m_s3Location; } /** *The S3 location of the output reports.
*/ inline bool S3LocationHasBeenSet() const { return m_s3LocationHasBeenSet; } /** *The S3 location of the output reports.
*/ inline void SetS3Location(const BusinessReportS3Location& value) { m_s3LocationHasBeenSet = true; m_s3Location = value; } /** *The S3 location of the output reports.
*/ inline void SetS3Location(BusinessReportS3Location&& value) { m_s3LocationHasBeenSet = true; m_s3Location = std::move(value); } /** *The S3 location of the output reports.
*/ inline BusinessReport& WithS3Location(const BusinessReportS3Location& value) { SetS3Location(value); return *this;} /** *The S3 location of the output reports.
*/ inline BusinessReport& WithS3Location(BusinessReportS3Location&& value) { SetS3Location(std::move(value)); return *this;} /** *The time of report delivery.
*/ inline const Aws::Utils::DateTime& GetDeliveryTime() const{ return m_deliveryTime; } /** *The time of report delivery.
*/ inline bool DeliveryTimeHasBeenSet() const { return m_deliveryTimeHasBeenSet; } /** *The time of report delivery.
*/ inline void SetDeliveryTime(const Aws::Utils::DateTime& value) { m_deliveryTimeHasBeenSet = true; m_deliveryTime = value; } /** *The time of report delivery.
*/ inline void SetDeliveryTime(Aws::Utils::DateTime&& value) { m_deliveryTimeHasBeenSet = true; m_deliveryTime = std::move(value); } /** *The time of report delivery.
*/ inline BusinessReport& WithDeliveryTime(const Aws::Utils::DateTime& value) { SetDeliveryTime(value); return *this;} /** *The time of report delivery.
*/ inline BusinessReport& WithDeliveryTime(Aws::Utils::DateTime&& value) { SetDeliveryTime(std::move(value)); return *this;} /** *The download link where a user can download the report.
*/ inline const Aws::String& GetDownloadUrl() const{ return m_downloadUrl; } /** *The download link where a user can download the report.
*/ inline bool DownloadUrlHasBeenSet() const { return m_downloadUrlHasBeenSet; } /** *The download link where a user can download the report.
*/ inline void SetDownloadUrl(const Aws::String& value) { m_downloadUrlHasBeenSet = true; m_downloadUrl = value; } /** *The download link where a user can download the report.
*/ inline void SetDownloadUrl(Aws::String&& value) { m_downloadUrlHasBeenSet = true; m_downloadUrl = std::move(value); } /** *The download link where a user can download the report.
*/ inline void SetDownloadUrl(const char* value) { m_downloadUrlHasBeenSet = true; m_downloadUrl.assign(value); } /** *The download link where a user can download the report.
*/ inline BusinessReport& WithDownloadUrl(const Aws::String& value) { SetDownloadUrl(value); return *this;} /** *The download link where a user can download the report.
*/ inline BusinessReport& WithDownloadUrl(Aws::String&& value) { SetDownloadUrl(std::move(value)); return *this;} /** *The download link where a user can download the report.
*/ inline BusinessReport& WithDownloadUrl(const char* value) { SetDownloadUrl(value); return *this;} private: BusinessReportStatus m_status; bool m_statusHasBeenSet = false; BusinessReportFailureCode m_failureCode; bool m_failureCodeHasBeenSet = false; BusinessReportS3Location m_s3Location; bool m_s3LocationHasBeenSet = false; Aws::Utils::DateTime m_deliveryTime; bool m_deliveryTimeHasBeenSet = false; Aws::String m_downloadUrl; bool m_downloadUrlHasBeenSet = false; }; } // namespace Model } // namespace AlexaForBusiness } // namespace Aws