AWS SDK for C++  1.8.71
AWS SDK for C++
SetReceiptRulePositionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 namespace Model
17 {
18 
29  {
30  public:
32 
33  // Service request name is the Operation name which will send this request out,
34  // each operation should has unique request name, so that we can get operation's name from this request.
35  // Note: this is not true for response, multiple operations may have the same response name,
36  // so we can not get operation's name from response.
37  inline virtual const char* GetServiceRequestName() const override { return "SetReceiptRulePosition"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
50  inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
51 
56  inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
57 
62  inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
63 
68  inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
69 
74  inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
75 
80  inline SetReceiptRulePositionRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
81 
86  inline SetReceiptRulePositionRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
87 
92  inline SetReceiptRulePositionRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
93 
94 
98  inline const Aws::String& GetRuleName() const{ return m_ruleName; }
99 
103  inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
104 
108  inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
109 
113  inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
114 
118  inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
119 
123  inline SetReceiptRulePositionRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
124 
128  inline SetReceiptRulePositionRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
129 
133  inline SetReceiptRulePositionRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;}
134 
135 
140  inline const Aws::String& GetAfter() const{ return m_after; }
141 
146  inline bool AfterHasBeenSet() const { return m_afterHasBeenSet; }
147 
152  inline void SetAfter(const Aws::String& value) { m_afterHasBeenSet = true; m_after = value; }
153 
158  inline void SetAfter(Aws::String&& value) { m_afterHasBeenSet = true; m_after = std::move(value); }
159 
164  inline void SetAfter(const char* value) { m_afterHasBeenSet = true; m_after.assign(value); }
165 
170  inline SetReceiptRulePositionRequest& WithAfter(const Aws::String& value) { SetAfter(value); return *this;}
171 
176  inline SetReceiptRulePositionRequest& WithAfter(Aws::String&& value) { SetAfter(std::move(value)); return *this;}
177 
182  inline SetReceiptRulePositionRequest& WithAfter(const char* value) { SetAfter(value); return *this;}
183 
184  private:
185 
186  Aws::String m_ruleSetName;
187  bool m_ruleSetNameHasBeenSet;
188 
189  Aws::String m_ruleName;
190  bool m_ruleNameHasBeenSet;
191 
192  Aws::String m_after;
193  bool m_afterHasBeenSet;
194  };
195 
196 } // namespace Model
197 } // namespace SES
198 } // namespace Aws
SetReceiptRulePositionRequest & WithRuleSetName(const Aws::String &value)
SetReceiptRulePositionRequest & WithRuleName(const char *value)
SetReceiptRulePositionRequest & WithRuleName(Aws::String &&value)
SetReceiptRulePositionRequest & WithAfter(const Aws::String &value)
SetReceiptRulePositionRequest & WithRuleName(const Aws::String &value)
SetReceiptRulePositionRequest & WithRuleSetName(Aws::String &&value)
SetReceiptRulePositionRequest & WithAfter(Aws::String &&value)
SetReceiptRulePositionRequest & WithRuleSetName(const char *value)
SetReceiptRulePositionRequest & WithAfter(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
virtual const char * GetServiceRequestName() const override