/** * 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 { /** *

This contains the location of the error report for a single scheduled query * call.

See Also:

AWS * API Reference

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

The S3 location where error reports are written.

*/ inline const S3ReportLocation& GetS3ReportLocation() const{ return m_s3ReportLocation; } /** *

The S3 location where error reports are written.

*/ inline bool S3ReportLocationHasBeenSet() const { return m_s3ReportLocationHasBeenSet; } /** *

The S3 location where error reports are written.

*/ inline void SetS3ReportLocation(const S3ReportLocation& value) { m_s3ReportLocationHasBeenSet = true; m_s3ReportLocation = value; } /** *

The S3 location where error reports are written.

*/ inline void SetS3ReportLocation(S3ReportLocation&& value) { m_s3ReportLocationHasBeenSet = true; m_s3ReportLocation = std::move(value); } /** *

The S3 location where error reports are written.

*/ inline ErrorReportLocation& WithS3ReportLocation(const S3ReportLocation& value) { SetS3ReportLocation(value); return *this;} /** *

The S3 location where error reports are written.

*/ inline ErrorReportLocation& WithS3ReportLocation(S3ReportLocation&& value) { SetS3ReportLocation(std::move(value)); return *this;} private: S3ReportLocation m_s3ReportLocation; bool m_s3ReportLocationHasBeenSet = false; }; } // namespace Model } // namespace TimestreamQuery } // namespace Aws