AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteIndexFieldRequest.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 DeleteIndexFieldRequest() = default;
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 "DeleteIndexField"; }
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 template<typename DomainNameT = Aws::String>
49 void SetDomainName(DomainNameT&& value) { m_domainNameHasBeenSet = true; m_domainName = std::forward<DomainNameT>(value); }
50 template<typename DomainNameT = Aws::String>
51 DeleteIndexFieldRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
53
55
59 inline const Aws::String& GetIndexFieldName() const { return m_indexFieldName; }
60 inline bool IndexFieldNameHasBeenSet() const { return m_indexFieldNameHasBeenSet; }
61 template<typename IndexFieldNameT = Aws::String>
62 void SetIndexFieldName(IndexFieldNameT&& value) { m_indexFieldNameHasBeenSet = true; m_indexFieldName = std::forward<IndexFieldNameT>(value); }
63 template<typename IndexFieldNameT = Aws::String>
64 DeleteIndexFieldRequest& WithIndexFieldName(IndexFieldNameT&& value) { SetIndexFieldName(std::forward<IndexFieldNameT>(value)); return *this;}
66 private:
67
68 Aws::String m_domainName;
69 bool m_domainNameHasBeenSet = false;
70
71 Aws::String m_indexFieldName;
72 bool m_indexFieldNameHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace CloudSearch
77} // 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