AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
UpdateReceiptRuleRequest.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#include <aws/email/model/ReceiptRule.h>
11
12#include <utility>
13
14namespace Aws {
15namespace SES {
16namespace Model {
17
27 public:
28 AWS_SES_API UpdateReceiptRuleRequest() = 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 "UpdateReceiptRule"; }
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
46 inline const Aws::String& GetRuleSetName() const { return m_ruleSetName; }
47 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
48 template <typename RuleSetNameT = Aws::String>
49 void SetRuleSetName(RuleSetNameT&& value) {
50 m_ruleSetNameHasBeenSet = true;
51 m_ruleSetName = std::forward<RuleSetNameT>(value);
52 }
53 template <typename RuleSetNameT = Aws::String>
55 SetRuleSetName(std::forward<RuleSetNameT>(value));
56 return *this;
57 }
59
61
64 inline const ReceiptRule& GetRule() const { return m_rule; }
65 inline bool RuleHasBeenSet() const { return m_ruleHasBeenSet; }
66 template <typename RuleT = ReceiptRule>
67 void SetRule(RuleT&& value) {
68 m_ruleHasBeenSet = true;
69 m_rule = std::forward<RuleT>(value);
70 }
71 template <typename RuleT = ReceiptRule>
73 SetRule(std::forward<RuleT>(value));
74 return *this;
75 }
77 private:
78 Aws::String m_ruleSetName;
79
80 ReceiptRule m_rule;
81 bool m_ruleSetNameHasBeenSet = false;
82 bool m_ruleHasBeenSet = false;
83};
84
85} // namespace Model
86} // namespace SES
87} // namespace Aws
virtual const char * GetServiceRequestName() const override
AWS_SES_API Aws::String SerializePayload() const override
UpdateReceiptRuleRequest & WithRule(RuleT &&value)
AWS_SES_API UpdateReceiptRuleRequest()=default
UpdateReceiptRuleRequest & WithRuleSetName(RuleSetNameT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String