/** * 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 TimestreamQuery { namespace Model { /** *

Configuration required for error reporting.

See Also:

AWS * API Reference

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

The S3 configuration for the error reports.

*/ inline const S3Configuration& GetS3Configuration() const{ return m_s3Configuration; } /** *

The S3 configuration for the error reports.

*/ inline bool S3ConfigurationHasBeenSet() const { return m_s3ConfigurationHasBeenSet; } /** *

The S3 configuration for the error reports.

*/ inline void SetS3Configuration(const S3Configuration& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = value; } /** *

The S3 configuration for the error reports.

*/ inline void SetS3Configuration(S3Configuration&& value) { m_s3ConfigurationHasBeenSet = true; m_s3Configuration = std::move(value); } /** *

The S3 configuration for the error reports.

*/ inline ErrorReportConfiguration& WithS3Configuration(const S3Configuration& value) { SetS3Configuration(value); return *this;} /** *

The S3 configuration for the error reports.

*/ inline ErrorReportConfiguration& WithS3Configuration(S3Configuration&& value) { SetS3Configuration(std::move(value)); return *this;} private: S3Configuration m_s3Configuration; bool m_s3ConfigurationHasBeenSet = false; }; } // namespace Model } // namespace TimestreamQuery } // namespace Aws