AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteSuggesterRequest.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 <utility>
11
12namespace Aws
13{
14namespace CloudSearch
15{
16namespace Model
17{
18
27 {
28 public:
29 AWS_CLOUDSEARCH_API DeleteSuggesterRequest();
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "DeleteSuggester"; }
36
37 AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override;
38
39 protected:
40 AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
41
42 public:
43
45
46 inline const Aws::String& GetDomainName() const{ return m_domainName; }
47 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
48 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
49 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
50 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
51 inline DeleteSuggesterRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
52 inline DeleteSuggesterRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
53 inline DeleteSuggesterRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
55
57
60 inline const Aws::String& GetSuggesterName() const{ return m_suggesterName; }
61 inline bool SuggesterNameHasBeenSet() const { return m_suggesterNameHasBeenSet; }
62 inline void SetSuggesterName(const Aws::String& value) { m_suggesterNameHasBeenSet = true; m_suggesterName = value; }
63 inline void SetSuggesterName(Aws::String&& value) { m_suggesterNameHasBeenSet = true; m_suggesterName = std::move(value); }
64 inline void SetSuggesterName(const char* value) { m_suggesterNameHasBeenSet = true; m_suggesterName.assign(value); }
65 inline DeleteSuggesterRequest& WithSuggesterName(const Aws::String& value) { SetSuggesterName(value); return *this;}
66 inline DeleteSuggesterRequest& WithSuggesterName(Aws::String&& value) { SetSuggesterName(std::move(value)); return *this;}
67 inline DeleteSuggesterRequest& WithSuggesterName(const char* value) { SetSuggesterName(value); return *this;}
69 private:
70
71 Aws::String m_domainName;
72 bool m_domainNameHasBeenSet = false;
73
74 Aws::String m_suggesterName;
75 bool m_suggesterNameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CloudSearch
80} // namespace Aws
DeleteSuggesterRequest & WithSuggesterName(const Aws::String &value)
DeleteSuggesterRequest & WithDomainName(const Aws::String &value)
DeleteSuggesterRequest & WithDomainName(Aws::String &&value)
DeleteSuggesterRequest & WithSuggesterName(Aws::String &&value)
DeleteSuggesterRequest & WithSuggesterName(const char *value)
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteSuggesterRequest & WithDomainName(const char *value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String