7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/kendra/Kendra_EXPORTS.h>
10#include <aws/kendra/model/ConflictingItem.h>
45 template <
typename MessageT = Aws::String>
47 m_messageHasBeenSet =
true;
48 m_message = std::forward<MessageT>(value);
50 template <
typename MessageT = Aws::String>
64 template <
typename ConflictingItemsT = Aws::Vector<ConflictingItem>>
66 m_conflictingItemsHasBeenSet =
true;
67 m_conflictingItems = std::forward<ConflictingItemsT>(value);
69 template <
typename ConflictingItemsT = Aws::Vector<ConflictingItem>>
74 template <
typename ConflictingItemsT = ConflictingItem>
76 m_conflictingItemsHasBeenSet =
true;
77 m_conflictingItems.emplace_back(std::forward<ConflictingItemsT>(value));
85 bool m_messageHasBeenSet =
false;
86 bool m_conflictingItemsHasBeenSet =
false;
AWS_KENDRA_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< ConflictingItem > & GetConflictingItems() const
FeaturedResultsConflictException & AddConflictingItems(ConflictingItemsT &&value)
bool ConflictingItemsHasBeenSet() const
bool MessageHasBeenSet() const
void SetMessage(MessageT &&value)
AWS_KENDRA_API FeaturedResultsConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
FeaturedResultsConflictException & WithConflictingItems(ConflictingItemsT &&value)
FeaturedResultsConflictException & WithMessage(MessageT &&value)
AWS_KENDRA_API FeaturedResultsConflictException()=default
const Aws::String & GetMessage() const
AWS_KENDRA_API FeaturedResultsConflictException(Aws::Utils::Json::JsonView jsonValue)
void SetConflictingItems(ConflictingItemsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue