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

The link configuration of a table field URL.

See Also:

AWS * API Reference

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

The URL target (new tab, new window, same tab) for the table link * configuration.

*/ inline const URLTargetConfiguration& GetTarget() const{ return m_target; } /** *

The URL target (new tab, new window, same tab) for the table link * configuration.

*/ inline bool TargetHasBeenSet() const { return m_targetHasBeenSet; } /** *

The URL target (new tab, new window, same tab) for the table link * configuration.

*/ inline void SetTarget(const URLTargetConfiguration& value) { m_targetHasBeenSet = true; m_target = value; } /** *

The URL target (new tab, new window, same tab) for the table link * configuration.

*/ inline void SetTarget(URLTargetConfiguration&& value) { m_targetHasBeenSet = true; m_target = std::move(value); } /** *

The URL target (new tab, new window, same tab) for the table link * configuration.

*/ inline TableFieldLinkConfiguration& WithTarget(const URLTargetConfiguration& value) { SetTarget(value); return *this;} /** *

The URL target (new tab, new window, same tab) for the table link * configuration.

*/ inline TableFieldLinkConfiguration& WithTarget(URLTargetConfiguration&& value) { SetTarget(std::move(value)); return *this;} /** *

The URL content (text, icon) for the table link configuration.

*/ inline const TableFieldLinkContentConfiguration& GetContent() const{ return m_content; } /** *

The URL content (text, icon) for the table link configuration.

*/ inline bool ContentHasBeenSet() const { return m_contentHasBeenSet; } /** *

The URL content (text, icon) for the table link configuration.

*/ inline void SetContent(const TableFieldLinkContentConfiguration& value) { m_contentHasBeenSet = true; m_content = value; } /** *

The URL content (text, icon) for the table link configuration.

*/ inline void SetContent(TableFieldLinkContentConfiguration&& value) { m_contentHasBeenSet = true; m_content = std::move(value); } /** *

The URL content (text, icon) for the table link configuration.

*/ inline TableFieldLinkConfiguration& WithContent(const TableFieldLinkContentConfiguration& value) { SetContent(value); return *this;} /** *

The URL content (text, icon) for the table link configuration.

*/ inline TableFieldLinkConfiguration& WithContent(TableFieldLinkContentConfiguration&& value) { SetContent(std::move(value)); return *this;} private: URLTargetConfiguration m_target; bool m_targetHasBeenSet = false; TableFieldLinkContentConfiguration m_content; bool m_contentHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws