/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Specified in the GetSearchSuggestions * request. Limits the property names that are included in the * response.

See Also:

AWS * API Reference

*/ class SuggestionQuery { public: AWS_SAGEMAKER_API SuggestionQuery(); AWS_SAGEMAKER_API SuggestionQuery(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API SuggestionQuery& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Defines a property name hint. Only property names that begin with the * specified hint are included in the response.

*/ inline const PropertyNameQuery& GetPropertyNameQuery() const{ return m_propertyNameQuery; } /** *

Defines a property name hint. Only property names that begin with the * specified hint are included in the response.

*/ inline bool PropertyNameQueryHasBeenSet() const { return m_propertyNameQueryHasBeenSet; } /** *

Defines a property name hint. Only property names that begin with the * specified hint are included in the response.

*/ inline void SetPropertyNameQuery(const PropertyNameQuery& value) { m_propertyNameQueryHasBeenSet = true; m_propertyNameQuery = value; } /** *

Defines a property name hint. Only property names that begin with the * specified hint are included in the response.

*/ inline void SetPropertyNameQuery(PropertyNameQuery&& value) { m_propertyNameQueryHasBeenSet = true; m_propertyNameQuery = std::move(value); } /** *

Defines a property name hint. Only property names that begin with the * specified hint are included in the response.

*/ inline SuggestionQuery& WithPropertyNameQuery(const PropertyNameQuery& value) { SetPropertyNameQuery(value); return *this;} /** *

Defines a property name hint. Only property names that begin with the * specified hint are included in the response.

*/ inline SuggestionQuery& WithPropertyNameQuery(PropertyNameQuery&& value) { SetPropertyNameQuery(std::move(value)); return *this;} private: PropertyNameQuery m_propertyNameQuery; bool m_propertyNameQueryHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws