AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetSearchSuggestionsResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sagemaker/model/PropertyNameSuggestion.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
30 {
31 public:
32 AWS_SAGEMAKER_API GetSearchSuggestionsResult() = default;
35
36
38
42 inline const Aws::Vector<PropertyNameSuggestion>& GetPropertyNameSuggestions() const { return m_propertyNameSuggestions; }
43 template<typename PropertyNameSuggestionsT = Aws::Vector<PropertyNameSuggestion>>
44 void SetPropertyNameSuggestions(PropertyNameSuggestionsT&& value) { m_propertyNameSuggestionsHasBeenSet = true; m_propertyNameSuggestions = std::forward<PropertyNameSuggestionsT>(value); }
45 template<typename PropertyNameSuggestionsT = Aws::Vector<PropertyNameSuggestion>>
46 GetSearchSuggestionsResult& WithPropertyNameSuggestions(PropertyNameSuggestionsT&& value) { SetPropertyNameSuggestions(std::forward<PropertyNameSuggestionsT>(value)); return *this;}
47 template<typename PropertyNameSuggestionsT = PropertyNameSuggestion>
48 GetSearchSuggestionsResult& AddPropertyNameSuggestions(PropertyNameSuggestionsT&& value) { m_propertyNameSuggestionsHasBeenSet = true; m_propertyNameSuggestions.emplace_back(std::forward<PropertyNameSuggestionsT>(value)); return *this; }
50
52
53 inline const Aws::String& GetRequestId() const { return m_requestId; }
54 template<typename RequestIdT = Aws::String>
55 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
56 template<typename RequestIdT = Aws::String>
57 GetSearchSuggestionsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
59 private:
60
61 Aws::Vector<PropertyNameSuggestion> m_propertyNameSuggestions;
62 bool m_propertyNameSuggestionsHasBeenSet = false;
63
64 Aws::String m_requestId;
65 bool m_requestIdHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace SageMaker
70} // namespace Aws
void SetPropertyNameSuggestions(PropertyNameSuggestionsT &&value)
AWS_SAGEMAKER_API GetSearchSuggestionsResult()=default
AWS_SAGEMAKER_API GetSearchSuggestionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API GetSearchSuggestionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSearchSuggestionsResult & WithPropertyNameSuggestions(PropertyNameSuggestionsT &&value)
const Aws::Vector< PropertyNameSuggestion > & GetPropertyNameSuggestions() const
GetSearchSuggestionsResult & WithRequestId(RequestIdT &&value)
GetSearchSuggestionsResult & AddPropertyNameSuggestions(PropertyNameSuggestionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue