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

A pointer to the dataset that underlies this table. Currently, this can only * be an Glue table.

See Also:

AWS * API Reference

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

If present, a reference to the Glue table referred to by this table * reference.

*/ inline const GlueTableReference& GetGlue() const{ return m_glue; } /** *

If present, a reference to the Glue table referred to by this table * reference.

*/ inline bool GlueHasBeenSet() const { return m_glueHasBeenSet; } /** *

If present, a reference to the Glue table referred to by this table * reference.

*/ inline void SetGlue(const GlueTableReference& value) { m_glueHasBeenSet = true; m_glue = value; } /** *

If present, a reference to the Glue table referred to by this table * reference.

*/ inline void SetGlue(GlueTableReference&& value) { m_glueHasBeenSet = true; m_glue = std::move(value); } /** *

If present, a reference to the Glue table referred to by this table * reference.

*/ inline TableReference& WithGlue(const GlueTableReference& value) { SetGlue(value); return *this;} /** *

If present, a reference to the Glue table referred to by this table * reference.

*/ inline TableReference& WithGlue(GlueTableReference&& value) { SetGlue(std::move(value)); return *this;} private: GlueTableReference m_glue; bool m_glueHasBeenSet = false; }; } // namespace Model } // namespace CleanRooms } // namespace Aws