AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SetReceiptRulePositionRequest.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
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_SES_API Aws::String SerializePayload() const override;
40
41 protected:
42 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43
44 public:
45
47
51 inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
52 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
53 inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
54 inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
55 inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
56 inline SetReceiptRulePositionRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
57 inline SetReceiptRulePositionRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
58 inline SetReceiptRulePositionRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
60
62
65 inline const Aws::String& GetRuleName() const{ return m_ruleName; }
66 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
67 inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
68 inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
69 inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
70 inline SetReceiptRulePositionRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
71 inline SetReceiptRulePositionRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
72 inline SetReceiptRulePositionRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;}
74
76
80 inline const Aws::String& GetAfter() const{ return m_after; }
81 inline bool AfterHasBeenSet() const { return m_afterHasBeenSet; }
82 inline void SetAfter(const Aws::String& value) { m_afterHasBeenSet = true; m_after = value; }
83 inline void SetAfter(Aws::String&& value) { m_afterHasBeenSet = true; m_after = std::move(value); }
84 inline void SetAfter(const char* value) { m_afterHasBeenSet = true; m_after.assign(value); }
85 inline SetReceiptRulePositionRequest& WithAfter(const Aws::String& value) { SetAfter(value); return *this;}
86 inline SetReceiptRulePositionRequest& WithAfter(Aws::String&& value) { SetAfter(std::move(value)); return *this;}
87 inline SetReceiptRulePositionRequest& WithAfter(const char* value) { SetAfter(value); return *this;}
89 private:
90
91 Aws::String m_ruleSetName;
92 bool m_ruleSetNameHasBeenSet = false;
93
94 Aws::String m_ruleName;
95 bool m_ruleNameHasBeenSet = false;
96
97 Aws::String m_after;
98 bool m_afterHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace SES
103} // namespace Aws
SetReceiptRulePositionRequest & WithAfter(Aws::String &&value)
AWS_SES_API Aws::String SerializePayload() const override
SetReceiptRulePositionRequest & WithAfter(const Aws::String &value)
SetReceiptRulePositionRequest & WithAfter(const char *value)
SetReceiptRulePositionRequest & WithRuleName(Aws::String &&value)
SetReceiptRulePositionRequest & WithRuleSetName(const char *value)
SetReceiptRulePositionRequest & WithRuleName(const Aws::String &value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
SetReceiptRulePositionRequest & WithRuleName(const char *value)
SetReceiptRulePositionRequest & WithRuleSetName(Aws::String &&value)
SetReceiptRulePositionRequest & WithRuleSetName(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String