AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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