/** * 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 Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace CodeBuild { namespace Model { /** *

Information about the location where the run of a report is exported. *

See Also:

AWS * API Reference

*/ class ReportExportConfig { public: AWS_CODEBUILD_API ReportExportConfig(); AWS_CODEBUILD_API ReportExportConfig(Aws::Utils::Json::JsonView jsonValue); AWS_CODEBUILD_API ReportExportConfig& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_CODEBUILD_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The export configuration type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline const ReportExportConfigType& GetExportConfigType() const{ return m_exportConfigType; } /** *

The export configuration type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline bool ExportConfigTypeHasBeenSet() const { return m_exportConfigTypeHasBeenSet; } /** *

The export configuration type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline void SetExportConfigType(const ReportExportConfigType& value) { m_exportConfigTypeHasBeenSet = true; m_exportConfigType = value; } /** *

The export configuration type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline void SetExportConfigType(ReportExportConfigType&& value) { m_exportConfigTypeHasBeenSet = true; m_exportConfigType = std::move(value); } /** *

The export configuration type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline ReportExportConfig& WithExportConfigType(const ReportExportConfigType& value) { SetExportConfigType(value); return *this;} /** *

The export configuration type. Valid values are:

  • * S3: The report results are exported to an S3 bucket.

  • *
  • NO_EXPORT: The report results are not exported.

  • *
*/ inline ReportExportConfig& WithExportConfigType(ReportExportConfigType&& value) { SetExportConfigType(std::move(value)); return *this;} /** *

A S3ReportExportConfig object that contains information about * the S3 bucket where the run of a report is exported.

*/ inline const S3ReportExportConfig& GetS3Destination() const{ return m_s3Destination; } /** *

A S3ReportExportConfig object that contains information about * the S3 bucket where the run of a report is exported.

*/ inline bool S3DestinationHasBeenSet() const { return m_s3DestinationHasBeenSet; } /** *

A S3ReportExportConfig object that contains information about * the S3 bucket where the run of a report is exported.

*/ inline void SetS3Destination(const S3ReportExportConfig& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = value; } /** *

A S3ReportExportConfig object that contains information about * the S3 bucket where the run of a report is exported.

*/ inline void SetS3Destination(S3ReportExportConfig&& value) { m_s3DestinationHasBeenSet = true; m_s3Destination = std::move(value); } /** *

A S3ReportExportConfig object that contains information about * the S3 bucket where the run of a report is exported.

*/ inline ReportExportConfig& WithS3Destination(const S3ReportExportConfig& value) { SetS3Destination(value); return *this;} /** *

A S3ReportExportConfig object that contains information about * the S3 bucket where the run of a report is exported.

*/ inline ReportExportConfig& WithS3Destination(S3ReportExportConfig&& value) { SetS3Destination(std::move(value)); return *this;} private: ReportExportConfigType m_exportConfigType; bool m_exportConfigTypeHasBeenSet = false; S3ReportExportConfig m_s3Destination; bool m_s3DestinationHasBeenSet = false; }; } // namespace Model } // namespace CodeBuild } // namespace Aws