AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
55 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
56 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
57 inline DescribeSuggestersRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
58 inline DescribeSuggestersRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
59 inline DescribeSuggestersRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
61
63
66 inline const Aws::Vector<Aws::String>& GetSuggesterNames() const{ return m_suggesterNames; }
67 inline bool SuggesterNamesHasBeenSet() const { return m_suggesterNamesHasBeenSet; }
68 inline void SetSuggesterNames(const Aws::Vector<Aws::String>& value) { m_suggesterNamesHasBeenSet = true; m_suggesterNames = value; }
69 inline void SetSuggesterNames(Aws::Vector<Aws::String>&& value) { m_suggesterNamesHasBeenSet = true; m_suggesterNames = std::move(value); }
72 inline DescribeSuggestersRequest& AddSuggesterNames(const Aws::String& value) { m_suggesterNamesHasBeenSet = true; m_suggesterNames.push_back(value); return *this; }
73 inline DescribeSuggestersRequest& AddSuggesterNames(Aws::String&& value) { m_suggesterNamesHasBeenSet = true; m_suggesterNames.push_back(std::move(value)); return *this; }
74 inline DescribeSuggestersRequest& AddSuggesterNames(const char* value) { m_suggesterNamesHasBeenSet = true; m_suggesterNames.push_back(value); return *this; }
76
78
82 inline bool GetDeployed() const{ return m_deployed; }
83 inline bool DeployedHasBeenSet() const { return m_deployedHasBeenSet; }
84 inline void SetDeployed(bool value) { m_deployedHasBeenSet = true; m_deployed = value; }
85 inline DescribeSuggestersRequest& WithDeployed(bool value) { SetDeployed(value); return *this;}
87 private:
88
89 Aws::String m_domainName;
90 bool m_domainNameHasBeenSet = false;
91
92 Aws::Vector<Aws::String> m_suggesterNames;
93 bool m_suggesterNamesHasBeenSet = false;
94
95 bool m_deployed;
96 bool m_deployedHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace CloudSearch
101} // namespace Aws
DescribeSuggestersRequest & WithSuggesterNames(const Aws::Vector< Aws::String > &value)
DescribeSuggestersRequest & WithDomainName(Aws::String &&value)
DescribeSuggestersRequest & AddSuggesterNames(const Aws::String &value)
DescribeSuggestersRequest & WithDomainName(const Aws::String &value)
void SetSuggesterNames(const Aws::Vector< Aws::String > &value)
void SetSuggesterNames(Aws::Vector< Aws::String > &&value)
DescribeSuggestersRequest & WithDomainName(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DescribeSuggestersRequest & WithSuggesterNames(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetSuggesterNames() const
DescribeSuggestersRequest & WithDeployed(bool value)
DescribeSuggestersRequest & AddSuggesterNames(const char *value)
DescribeSuggestersRequest & AddSuggesterNames(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector