AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
DeleteReceiptRuleRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SES
15{
16namespace Model
17{
18
28 {
29 public:
30 AWS_SES_API DeleteReceiptRuleRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "DeleteReceiptRule"; }
37
38 AWS_SES_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
50 inline const Aws::String& GetRuleSetName() const { return m_ruleSetName; }
51 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
52 template<typename RuleSetNameT = Aws::String>
53 void SetRuleSetName(RuleSetNameT&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::forward<RuleSetNameT>(value); }
54 template<typename RuleSetNameT = Aws::String>
55 DeleteReceiptRuleRequest& WithRuleSetName(RuleSetNameT&& value) { SetRuleSetName(std::forward<RuleSetNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetRuleName() const { return m_ruleName; }
63 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
64 template<typename RuleNameT = Aws::String>
65 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::forward<RuleNameT>(value); }
66 template<typename RuleNameT = Aws::String>
67 DeleteReceiptRuleRequest& WithRuleName(RuleNameT&& value) { SetRuleName(std::forward<RuleNameT>(value)); return *this;}
69 private:
70
71 Aws::String m_ruleSetName;
72 bool m_ruleSetNameHasBeenSet = false;
73
74 Aws::String m_ruleName;
75 bool m_ruleNameHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SES
80} // namespace Aws
AWS_SES_API DeleteReceiptRuleRequest()=default
DeleteReceiptRuleRequest & WithRuleSetName(RuleSetNameT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_SES_API Aws::String SerializePayload() const override
DeleteReceiptRuleRequest & WithRuleName(RuleNameT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String