/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides the configuration information for a document field/attribute that
* you want to base query suggestions on.See Also:
AWS
* API Reference
The name of the document field/attribute.
*/ inline const Aws::String& GetAttributeName() const{ return m_attributeName; } /** *The name of the document field/attribute.
*/ inline bool AttributeNameHasBeenSet() const { return m_attributeNameHasBeenSet; } /** *The name of the document field/attribute.
*/ inline void SetAttributeName(const Aws::String& value) { m_attributeNameHasBeenSet = true; m_attributeName = value; } /** *The name of the document field/attribute.
*/ inline void SetAttributeName(Aws::String&& value) { m_attributeNameHasBeenSet = true; m_attributeName = std::move(value); } /** *The name of the document field/attribute.
*/ inline void SetAttributeName(const char* value) { m_attributeNameHasBeenSet = true; m_attributeName.assign(value); } /** *The name of the document field/attribute.
*/ inline SuggestableConfig& WithAttributeName(const Aws::String& value) { SetAttributeName(value); return *this;} /** *The name of the document field/attribute.
*/ inline SuggestableConfig& WithAttributeName(Aws::String&& value) { SetAttributeName(std::move(value)); return *this;} /** *The name of the document field/attribute.
*/ inline SuggestableConfig& WithAttributeName(const char* value) { SetAttributeName(value); return *this;} /** * TRUE
means the document field/attribute is suggestible, so the
* contents within the field can be used for query suggestions.
TRUE
means the document field/attribute is suggestible, so the
* contents within the field can be used for query suggestions.
TRUE
means the document field/attribute is suggestible, so the
* contents within the field can be used for query suggestions.
TRUE
means the document field/attribute is suggestible, so the
* contents within the field can be used for query suggestions.