/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of calling the operation. The operation returns one object for
* each document that is successfully processed by the operation.See
* Also:
AWS
* API Reference
The zero-based index of the document in the input list.
*/ inline int GetIndex() const{ return m_index; } /** *The zero-based index of the document in the input list.
*/ inline bool IndexHasBeenSet() const { return m_indexHasBeenSet; } /** *The zero-based index of the document in the input list.
*/ inline void SetIndex(int value) { m_indexHasBeenSet = true; m_index = value; } /** *The zero-based index of the document in the input list.
*/ inline BatchDetectEntitiesItemResult& WithIndex(int value) { SetIndex(value); return *this;} /** *One or more Entity objects, one for each entity detected in the * document.
*/ inline const Aws::VectorOne or more Entity objects, one for each entity detected in the * document.
*/ inline bool EntitiesHasBeenSet() const { return m_entitiesHasBeenSet; } /** *One or more Entity objects, one for each entity detected in the * document.
*/ inline void SetEntities(const Aws::VectorOne or more Entity objects, one for each entity detected in the * document.
*/ inline void SetEntities(Aws::VectorOne or more Entity objects, one for each entity detected in the * document.
*/ inline BatchDetectEntitiesItemResult& WithEntities(const Aws::VectorOne or more Entity objects, one for each entity detected in the * document.
*/ inline BatchDetectEntitiesItemResult& WithEntities(Aws::VectorOne or more Entity objects, one for each entity detected in the * document.
*/ inline BatchDetectEntitiesItemResult& AddEntities(const Entity& value) { m_entitiesHasBeenSet = true; m_entities.push_back(value); return *this; } /** *One or more Entity objects, one for each entity detected in the * document.
*/ inline BatchDetectEntitiesItemResult& AddEntities(Entity&& value) { m_entitiesHasBeenSet = true; m_entities.push_back(std::move(value)); return *this; } private: int m_index; bool m_indexHasBeenSet = false; Aws::Vector