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

Contains details about the protected query output.

See Also:

* AWS * API Reference

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

If present, the output for a protected query with an `S3` output type.

*/ inline const ProtectedQueryS3Output& GetS3() const{ return m_s3; } /** *

If present, the output for a protected query with an `S3` output type.

*/ inline bool S3HasBeenSet() const { return m_s3HasBeenSet; } /** *

If present, the output for a protected query with an `S3` output type.

*/ inline void SetS3(const ProtectedQueryS3Output& value) { m_s3HasBeenSet = true; m_s3 = value; } /** *

If present, the output for a protected query with an `S3` output type.

*/ inline void SetS3(ProtectedQueryS3Output&& value) { m_s3HasBeenSet = true; m_s3 = std::move(value); } /** *

If present, the output for a protected query with an `S3` output type.

*/ inline ProtectedQueryOutput& WithS3(const ProtectedQueryS3Output& value) { SetS3(value); return *this;} /** *

If present, the output for a protected query with an `S3` output type.

*/ inline ProtectedQueryOutput& WithS3(ProtectedQueryS3Output&& value) { SetS3(std::move(value)); return *this;} private: ProtectedQueryS3Output m_s3; bool m_s3HasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws