AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GetSearchSuggestionsRequest.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/SageMakerRequest.h>
9#include <aws/sagemaker/model/ResourceType.h>
10#include <aws/sagemaker/model/SuggestionQuery.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SageMaker
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_SAGEMAKER_API GetSearchSuggestionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetSearchSuggestions"; }
32
33 AWS_SAGEMAKER_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline ResourceType GetResource() const { return m_resource; }
43 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
44 inline void SetResource(ResourceType value) { m_resourceHasBeenSet = true; m_resource = value; }
45 inline GetSearchSuggestionsRequest& WithResource(ResourceType value) { SetResource(value); return *this;}
47
49
52 inline const SuggestionQuery& GetSuggestionQuery() const { return m_suggestionQuery; }
53 inline bool SuggestionQueryHasBeenSet() const { return m_suggestionQueryHasBeenSet; }
54 template<typename SuggestionQueryT = SuggestionQuery>
55 void SetSuggestionQuery(SuggestionQueryT&& value) { m_suggestionQueryHasBeenSet = true; m_suggestionQuery = std::forward<SuggestionQueryT>(value); }
56 template<typename SuggestionQueryT = SuggestionQuery>
57 GetSearchSuggestionsRequest& WithSuggestionQuery(SuggestionQueryT&& value) { SetSuggestionQuery(std::forward<SuggestionQueryT>(value)); return *this;}
59 private:
60
62 bool m_resourceHasBeenSet = false;
63
64 SuggestionQuery m_suggestionQuery;
65 bool m_suggestionQueryHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace SageMaker
70} // namespace Aws
GetSearchSuggestionsRequest & WithResource(ResourceType value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_SAGEMAKER_API GetSearchSuggestionsRequest()=default
virtual const char * GetServiceRequestName() const override
GetSearchSuggestionsRequest & WithSuggestionQuery(SuggestionQueryT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String