AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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