AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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:
31 AWS_SES_API SetReceiptRulePositionRequest() = default;
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 template<typename RuleSetNameT = Aws::String>
54 void SetRuleSetName(RuleSetNameT&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::forward<RuleSetNameT>(value); }
55 template<typename RuleSetNameT = Aws::String>
56 SetReceiptRulePositionRequest& WithRuleSetName(RuleSetNameT&& value) { SetRuleSetName(std::forward<RuleSetNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetRuleName() const { return m_ruleName; }
64 inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
65 template<typename RuleNameT = Aws::String>
66 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::forward<RuleNameT>(value); }
67 template<typename RuleNameT = Aws::String>
68 SetReceiptRulePositionRequest& WithRuleName(RuleNameT&& value) { SetRuleName(std::forward<RuleNameT>(value)); return *this;}
70
72
76 inline const Aws::String& GetAfter() const { return m_after; }
77 inline bool AfterHasBeenSet() const { return m_afterHasBeenSet; }
78 template<typename AfterT = Aws::String>
79 void SetAfter(AfterT&& value) { m_afterHasBeenSet = true; m_after = std::forward<AfterT>(value); }
80 template<typename AfterT = Aws::String>
81 SetReceiptRulePositionRequest& WithAfter(AfterT&& value) { SetAfter(std::forward<AfterT>(value)); return *this;}
83 private:
84
85 Aws::String m_ruleSetName;
86 bool m_ruleSetNameHasBeenSet = false;
87
88 Aws::String m_ruleName;
89 bool m_ruleNameHasBeenSet = false;
90
91 Aws::String m_after;
92 bool m_afterHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace SES
97} // 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