/**
* 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 BatchDetectKeyPhrasesItemResult& WithIndex(int value) { SetIndex(value); return *this;} /** *One or more KeyPhrase objects, one for each key phrase detected in the * document.
*/ inline const Aws::VectorOne or more KeyPhrase objects, one for each key phrase detected in the * document.
*/ inline bool KeyPhrasesHasBeenSet() const { return m_keyPhrasesHasBeenSet; } /** *One or more KeyPhrase objects, one for each key phrase detected in the * document.
*/ inline void SetKeyPhrases(const Aws::VectorOne or more KeyPhrase objects, one for each key phrase detected in the * document.
*/ inline void SetKeyPhrases(Aws::VectorOne or more KeyPhrase objects, one for each key phrase detected in the * document.
*/ inline BatchDetectKeyPhrasesItemResult& WithKeyPhrases(const Aws::VectorOne or more KeyPhrase objects, one for each key phrase detected in the * document.
*/ inline BatchDetectKeyPhrasesItemResult& WithKeyPhrases(Aws::VectorOne or more KeyPhrase objects, one for each key phrase detected in the * document.
*/ inline BatchDetectKeyPhrasesItemResult& AddKeyPhrases(const KeyPhrase& value) { m_keyPhrasesHasBeenSet = true; m_keyPhrases.push_back(value); return *this; } /** *One or more KeyPhrase objects, one for each key phrase detected in the * document.
*/ inline BatchDetectKeyPhrasesItemResult& AddKeyPhrases(KeyPhrase&& value) { m_keyPhrasesHasBeenSet = true; m_keyPhrases.push_back(std::move(value)); return *this; } private: int m_index; bool m_indexHasBeenSet = false; Aws::Vector