/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Data associated with the QUERY RecommendationTriggerType.See
* Also:
AWS
* API Reference
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