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

Details about the query results.

See Also:

AWS * API Reference

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

The output of the protected query.

*/ inline const ProtectedQueryOutput& GetOutput() const{ return m_output; } /** *

The output of the protected query.

*/ inline bool OutputHasBeenSet() const { return m_outputHasBeenSet; } /** *

The output of the protected query.

*/ inline void SetOutput(const ProtectedQueryOutput& value) { m_outputHasBeenSet = true; m_output = value; } /** *

The output of the protected query.

*/ inline void SetOutput(ProtectedQueryOutput&& value) { m_outputHasBeenSet = true; m_output = std::move(value); } /** *

The output of the protected query.

*/ inline ProtectedQueryResult& WithOutput(const ProtectedQueryOutput& value) { SetOutput(value); return *this;} /** *

The output of the protected query.

*/ inline ProtectedQueryResult& WithOutput(ProtectedQueryOutput&& value) { SetOutput(std::move(value)); return *this;} private: ProtectedQueryOutput m_output; bool m_outputHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws