AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
CloneReceiptRuleSetRequest.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 CloneReceiptRuleSetRequest() = 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 "CloneReceiptRuleSet"; }
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
50 inline const Aws::String& GetRuleSetName() const { return m_ruleSetName; }
51 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
52 template <typename RuleSetNameT = Aws::String>
53 void SetRuleSetName(RuleSetNameT&& value) {
54 m_ruleSetNameHasBeenSet = true;
55 m_ruleSetName = std::forward<RuleSetNameT>(value);
56 }
57 template <typename RuleSetNameT = Aws::String>
59 SetRuleSetName(std::forward<RuleSetNameT>(value));
60 return *this;
61 }
63
65
68 inline const Aws::String& GetOriginalRuleSetName() const { return m_originalRuleSetName; }
69 inline bool OriginalRuleSetNameHasBeenSet() const { return m_originalRuleSetNameHasBeenSet; }
70 template <typename OriginalRuleSetNameT = Aws::String>
71 void SetOriginalRuleSetName(OriginalRuleSetNameT&& value) {
72 m_originalRuleSetNameHasBeenSet = true;
73 m_originalRuleSetName = std::forward<OriginalRuleSetNameT>(value);
74 }
75 template <typename OriginalRuleSetNameT = Aws::String>
76 CloneReceiptRuleSetRequest& WithOriginalRuleSetName(OriginalRuleSetNameT&& value) {
77 SetOriginalRuleSetName(std::forward<OriginalRuleSetNameT>(value));
78 return *this;
79 }
81 private:
82 Aws::String m_ruleSetName;
83
84 Aws::String m_originalRuleSetName;
85 bool m_ruleSetNameHasBeenSet = false;
86 bool m_originalRuleSetNameHasBeenSet = false;
87};
88
89} // namespace Model
90} // namespace SES
91} // namespace Aws
CloneReceiptRuleSetRequest & WithOriginalRuleSetName(OriginalRuleSetNameT &&value)
CloneReceiptRuleSetRequest & WithRuleSetName(RuleSetNameT &&value)
AWS_SES_API Aws::String SerializePayload() const override
void SetOriginalRuleSetName(OriginalRuleSetNameT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
AWS_SES_API CloneReceiptRuleSetRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String