7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/comprehend/model/TargetedSentimentMention.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
46 template <
typename DescriptiveMentionIndexT = Aws::Vector<
int>>
48 m_descriptiveMentionIndexHasBeenSet =
true;
49 m_descriptiveMentionIndex = std::forward<DescriptiveMentionIndexT>(value);
51 template <
typename DescriptiveMentionIndexT = Aws::Vector<
int>>
57 m_descriptiveMentionIndexHasBeenSet =
true;
58 m_descriptiveMentionIndex.push_back(value);
72 template <
typename MentionsT = Aws::Vector<TargetedSentimentMention>>
74 m_mentionsHasBeenSet =
true;
75 m_mentions = std::forward<MentionsT>(value);
77 template <
typename MentionsT = Aws::Vector<TargetedSentimentMention>>
82 template <
typename MentionsT = TargetedSentimentMention>
84 m_mentionsHasBeenSet =
true;
85 m_mentions.emplace_back(std::forward<MentionsT>(value));
93 bool m_descriptiveMentionIndexHasBeenSet =
false;
94 bool m_mentionsHasBeenSet =
false;
bool MentionsHasBeenSet() const
AWS_COMPREHEND_API TargetedSentimentEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< int > & GetDescriptiveMentionIndex() const
AWS_COMPREHEND_API TargetedSentimentEntity(Aws::Utils::Json::JsonView jsonValue)
TargetedSentimentEntity & WithDescriptiveMentionIndex(DescriptiveMentionIndexT &&value)
TargetedSentimentEntity & AddMentions(MentionsT &&value)
void SetDescriptiveMentionIndex(DescriptiveMentionIndexT &&value)
AWS_COMPREHEND_API TargetedSentimentEntity()=default
const Aws::Vector< TargetedSentimentMention > & GetMentions() const
bool DescriptiveMentionIndexHasBeenSet() const
void SetMentions(MentionsT &&value)
TargetedSentimentEntity & AddDescriptiveMentionIndex(int value)
TargetedSentimentEntity & WithMentions(MentionsT &&value)
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue