/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

The usage configuration to apply to child datasets that reference this * dataset as a source.

See Also:

AWS * API Reference

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

An option that controls whether a child dataset of a direct query can use * this dataset as a source.

*/ inline bool GetDisableUseAsDirectQuerySource() const{ return m_disableUseAsDirectQuerySource; } /** *

An option that controls whether a child dataset of a direct query can use * this dataset as a source.

*/ inline bool DisableUseAsDirectQuerySourceHasBeenSet() const { return m_disableUseAsDirectQuerySourceHasBeenSet; } /** *

An option that controls whether a child dataset of a direct query can use * this dataset as a source.

*/ inline void SetDisableUseAsDirectQuerySource(bool value) { m_disableUseAsDirectQuerySourceHasBeenSet = true; m_disableUseAsDirectQuerySource = value; } /** *

An option that controls whether a child dataset of a direct query can use * this dataset as a source.

*/ inline DataSetUsageConfiguration& WithDisableUseAsDirectQuerySource(bool value) { SetDisableUseAsDirectQuerySource(value); return *this;} /** *

An option that controls whether a child dataset that's stored in QuickSight * can use this dataset as a source.

*/ inline bool GetDisableUseAsImportedSource() const{ return m_disableUseAsImportedSource; } /** *

An option that controls whether a child dataset that's stored in QuickSight * can use this dataset as a source.

*/ inline bool DisableUseAsImportedSourceHasBeenSet() const { return m_disableUseAsImportedSourceHasBeenSet; } /** *

An option that controls whether a child dataset that's stored in QuickSight * can use this dataset as a source.

*/ inline void SetDisableUseAsImportedSource(bool value) { m_disableUseAsImportedSourceHasBeenSet = true; m_disableUseAsImportedSource = value; } /** *

An option that controls whether a child dataset that's stored in QuickSight * can use this dataset as a source.

*/ inline DataSetUsageConfiguration& WithDisableUseAsImportedSource(bool value) { SetDisableUseAsImportedSource(value); return *this;} private: bool m_disableUseAsDirectQuerySource; bool m_disableUseAsDirectQuerySourceHasBeenSet = false; bool m_disableUseAsImportedSource; bool m_disableUseAsImportedSourceHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws