/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An error message with a list of conflicting queries used across different
* sets of featured results. This occurred with the request for a new featured
* results set. Check that the queries you specified for featured results are
* unique per featured results set for each index.See Also:
AWS
* API Reference
An explanation for the conflicting queries.
*/ inline const Aws::String& GetMessage() const{ return m_message; } /** *An explanation for the conflicting queries.
*/ inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; } /** *An explanation for the conflicting queries.
*/ inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; } /** *An explanation for the conflicting queries.
*/ inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); } /** *An explanation for the conflicting queries.
*/ inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); } /** *An explanation for the conflicting queries.
*/ inline FeaturedResultsConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;} /** *An explanation for the conflicting queries.
*/ inline FeaturedResultsConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;} /** *An explanation for the conflicting queries.
*/ inline FeaturedResultsConflictException& WithMessage(const char* value) { SetMessage(value); return *this;} /** *A list of the conflicting queries, including the query text, the name for the * featured results set, and the identifier of the featured results set.
*/ inline const Aws::VectorA list of the conflicting queries, including the query text, the name for the * featured results set, and the identifier of the featured results set.
*/ inline bool ConflictingItemsHasBeenSet() const { return m_conflictingItemsHasBeenSet; } /** *A list of the conflicting queries, including the query text, the name for the * featured results set, and the identifier of the featured results set.
*/ inline void SetConflictingItems(const Aws::VectorA list of the conflicting queries, including the query text, the name for the * featured results set, and the identifier of the featured results set.
*/ inline void SetConflictingItems(Aws::VectorA list of the conflicting queries, including the query text, the name for the * featured results set, and the identifier of the featured results set.
*/ inline FeaturedResultsConflictException& WithConflictingItems(const Aws::VectorA list of the conflicting queries, including the query text, the name for the * featured results set, and the identifier of the featured results set.
*/ inline FeaturedResultsConflictException& WithConflictingItems(Aws::VectorA list of the conflicting queries, including the query text, the name for the * featured results set, and the identifier of the featured results set.
*/ inline FeaturedResultsConflictException& AddConflictingItems(const ConflictingItem& value) { m_conflictingItemsHasBeenSet = true; m_conflictingItems.push_back(value); return *this; } /** *A list of the conflicting queries, including the query text, the name for the * featured results set, and the identifier of the featured results set.
*/ inline FeaturedResultsConflictException& AddConflictingItems(ConflictingItem&& value) { m_conflictingItemsHasBeenSet = true; m_conflictingItems.push_back(std::move(value)); return *this; } private: Aws::String m_message; bool m_messageHasBeenSet = false; Aws::Vector