/** * 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 settings that you want to use with the Q search bar.

See * Also:

AWS * API Reference

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

The QuickSight Q topic ID of the topic that you want the anonymous user to * see first. This ID is included in the output URL. When the URL in response is * accessed, Amazon QuickSight renders the Q search bar with this topic * pre-selected.

The Amazon Resource Name (ARN) of this Q topic must be * included in the AuthorizedResourceArns parameter. Otherwise, the * request will fail with InvalidParameterValueException.

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

The QuickSight Q topic ID of the topic that you want the anonymous user to * see first. This ID is included in the output URL. When the URL in response is * accessed, Amazon QuickSight renders the Q search bar with this topic * pre-selected.

The Amazon Resource Name (ARN) of this Q topic must be * included in the AuthorizedResourceArns parameter. Otherwise, the * request will fail with InvalidParameterValueException.

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

The QuickSight Q topic ID of the topic that you want the anonymous user to * see first. This ID is included in the output URL. When the URL in response is * accessed, Amazon QuickSight renders the Q search bar with this topic * pre-selected.

The Amazon Resource Name (ARN) of this Q topic must be * included in the AuthorizedResourceArns parameter. Otherwise, the * request will fail with InvalidParameterValueException.

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

The QuickSight Q topic ID of the topic that you want the anonymous user to * see first. This ID is included in the output URL. When the URL in response is * accessed, Amazon QuickSight renders the Q search bar with this topic * pre-selected.

The Amazon Resource Name (ARN) of this Q topic must be * included in the AuthorizedResourceArns parameter. Otherwise, the * request will fail with InvalidParameterValueException.

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

The QuickSight Q topic ID of the topic that you want the anonymous user to * see first. This ID is included in the output URL. When the URL in response is * accessed, Amazon QuickSight renders the Q search bar with this topic * pre-selected.

The Amazon Resource Name (ARN) of this Q topic must be * included in the AuthorizedResourceArns parameter. Otherwise, the * request will fail with InvalidParameterValueException.

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

The QuickSight Q topic ID of the topic that you want the anonymous user to * see first. This ID is included in the output URL. When the URL in response is * accessed, Amazon QuickSight renders the Q search bar with this topic * pre-selected.

The Amazon Resource Name (ARN) of this Q topic must be * included in the AuthorizedResourceArns parameter. Otherwise, the * request will fail with InvalidParameterValueException.

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

The QuickSight Q topic ID of the topic that you want the anonymous user to * see first. This ID is included in the output URL. When the URL in response is * accessed, Amazon QuickSight renders the Q search bar with this topic * pre-selected.

The Amazon Resource Name (ARN) of this Q topic must be * included in the AuthorizedResourceArns parameter. Otherwise, the * request will fail with InvalidParameterValueException.

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

The QuickSight Q topic ID of the topic that you want the anonymous user to * see first. This ID is included in the output URL. When the URL in response is * accessed, Amazon QuickSight renders the Q search bar with this topic * pre-selected.

The Amazon Resource Name (ARN) of this Q topic must be * included in the AuthorizedResourceArns parameter. Otherwise, the * request will fail with InvalidParameterValueException.

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