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

Information about the Q search bar embedding experience.

See * Also:

AWS * API Reference

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

The ID of the Q topic that you want to make the starting topic in the Q * search bar. You can find a topic ID by navigating to the Topics pane in the * Amazon QuickSight application and opening a topic. The ID is in the URL for the * topic that you open.

If you don't specify an initial topic, a list of all * shared topics is shown in the Q bar for your readers. When you select an initial * topic, you can specify whether or not readers are allowed to select other topics * from the available ones in the list.

*/ inline const Aws::String& GetInitialTopicId() const{ return m_initialTopicId; } /** *

The ID of the Q topic that you want to make the starting topic in the Q * search bar. You can find a topic ID by navigating to the Topics pane in the * Amazon QuickSight application and opening a topic. The ID is in the URL for the * topic that you open.

If you don't specify an initial topic, a list of all * shared topics is shown in the Q bar for your readers. When you select an initial * topic, you can specify whether or not readers are allowed to select other topics * from the available ones in the list.

*/ inline bool InitialTopicIdHasBeenSet() const { return m_initialTopicIdHasBeenSet; } /** *

The ID of the Q topic that you want to make the starting topic in the Q * search bar. You can find a topic ID by navigating to the Topics pane in the * Amazon QuickSight application and opening a topic. The ID is in the URL for the * topic that you open.

If you don't specify an initial topic, a list of all * shared topics is shown in the Q bar for your readers. When you select an initial * topic, you can specify whether or not readers are allowed to select other topics * from the available ones in the list.

*/ inline void SetInitialTopicId(const Aws::String& value) { m_initialTopicIdHasBeenSet = true; m_initialTopicId = value; } /** *

The ID of the Q topic that you want to make the starting topic in the Q * search bar. You can find a topic ID by navigating to the Topics pane in the * Amazon QuickSight application and opening a topic. The ID is in the URL for the * topic that you open.

If you don't specify an initial topic, a list of all * shared topics is shown in the Q bar for your readers. When you select an initial * topic, you can specify whether or not readers are allowed to select other topics * from the available ones in the list.

*/ inline void SetInitialTopicId(Aws::String&& value) { m_initialTopicIdHasBeenSet = true; m_initialTopicId = std::move(value); } /** *

The ID of the Q topic that you want to make the starting topic in the Q * search bar. You can find a topic ID by navigating to the Topics pane in the * Amazon QuickSight application and opening a topic. The ID is in the URL for the * topic that you open.

If you don't specify an initial topic, a list of all * shared topics is shown in the Q bar for your readers. When you select an initial * topic, you can specify whether or not readers are allowed to select other topics * from the available ones in the list.

*/ inline void SetInitialTopicId(const char* value) { m_initialTopicIdHasBeenSet = true; m_initialTopicId.assign(value); } /** *

The ID of the Q topic that you want to make the starting topic in the Q * search bar. You can find a topic ID by navigating to the Topics pane in the * Amazon QuickSight application and opening a topic. The ID is in the URL for the * topic that you open.

If you don't specify an initial topic, a list of all * shared topics is shown in the Q bar for your readers. When you select an initial * topic, you can specify whether or not readers are allowed to select other topics * from the available ones in the list.

*/ inline RegisteredUserQSearchBarEmbeddingConfiguration& WithInitialTopicId(const Aws::String& value) { SetInitialTopicId(value); return *this;} /** *

The ID of the Q topic that you want to make the starting topic in the Q * search bar. You can find a topic ID by navigating to the Topics pane in the * Amazon QuickSight application and opening a topic. The ID is in the URL for the * topic that you open.

If you don't specify an initial topic, a list of all * shared topics is shown in the Q bar for your readers. When you select an initial * topic, you can specify whether or not readers are allowed to select other topics * from the available ones in the list.

*/ inline RegisteredUserQSearchBarEmbeddingConfiguration& WithInitialTopicId(Aws::String&& value) { SetInitialTopicId(std::move(value)); return *this;} /** *

The ID of the Q topic that you want to make the starting topic in the Q * search bar. You can find a topic ID by navigating to the Topics pane in the * Amazon QuickSight application and opening a topic. The ID is in the URL for the * topic that you open.

If you don't specify an initial topic, a list of all * shared topics is shown in the Q bar for your readers. When you select an initial * topic, you can specify whether or not readers are allowed to select other topics * from the available ones in the list.

*/ inline RegisteredUserQSearchBarEmbeddingConfiguration& WithInitialTopicId(const char* value) { SetInitialTopicId(value); return *this;} private: Aws::String m_initialTopicId; bool m_initialTopicIdHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws