AWS SDK for C++

AWS SDK for C++ Version 1.11.747

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