7#include <aws/comprehend/Comprehend_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/comprehend/model/KeyPhrase.h>
47 inline int GetIndex()
const {
return m_index; }
49 inline void SetIndex(
int value) { m_indexHasBeenSet =
true; m_index = value; }
60 template<
typename KeyPhrasesT = Aws::Vector<KeyPhrase>>
61 void SetKeyPhrases(KeyPhrasesT&& value) { m_keyPhrasesHasBeenSet =
true; m_keyPhrases = std::forward<KeyPhrasesT>(value); }
62 template<
typename KeyPhrasesT = Aws::Vector<KeyPhrase>>
64 template<
typename KeyPhrasesT = KeyPhrase>
70 bool m_indexHasBeenSet =
false;
73 bool m_keyPhrasesHasBeenSet =
false;
AWS_COMPREHEND_API BatchDetectKeyPhrasesItemResult & operator=(Aws::Utils::Json::JsonView jsonValue)
bool KeyPhrasesHasBeenSet() const
AWS_COMPREHEND_API BatchDetectKeyPhrasesItemResult()=default
AWS_COMPREHEND_API Aws::Utils::Json::JsonValue Jsonize() const
bool IndexHasBeenSet() const
AWS_COMPREHEND_API BatchDetectKeyPhrasesItemResult(Aws::Utils::Json::JsonView jsonValue)
BatchDetectKeyPhrasesItemResult & AddKeyPhrases(KeyPhrasesT &&value)
const Aws::Vector< KeyPhrase > & GetKeyPhrases() const
void SetKeyPhrases(KeyPhrasesT &&value)
BatchDetectKeyPhrasesItemResult & WithKeyPhrases(KeyPhrasesT &&value)
BatchDetectKeyPhrasesItemResult & WithIndex(int value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue