86 lines
2.9 KiB
C++
86 lines
2.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/sagemaker/SageMaker_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSVector.h>
|
|
#include <aws/sagemaker/model/PropertyNameSuggestion.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SageMaker
|
|
{
|
|
namespace Model
|
|
{
|
|
class AWS_SAGEMAKER_API GetSearchSuggestionsResult
|
|
{
|
|
public:
|
|
GetSearchSuggestionsResult();
|
|
GetSearchSuggestionsResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
GetSearchSuggestionsResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>A list of property names for a <code>Resource</code> that match a
|
|
* <code>SuggestionQuery</code>.</p>
|
|
*/
|
|
inline const Aws::Vector<PropertyNameSuggestion>& GetPropertyNameSuggestions() const{ return m_propertyNameSuggestions; }
|
|
|
|
/**
|
|
* <p>A list of property names for a <code>Resource</code> that match a
|
|
* <code>SuggestionQuery</code>.</p>
|
|
*/
|
|
inline void SetPropertyNameSuggestions(const Aws::Vector<PropertyNameSuggestion>& value) { m_propertyNameSuggestions = value; }
|
|
|
|
/**
|
|
* <p>A list of property names for a <code>Resource</code> that match a
|
|
* <code>SuggestionQuery</code>.</p>
|
|
*/
|
|
inline void SetPropertyNameSuggestions(Aws::Vector<PropertyNameSuggestion>&& value) { m_propertyNameSuggestions = std::move(value); }
|
|
|
|
/**
|
|
* <p>A list of property names for a <code>Resource</code> that match a
|
|
* <code>SuggestionQuery</code>.</p>
|
|
*/
|
|
inline GetSearchSuggestionsResult& WithPropertyNameSuggestions(const Aws::Vector<PropertyNameSuggestion>& value) { SetPropertyNameSuggestions(value); return *this;}
|
|
|
|
/**
|
|
* <p>A list of property names for a <code>Resource</code> that match a
|
|
* <code>SuggestionQuery</code>.</p>
|
|
*/
|
|
inline GetSearchSuggestionsResult& WithPropertyNameSuggestions(Aws::Vector<PropertyNameSuggestion>&& value) { SetPropertyNameSuggestions(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A list of property names for a <code>Resource</code> that match a
|
|
* <code>SuggestionQuery</code>.</p>
|
|
*/
|
|
inline GetSearchSuggestionsResult& AddPropertyNameSuggestions(const PropertyNameSuggestion& value) { m_propertyNameSuggestions.push_back(value); return *this; }
|
|
|
|
/**
|
|
* <p>A list of property names for a <code>Resource</code> that match a
|
|
* <code>SuggestionQuery</code>.</p>
|
|
*/
|
|
inline GetSearchSuggestionsResult& AddPropertyNameSuggestions(PropertyNameSuggestion&& value) { m_propertyNameSuggestions.push_back(std::move(value)); return *this; }
|
|
|
|
private:
|
|
|
|
Aws::Vector<PropertyNameSuggestion> m_propertyNameSuggestions;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SageMaker
|
|
} // namespace Aws
|