/**
* 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 BatchDetectDominantLanguageItemResult& WithIndex(int value) { SetIndex(value); return *this;} /** *One or more DominantLanguage objects describing the dominant languages * in the document.
*/ inline const Aws::VectorOne or more DominantLanguage objects describing the dominant languages * in the document.
*/ inline bool LanguagesHasBeenSet() const { return m_languagesHasBeenSet; } /** *One or more DominantLanguage objects describing the dominant languages * in the document.
*/ inline void SetLanguages(const Aws::VectorOne or more DominantLanguage objects describing the dominant languages * in the document.
*/ inline void SetLanguages(Aws::VectorOne or more DominantLanguage objects describing the dominant languages * in the document.
*/ inline BatchDetectDominantLanguageItemResult& WithLanguages(const Aws::VectorOne or more DominantLanguage objects describing the dominant languages * in the document.
*/ inline BatchDetectDominantLanguageItemResult& WithLanguages(Aws::VectorOne or more DominantLanguage objects describing the dominant languages * in the document.
*/ inline BatchDetectDominantLanguageItemResult& AddLanguages(const DominantLanguage& value) { m_languagesHasBeenSet = true; m_languages.push_back(value); return *this; } /** *One or more DominantLanguage objects describing the dominant languages * in the document.
*/ inline BatchDetectDominantLanguageItemResult& AddLanguages(DominantLanguage&& value) { m_languagesHasBeenSet = true; m_languages.push_back(std::move(value)); return *this; } private: int m_index; bool m_indexHasBeenSet = false; Aws::Vector