AWS SDK for C++

AWS SDK for C++ Version 1.11.766

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