7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/comprehend/model/TargetedSentimentMention.h>
52 template<
typename DescriptiveMentionIndexT = Aws::Vector<
int>>
53 void SetDescriptiveMentionIndex(DescriptiveMentionIndexT&& value) { m_descriptiveMentionIndexHasBeenSet =
true; m_descriptiveMentionIndex = std::forward<DescriptiveMentionIndexT>(value); }
54 template<
typename DescriptiveMentionIndexT = Aws::Vector<
int>>
68 template<
typename MentionsT = Aws::Vector<TargetedSentimentMention>>
69 void SetMentions(MentionsT&& value) { m_mentionsHasBeenSet =
true; m_mentions = std::forward<MentionsT>(value); }
70 template<
typename MentionsT = Aws::Vector<TargetedSentimentMention>>
72 template<
typename MentionsT = TargetedSentimentMention>
78 bool m_descriptiveMentionIndexHasBeenSet =
false;
81 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