AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const ResourceType& GetResource() const{ return m_resource; }
43 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
44 inline void SetResource(const ResourceType& value) { m_resourceHasBeenSet = true; m_resource = value; }
45 inline void SetResource(ResourceType&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
46 inline GetSearchSuggestionsRequest& WithResource(const ResourceType& value) { SetResource(value); return *this;}
47 inline GetSearchSuggestionsRequest& WithResource(ResourceType&& value) { SetResource(std::move(value)); return *this;}
49
51
54 inline const SuggestionQuery& GetSuggestionQuery() const{ return m_suggestionQuery; }
55 inline bool SuggestionQueryHasBeenSet() const { return m_suggestionQueryHasBeenSet; }
56 inline void SetSuggestionQuery(const SuggestionQuery& value) { m_suggestionQueryHasBeenSet = true; m_suggestionQuery = value; }
57 inline void SetSuggestionQuery(SuggestionQuery&& value) { m_suggestionQueryHasBeenSet = true; m_suggestionQuery = std::move(value); }
59 inline GetSearchSuggestionsRequest& WithSuggestionQuery(SuggestionQuery&& value) { SetSuggestionQuery(std::move(value)); return *this;}
61 private:
62
63 ResourceType m_resource;
64 bool m_resourceHasBeenSet = false;
65
66 SuggestionQuery m_suggestionQuery;
67 bool m_suggestionQueryHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace SageMaker
72} // namespace Aws
GetSearchSuggestionsRequest & WithResource(ResourceType &&value)
AWS_SAGEMAKER_API Aws::String SerializePayload() const override
AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetSearchSuggestionsRequest & WithSuggestionQuery(SuggestionQuery &&value)
GetSearchSuggestionsRequest & WithResource(const ResourceType &value)
virtual const char * GetServiceRequestName() const override
GetSearchSuggestionsRequest & WithSuggestionQuery(const SuggestionQuery &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String