AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = 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 "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 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 DeleteExpressionRequest& WithDomainName(DomainNameT&& value) { SetDomainName(std::forward<DomainNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetExpressionName() const { return m_expressionName; }
59 inline bool ExpressionNameHasBeenSet() const { return m_expressionNameHasBeenSet; }
60 template<typename ExpressionNameT = Aws::String>
61 void SetExpressionName(ExpressionNameT&& value) { m_expressionNameHasBeenSet = true; m_expressionName = std::forward<ExpressionNameT>(value); }
62 template<typename ExpressionNameT = Aws::String>
63 DeleteExpressionRequest& WithExpressionName(ExpressionNameT&& value) { SetExpressionName(std::forward<ExpressionNameT>(value)); return *this;}
65 private:
66
67 Aws::String m_domainName;
68 bool m_domainNameHasBeenSet = false;
69
70 Aws::String m_expressionName;
71 bool m_expressionNameHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace CloudSearch
76} // 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