/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A union type containing information related to the trigger.See
* Also:
AWS
* API Reference
Data associated with the QUERY RecommendationTriggerType.
*/ inline const QueryRecommendationTriggerData& GetQuery() const{ return m_query; } /** *Data associated with the QUERY RecommendationTriggerType.
*/ inline bool QueryHasBeenSet() const { return m_queryHasBeenSet; } /** *Data associated with the QUERY RecommendationTriggerType.
*/ inline void SetQuery(const QueryRecommendationTriggerData& value) { m_queryHasBeenSet = true; m_query = value; } /** *Data associated with the QUERY RecommendationTriggerType.
*/ inline void SetQuery(QueryRecommendationTriggerData&& value) { m_queryHasBeenSet = true; m_query = std::move(value); } /** *Data associated with the QUERY RecommendationTriggerType.
*/ inline RecommendationTriggerData& WithQuery(const QueryRecommendationTriggerData& value) { SetQuery(value); return *this;} /** *Data associated with the QUERY RecommendationTriggerType.
*/ inline RecommendationTriggerData& WithQuery(QueryRecommendationTriggerData&& value) { SetQuery(std::move(value)); return *this;} private: QueryRecommendationTriggerData m_query; bool m_queryHasBeenSet = false; }; } // namespace Model } // namespace ConnectWisdomService } // namespace Aws