AWS SDK for C++

AWS SDK for C++ Version 1.11.767

Loading...
Searching...
No Matches
SetReceiptRulePositionRequest.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
27 public:
28 AWS_SES_API SetReceiptRulePositionRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "SetReceiptRulePosition"; }
35
36 AWS_SES_API Aws::String SerializePayload() const override;
37
38 protected:
39 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
40
41 public:
43
47 inline const Aws::String& GetRuleSetName() const { return m_ruleSetName; }
48 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
49 template <typename RuleSetNameT = Aws::String>
50 void SetRuleSetName(RuleSetNameT&& value) {
51 m_ruleSetNameHasBeenSet = true;
52 m_ruleSetName = std::forward<RuleSetNameT>(value);
53 }
54 template <typename RuleSetNameT = Aws::String>
56 SetRuleSetName(std::forward<RuleSetNameT>(value));
57 return *this;
58 }
60
62
65 inline const Aws::String& GetRuleName() const { return m_ruleName; }
66 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
67 template <typename RuleNameT = Aws::String>
68 void SetRuleName(RuleNameT&& value) {
69 m_ruleNameHasBeenSet = true;
70 m_ruleName = std::forward<RuleNameT>(value);
71 }
72 template <typename RuleNameT = Aws::String>
74 SetRuleName(std::forward<RuleNameT>(value));
75 return *this;
76 }
78
80
84 inline const Aws::String& GetAfter() const { return m_after; }
85 inline bool AfterHasBeenSet() const { return m_afterHasBeenSet; }
86 template <typename AfterT = Aws::String>
87 void SetAfter(AfterT&& value) {
88 m_afterHasBeenSet = true;
89 m_after = std::forward<AfterT>(value);
90 }
91 template <typename AfterT = Aws::String>
93 SetAfter(std::forward<AfterT>(value));
94 return *this;
95 }
97 private:
98 Aws::String m_ruleSetName;
99
100 Aws::String m_ruleName;
101
102 Aws::String m_after;
103 bool m_ruleSetNameHasBeenSet = false;
104 bool m_ruleNameHasBeenSet = false;
105 bool m_afterHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace SES
110} // namespace Aws
AWS_SES_API Aws::String SerializePayload() const override
SetReceiptRulePositionRequest & WithRuleName(RuleNameT &&value)
SetReceiptRulePositionRequest & WithRuleSetName(RuleSetNameT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
SetReceiptRulePositionRequest & WithAfter(AfterT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String