7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/comprehend/model/TargetedSentimentEntity.h>
48 inline void SetIndex(
int value) { m_indexHasBeenSet =
true; m_index = value; }
68 bool m_indexHasBeenSet =
false;
71 bool m_entitiesHasBeenSet =
false;
BatchDetectTargetedSentimentItemResult & AddEntities(TargetedSentimentEntity &&value)
bool IndexHasBeenSet() const
AWS_COMPREHEND_API BatchDetectTargetedSentimentItemResult(Aws::Utils::Json::JsonView jsonValue)
BatchDetectTargetedSentimentItemResult & WithIndex(int value)
void SetEntities(Aws::Vector< TargetedSentimentEntity > &&value)
const Aws::Vector< TargetedSentimentEntity > & GetEntities() const
BatchDetectTargetedSentimentItemResult & WithEntities(Aws::Vector< TargetedSentimentEntity > &&value)
AWS_COMPREHEND_API BatchDetectTargetedSentimentItemResult & operator=(Aws::Utils::Json::JsonView jsonValue)
BatchDetectTargetedSentimentItemResult & AddEntities(const TargetedSentimentEntity &value)
bool EntitiesHasBeenSet() const
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_COMPREHEND_API BatchDetectTargetedSentimentItemResult()
void SetEntities(const Aws::Vector< TargetedSentimentEntity > &value)
BatchDetectTargetedSentimentItemResult & WithEntities(const Aws::Vector< TargetedSentimentEntity > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue