AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DeleteExpressionRequest.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 DeleteExpressionRequest();
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 "DeleteExpression"; }
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 DeleteExpressionRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
52 inline DeleteExpressionRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
53 inline DeleteExpressionRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;}
55
57
60 inline const Aws::String& GetExpressionName() const{ return m_expressionName; }
61 inline bool ExpressionNameHasBeenSet() const { return m_expressionNameHasBeenSet; }
62 inline void SetExpressionName(const Aws::String& value) { m_expressionNameHasBeenSet = true; m_expressionName = value; }
63 inline void SetExpressionName(Aws::String&& value) { m_expressionNameHasBeenSet = true; m_expressionName = std::move(value); }
64 inline void SetExpressionName(const char* value) { m_expressionNameHasBeenSet = true; m_expressionName.assign(value); }
65 inline DeleteExpressionRequest& WithExpressionName(const Aws::String& value) { SetExpressionName(value); return *this;}
66 inline DeleteExpressionRequest& WithExpressionName(Aws::String&& value) { SetExpressionName(std::move(value)); return *this;}
67 inline DeleteExpressionRequest& WithExpressionName(const char* value) { SetExpressionName(value); return *this;}
69 private:
70
71 Aws::String m_domainName;
72 bool m_domainNameHasBeenSet = false;
73
74 Aws::String m_expressionName;
75 bool m_expressionNameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace CloudSearch
80} // namespace Aws
AWS_CLOUDSEARCH_API Aws::String SerializePayload() const override
DeleteExpressionRequest & WithDomainName(const Aws::String &value)
DeleteExpressionRequest & WithDomainName(Aws::String &&value)
DeleteExpressionRequest & WithDomainName(const char *value)
DeleteExpressionRequest & WithExpressionName(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteExpressionRequest & WithExpressionName(Aws::String &&value)
AWS_CLOUDSEARCH_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
DeleteExpressionRequest & WithExpressionName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String