AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
DeleteIndexFieldRequest.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 DeleteIndexFieldRequest() = 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 "DeleteIndexField"; }
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>
51 SetDomainName(std::forward<DomainNameT>(value));
52 return *this;
53 }
55
57
61 inline const Aws::String& GetIndexFieldName() const { return m_indexFieldName; }
62 inline bool IndexFieldNameHasBeenSet() const { return m_indexFieldNameHasBeenSet; }
63 template <typename IndexFieldNameT = Aws::String>
64 void SetIndexFieldName(IndexFieldNameT&& value) {
65 m_indexFieldNameHasBeenSet = true;
66 m_indexFieldName = std::forward<IndexFieldNameT>(value);
67 }
68 template <typename IndexFieldNameT = Aws::String>
69 DeleteIndexFieldRequest& WithIndexFieldName(IndexFieldNameT&& value) {
70 SetIndexFieldName(std::forward<IndexFieldNameT>(value));
71 return *this;
72 }
74 private:
75 Aws::String m_domainName;
76
77 Aws::String m_indexFieldName;
78 bool m_domainNameHasBeenSet = false;
79 bool m_indexFieldNameHasBeenSet = false;
80};
81
82} // namespace Model
83} // namespace CloudSearch
84} // namespace Aws
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
DeleteIndexFieldRequest & WithDomainName(DomainNameT &&value)
virtual const char * GetServiceRequestName() const override
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteIndexFieldRequest & WithIndexFieldName(IndexFieldNameT &&value)
AWS_CLOUDSEARCH_API DeleteIndexFieldRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String