/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The document ID and its fields/attributes that are used for a query
* suggestion, if document fields set to use for query suggestions.See
* Also:
AWS
* API Reference
The identifier of the document used for a query suggestion.
*/ inline const Aws::String& GetDocumentId() const{ return m_documentId; } /** *The identifier of the document used for a query suggestion.
*/ inline bool DocumentIdHasBeenSet() const { return m_documentIdHasBeenSet; } /** *The identifier of the document used for a query suggestion.
*/ inline void SetDocumentId(const Aws::String& value) { m_documentIdHasBeenSet = true; m_documentId = value; } /** *The identifier of the document used for a query suggestion.
*/ inline void SetDocumentId(Aws::String&& value) { m_documentIdHasBeenSet = true; m_documentId = std::move(value); } /** *The identifier of the document used for a query suggestion.
*/ inline void SetDocumentId(const char* value) { m_documentIdHasBeenSet = true; m_documentId.assign(value); } /** *The identifier of the document used for a query suggestion.
*/ inline SourceDocument& WithDocumentId(const Aws::String& value) { SetDocumentId(value); return *this;} /** *The identifier of the document used for a query suggestion.
*/ inline SourceDocument& WithDocumentId(Aws::String&& value) { SetDocumentId(std::move(value)); return *this;} /** *The identifier of the document used for a query suggestion.
*/ inline SourceDocument& WithDocumentId(const char* value) { SetDocumentId(value); return *this;} /** *The document fields/attributes used for a query suggestion.
*/ inline const Aws::VectorThe document fields/attributes used for a query suggestion.
*/ inline bool SuggestionAttributesHasBeenSet() const { return m_suggestionAttributesHasBeenSet; } /** *The document fields/attributes used for a query suggestion.
*/ inline void SetSuggestionAttributes(const Aws::VectorThe document fields/attributes used for a query suggestion.
*/ inline void SetSuggestionAttributes(Aws::VectorThe document fields/attributes used for a query suggestion.
*/ inline SourceDocument& WithSuggestionAttributes(const Aws::VectorThe document fields/attributes used for a query suggestion.
*/ inline SourceDocument& WithSuggestionAttributes(Aws::VectorThe document fields/attributes used for a query suggestion.
*/ inline SourceDocument& AddSuggestionAttributes(const Aws::String& value) { m_suggestionAttributesHasBeenSet = true; m_suggestionAttributes.push_back(value); return *this; } /** *The document fields/attributes used for a query suggestion.
*/ inline SourceDocument& AddSuggestionAttributes(Aws::String&& value) { m_suggestionAttributesHasBeenSet = true; m_suggestionAttributes.push_back(std::move(value)); return *this; } /** *The document fields/attributes used for a query suggestion.
*/ inline SourceDocument& AddSuggestionAttributes(const char* value) { m_suggestionAttributesHasBeenSet = true; m_suggestionAttributes.push_back(value); return *this; } /** *The additional fields/attributes to include in the response. You can use * additional fields to provide extra information in the response. Additional * fields are not used to based suggestions on.
*/ inline const Aws::VectorThe additional fields/attributes to include in the response. You can use * additional fields to provide extra information in the response. Additional * fields are not used to based suggestions on.
*/ inline bool AdditionalAttributesHasBeenSet() const { return m_additionalAttributesHasBeenSet; } /** *The additional fields/attributes to include in the response. You can use * additional fields to provide extra information in the response. Additional * fields are not used to based suggestions on.
*/ inline void SetAdditionalAttributes(const Aws::VectorThe additional fields/attributes to include in the response. You can use * additional fields to provide extra information in the response. Additional * fields are not used to based suggestions on.
*/ inline void SetAdditionalAttributes(Aws::VectorThe additional fields/attributes to include in the response. You can use * additional fields to provide extra information in the response. Additional * fields are not used to based suggestions on.
*/ inline SourceDocument& WithAdditionalAttributes(const Aws::VectorThe additional fields/attributes to include in the response. You can use * additional fields to provide extra information in the response. Additional * fields are not used to based suggestions on.
*/ inline SourceDocument& WithAdditionalAttributes(Aws::VectorThe additional fields/attributes to include in the response. You can use * additional fields to provide extra information in the response. Additional * fields are not used to based suggestions on.
*/ inline SourceDocument& AddAdditionalAttributes(const DocumentAttribute& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes.push_back(value); return *this; } /** *The additional fields/attributes to include in the response. You can use * additional fields to provide extra information in the response. Additional * fields are not used to based suggestions on.
*/ inline SourceDocument& AddAdditionalAttributes(DocumentAttribute&& value) { m_additionalAttributesHasBeenSet = true; m_additionalAttributes.push_back(std::move(value)); return *this; } private: Aws::String m_documentId; bool m_documentIdHasBeenSet = false; Aws::Vector