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

The configuration of the placeholder options in a text control.

See * Also:

AWS * API Reference

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

The visibility configuration of the placeholder options in a text * control.

*/ inline const Visibility& GetVisibility() const{ return m_visibility; } /** *

The visibility configuration of the placeholder options in a text * control.

*/ inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; } /** *

The visibility configuration of the placeholder options in a text * control.

*/ inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; } /** *

The visibility configuration of the placeholder options in a text * control.

*/ inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); } /** *

The visibility configuration of the placeholder options in a text * control.

*/ inline TextControlPlaceholderOptions& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;} /** *

The visibility configuration of the placeholder options in a text * control.

*/ inline TextControlPlaceholderOptions& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;} private: Visibility m_visibility; bool m_visibilityHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws