/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about one of the entities found by targeted sentiment
* analysis. For more information about targeted sentiment, see Targeted
* sentiment.See Also:
AWS
* API Reference
One or more index into the Mentions array that provides the best name for the * entity group.
*/ inline const Aws::VectorOne or more index into the Mentions array that provides the best name for the * entity group.
*/ inline bool DescriptiveMentionIndexHasBeenSet() const { return m_descriptiveMentionIndexHasBeenSet; } /** *One or more index into the Mentions array that provides the best name for the * entity group.
*/ inline void SetDescriptiveMentionIndex(const Aws::VectorOne or more index into the Mentions array that provides the best name for the * entity group.
*/ inline void SetDescriptiveMentionIndex(Aws::VectorOne or more index into the Mentions array that provides the best name for the * entity group.
*/ inline TargetedSentimentEntity& WithDescriptiveMentionIndex(const Aws::VectorOne or more index into the Mentions array that provides the best name for the * entity group.
*/ inline TargetedSentimentEntity& WithDescriptiveMentionIndex(Aws::VectorOne or more index into the Mentions array that provides the best name for the * entity group.
*/ inline TargetedSentimentEntity& AddDescriptiveMentionIndex(int value) { m_descriptiveMentionIndexHasBeenSet = true; m_descriptiveMentionIndex.push_back(value); return *this; } /** *An array of mentions of the entity in the document. The array represents a * co-reference group. See * Co-reference group for an example.
*/ inline const Aws::VectorAn array of mentions of the entity in the document. The array represents a * co-reference group. See * Co-reference group for an example.
*/ inline bool MentionsHasBeenSet() const { return m_mentionsHasBeenSet; } /** *An array of mentions of the entity in the document. The array represents a * co-reference group. See * Co-reference group for an example.
*/ inline void SetMentions(const Aws::VectorAn array of mentions of the entity in the document. The array represents a * co-reference group. See * Co-reference group for an example.
*/ inline void SetMentions(Aws::VectorAn array of mentions of the entity in the document. The array represents a * co-reference group. See * Co-reference group for an example.
*/ inline TargetedSentimentEntity& WithMentions(const Aws::VectorAn array of mentions of the entity in the document. The array represents a * co-reference group. See * Co-reference group for an example.
*/ inline TargetedSentimentEntity& WithMentions(Aws::VectorAn array of mentions of the entity in the document. The array represents a * co-reference group. See * Co-reference group for an example.
*/ inline TargetedSentimentEntity& AddMentions(const TargetedSentimentMention& value) { m_mentionsHasBeenSet = true; m_mentions.push_back(value); return *this; } /** *An array of mentions of the entity in the document. The array represents a * co-reference group. See * Co-reference group for an example.
*/ inline TargetedSentimentEntity& AddMentions(TargetedSentimentMention&& value) { m_mentionsHasBeenSet = true; m_mentions.push_back(std::move(value)); return *this; } private: Aws::Vector