/** * 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 URL operation that opens a link to another webpage.

See * Also:

AWS * API Reference

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

THe URL link of the CustomActionURLOperation.

*/ inline const Aws::String& GetURLTemplate() const{ return m_uRLTemplate; } /** *

THe URL link of the CustomActionURLOperation.

*/ inline bool URLTemplateHasBeenSet() const { return m_uRLTemplateHasBeenSet; } /** *

THe URL link of the CustomActionURLOperation.

*/ inline void SetURLTemplate(const Aws::String& value) { m_uRLTemplateHasBeenSet = true; m_uRLTemplate = value; } /** *

THe URL link of the CustomActionURLOperation.

*/ inline void SetURLTemplate(Aws::String&& value) { m_uRLTemplateHasBeenSet = true; m_uRLTemplate = std::move(value); } /** *

THe URL link of the CustomActionURLOperation.

*/ inline void SetURLTemplate(const char* value) { m_uRLTemplateHasBeenSet = true; m_uRLTemplate.assign(value); } /** *

THe URL link of the CustomActionURLOperation.

*/ inline CustomActionURLOperation& WithURLTemplate(const Aws::String& value) { SetURLTemplate(value); return *this;} /** *

THe URL link of the CustomActionURLOperation.

*/ inline CustomActionURLOperation& WithURLTemplate(Aws::String&& value) { SetURLTemplate(std::move(value)); return *this;} /** *

THe URL link of the CustomActionURLOperation.

*/ inline CustomActionURLOperation& WithURLTemplate(const char* value) { SetURLTemplate(value); return *this;} /** *

The target of the CustomActionURLOperation.

Valid values * are defined as follows:

  • NEW_TAB: Opens the target * URL in a new browser tab.

  • NEW_WINDOW: Opens the * target URL in a new browser window.

  • SAME_TAB: * Opens the target URL in the same browser tab.

*/ inline const URLTargetConfiguration& GetURLTarget() const{ return m_uRLTarget; } /** *

The target of the CustomActionURLOperation.

Valid values * are defined as follows:

  • NEW_TAB: Opens the target * URL in a new browser tab.

  • NEW_WINDOW: Opens the * target URL in a new browser window.

  • SAME_TAB: * Opens the target URL in the same browser tab.

*/ inline bool URLTargetHasBeenSet() const { return m_uRLTargetHasBeenSet; } /** *

The target of the CustomActionURLOperation.

Valid values * are defined as follows:

  • NEW_TAB: Opens the target * URL in a new browser tab.

  • NEW_WINDOW: Opens the * target URL in a new browser window.

  • SAME_TAB: * Opens the target URL in the same browser tab.

*/ inline void SetURLTarget(const URLTargetConfiguration& value) { m_uRLTargetHasBeenSet = true; m_uRLTarget = value; } /** *

The target of the CustomActionURLOperation.

Valid values * are defined as follows:

  • NEW_TAB: Opens the target * URL in a new browser tab.

  • NEW_WINDOW: Opens the * target URL in a new browser window.

  • SAME_TAB: * Opens the target URL in the same browser tab.

*/ inline void SetURLTarget(URLTargetConfiguration&& value) { m_uRLTargetHasBeenSet = true; m_uRLTarget = std::move(value); } /** *

The target of the CustomActionURLOperation.

Valid values * are defined as follows:

  • NEW_TAB: Opens the target * URL in a new browser tab.

  • NEW_WINDOW: Opens the * target URL in a new browser window.

  • SAME_TAB: * Opens the target URL in the same browser tab.

*/ inline CustomActionURLOperation& WithURLTarget(const URLTargetConfiguration& value) { SetURLTarget(value); return *this;} /** *

The target of the CustomActionURLOperation.

Valid values * are defined as follows:

  • NEW_TAB: Opens the target * URL in a new browser tab.

  • NEW_WINDOW: Opens the * target URL in a new browser window.

  • SAME_TAB: * Opens the target URL in the same browser tab.

*/ inline CustomActionURLOperation& WithURLTarget(URLTargetConfiguration&& value) { SetURLTarget(std::move(value)); return *this;} private: Aws::String m_uRLTemplate; bool m_uRLTemplateHasBeenSet = false; URLTargetConfiguration m_uRLTarget; bool m_uRLTargetHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws