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

Data associated with the QUERY RecommendationTriggerType.

See * Also:

AWS * API Reference

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

The text associated with the recommendation trigger.

*/ inline const Aws::String& GetText() const{ return m_text; } /** *

The text associated with the recommendation trigger.

*/ inline bool TextHasBeenSet() const { return m_textHasBeenSet; } /** *

The text associated with the recommendation trigger.

*/ inline void SetText(const Aws::String& value) { m_textHasBeenSet = true; m_text = value; } /** *

The text associated with the recommendation trigger.

*/ inline void SetText(Aws::String&& value) { m_textHasBeenSet = true; m_text = std::move(value); } /** *

The text associated with the recommendation trigger.

*/ inline void SetText(const char* value) { m_textHasBeenSet = true; m_text.assign(value); } /** *

The text associated with the recommendation trigger.

*/ inline QueryRecommendationTriggerData& WithText(const Aws::String& value) { SetText(value); return *this;} /** *

The text associated with the recommendation trigger.

*/ inline QueryRecommendationTriggerData& WithText(Aws::String&& value) { SetText(std::move(value)); return *this;} /** *

The text associated with the recommendation trigger.

*/ inline QueryRecommendationTriggerData& WithText(const char* value) { SetText(value); return *this;} private: Aws::String m_text; bool m_textHasBeenSet = false; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws