AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateReceiptRuleRequest.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 <aws/email/model/ReceiptRule.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SES
16{
17namespace Model
18{
19
29 {
30 public:
31 AWS_SES_API UpdateReceiptRuleRequest() = 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 "UpdateReceiptRule"; }
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
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) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::forward<RuleSetNameT>(value); }
54 template<typename RuleSetNameT = Aws::String>
55 UpdateReceiptRuleRequest& WithRuleSetName(RuleSetNameT&& value) { SetRuleSetName(std::forward<RuleSetNameT>(value)); return *this;}
57
59
62 inline const ReceiptRule& GetRule() const { return m_rule; }
63 inline bool RuleHasBeenSet() const { return m_ruleHasBeenSet; }
64 template<typename RuleT = ReceiptRule>
65 void SetRule(RuleT&& value) { m_ruleHasBeenSet = true; m_rule = std::forward<RuleT>(value); }
66 template<typename RuleT = ReceiptRule>
67 UpdateReceiptRuleRequest& WithRule(RuleT&& value) { SetRule(std::forward<RuleT>(value)); return *this;}
69 private:
70
71 Aws::String m_ruleSetName;
72 bool m_ruleSetNameHasBeenSet = false;
73
74 ReceiptRule m_rule;
75 bool m_ruleHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace SES
80} // 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