/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace TimestreamWrite { namespace Model { /** *

Report configuration for a batch load task. This contains details about where * error reports are stored.

See Also:

AWS * API Reference

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

Configuration of an S3 location to write error reports and events for a batch * load.

*/ inline const ReportS3Configuration& GetReportS3Configuration() const{ return m_reportS3Configuration; } /** *

Configuration of an S3 location to write error reports and events for a batch * load.

*/ inline bool ReportS3ConfigurationHasBeenSet() const { return m_reportS3ConfigurationHasBeenSet; } /** *

Configuration of an S3 location to write error reports and events for a batch * load.

*/ inline void SetReportS3Configuration(const ReportS3Configuration& value) { m_reportS3ConfigurationHasBeenSet = true; m_reportS3Configuration = value; } /** *

Configuration of an S3 location to write error reports and events for a batch * load.

*/ inline void SetReportS3Configuration(ReportS3Configuration&& value) { m_reportS3ConfigurationHasBeenSet = true; m_reportS3Configuration = std::move(value); } /** *

Configuration of an S3 location to write error reports and events for a batch * load.

*/ inline ReportConfiguration& WithReportS3Configuration(const ReportS3Configuration& value) { SetReportS3Configuration(value); return *this;} /** *

Configuration of an S3 location to write error reports and events for a batch * load.

*/ inline ReportConfiguration& WithReportS3Configuration(ReportS3Configuration&& value) { SetReportS3Configuration(std::move(value)); return *this;} private: ReportS3Configuration m_reportS3Configuration; bool m_reportS3ConfigurationHasBeenSet = false; }; } // namespace Model } // namespace TimestreamWrite } // namespace Aws