AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
BuildSuggestersRequest.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
11#include <utility>
12
13namespace Aws {
14namespace CloudSearch {
15namespace Model {
16
25 public:
26 AWS_CLOUDSEARCH_API BuildSuggestersRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "BuildSuggesters"; }
33
34 AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override;
35
36 protected:
37 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
38
39 public:
41
42 inline const Aws::String& GetDomainName() const { return m_domainName; }
43 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
44 template <typename DomainNameT = Aws::String>
45 void SetDomainName(DomainNameT&& value) {
46 m_domainNameHasBeenSet = true;
47 m_domainName = std::forward<DomainNameT>(value);
48 }
49 template <typename DomainNameT = Aws::String>
50 BuildSuggestersRequest& WithDomainName(DomainNameT&& value) {
51 SetDomainName(std::forward<DomainNameT>(value));
52 return *this;
53 }
55 private:
56 Aws::String m_domainName;
57 bool m_domainNameHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace CloudSearch
62} // namespace Aws
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
AWS_CLOUDSEARCH_API BuildSuggestersRequest()=default
BuildSuggestersRequest & WithDomainName(DomainNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String