AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DescribeSuggestersRequest.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearchRequest.h>
8#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11
12#include <utility>
13
14namespace Aws {
15namespace CloudSearch {
16namespace Model {
17
29 public:
30 AWS_CLOUDSEARCH_API DescribeSuggestersRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DescribeSuggesters"; }
37
38 AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
42
43 public:
45
48 inline const Aws::String& GetDomainName() const { return m_domainName; }
49 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
50 template <typename DomainNameT = Aws::String>
51 void SetDomainName(DomainNameT&& value) {
52 m_domainNameHasBeenSet = true;
53 m_domainName = std::forward<DomainNameT>(value);
54 }
55 template <typename DomainNameT = Aws::String>
57 SetDomainName(std::forward<DomainNameT>(value));
58 return *this;
59 }
61
63
66 inline const Aws::Vector<Aws::String>& GetSuggesterNames() const { return m_suggesterNames; }
67 inline bool SuggesterNamesHasBeenSet() const { return m_suggesterNamesHasBeenSet; }
68 template <typename SuggesterNamesT = Aws::Vector<Aws::String>>
69 void SetSuggesterNames(SuggesterNamesT&& value) {
70 m_suggesterNamesHasBeenSet = true;
71 m_suggesterNames = std::forward<SuggesterNamesT>(value);
72 }
73 template <typename SuggesterNamesT = Aws::Vector<Aws::String>>
75 SetSuggesterNames(std::forward<SuggesterNamesT>(value));
76 return *this;
77 }
78 template <typename SuggesterNamesT = Aws::String>
79 DescribeSuggestersRequest& AddSuggesterNames(SuggesterNamesT&& value) {
80 m_suggesterNamesHasBeenSet = true;
81 m_suggesterNames.emplace_back(std::forward<SuggesterNamesT>(value));
82 return *this;
83 }
85
87
91 inline bool GetDeployed() const { return m_deployed; }
92 inline bool DeployedHasBeenSet() const { return m_deployedHasBeenSet; }
93 inline void SetDeployed(bool value) {
94 m_deployedHasBeenSet = true;
95 m_deployed = value;
96 }
98 SetDeployed(value);
99 return *this;
100 }
102 private:
103 Aws::String m_domainName;
104
105 Aws::Vector<Aws::String> m_suggesterNames;
106
107 bool m_deployed{false};
108 bool m_domainNameHasBeenSet = false;
109 bool m_suggesterNamesHasBeenSet = false;
110 bool m_deployedHasBeenSet = false;
111};
112
113} // namespace Model
114} // namespace CloudSearch
115} // namespace Aws
AWS_CLOUDSEARCH_API DescribeSuggestersRequest()=default
DescribeSuggestersRequest & WithSuggesterNames(SuggesterNamesT &&value)
DescribeSuggestersRequest & AddSuggesterNames(SuggesterNamesT &&value)
virtual const char * GetServiceRequestName() const override
DescribeSuggestersRequest & WithDomainName(DomainNameT &&value)
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::Vector< Aws::String > & GetSuggesterNames() const
DescribeSuggestersRequest & WithDeployed(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector