AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeSuggestersRequest.h
1
6#pragma once
7#include <aws/cloudsearch/CloudSearch_EXPORTS.h>
8#include <aws/cloudsearch/CloudSearchRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace CloudSearch
16{
17namespace Model
18{
19
31 {
32 public:
33 AWS_CLOUDSEARCH_API DescribeSuggestersRequest() = default;
34
35 // Service request name is the Operation name which will send this request out,
36 // each operation should has unique request name, so that we can get operation's name from this request.
37 // Note: this is not true for response, multiple operations may have the same response name,
38 // so we can not get operation's name from response.
39 inline virtual const char* GetServiceRequestName() const override { return "DescribeSuggesters"; }
40
41 AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override;
42
43 protected:
44 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
45
46 public:
47
49
52 inline const Aws::String& GetDomainName() const { return m_domainName; }
53 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
54 template<typename DomainNameT = Aws::String>
55 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
56 template<typename DomainNameT = Aws::String>
57 DescribeSuggestersRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
59
61
64 inline const Aws::Vector<Aws::String>& GetSuggesterNames() const { return m_suggesterNames; }
65 inline bool SuggesterNamesHasBeenSet() const { return m_suggesterNamesHasBeenSet; }
66 template<typename SuggesterNamesT = Aws::Vector<Aws::String>>
67 void SetSuggesterNames(SuggesterNamesT&& value) { m_suggesterNamesHasBeenSet = true; m_suggesterNames = std::forward<SuggesterNamesT>(value); }
68 template<typename SuggesterNamesT = Aws::Vector<Aws::String>>
69 DescribeSuggestersRequest& WithSuggesterNames(SuggesterNamesT&& value) { SetSuggesterNames(std::forward<SuggesterNamesT>(value)); return *this;}
70 template<typename SuggesterNamesT = Aws::String>
71 DescribeSuggestersRequest& AddSuggesterNames(SuggesterNamesT&& value) { m_suggesterNamesHasBeenSet = true; m_suggesterNames.emplace_back(std::forward<SuggesterNamesT>(value)); return *this; }
73
75
79 inline bool GetDeployed() const { return m_deployed; }
80 inline bool DeployedHasBeenSet() const { return m_deployedHasBeenSet; }
81 inline void SetDeployed(bool value) { m_deployedHasBeenSet = true; m_deployed = value; }
82 inline DescribeSuggestersRequest& WithDeployed(bool value) { SetDeployed(value); return *this;}
84 private:
85
86 Aws::String m_domainName;
87 bool m_domainNameHasBeenSet = false;
88
89 Aws::Vector<Aws::String> m_suggesterNames;
90 bool m_suggesterNamesHasBeenSet = false;
91
92 bool m_deployed{false};
93 bool m_deployedHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace CloudSearch
98} // 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