/** * 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 output information for protected queries with an S3 output * type.

See Also:

AWS * API Reference

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

The S3 location of the result.

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

The S3 location of the result.

*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *

The S3 location of the result.

*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *

The S3 location of the result.

*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *

The S3 location of the result.

*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *

The S3 location of the result.

*/ inline ProtectedQueryS3Output& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

The S3 location of the result.

*/ inline ProtectedQueryS3Output& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

The S3 location of the result.

*/ inline ProtectedQueryS3Output& WithLocation(const char* value) { SetLocation(value); return *this;} private: Aws::String m_location; bool m_locationHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws