AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
53 inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
54 inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
55 inline UpdateReceiptRuleRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
56 inline UpdateReceiptRuleRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
57 inline UpdateReceiptRuleRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
59
61
64 inline const ReceiptRule& GetRule() const{ return m_rule; }
65 inline bool RuleHasBeenSet() const { return m_ruleHasBeenSet; }
66 inline void SetRule(const ReceiptRule& value) { m_ruleHasBeenSet = true; m_rule = value; }
67 inline void SetRule(ReceiptRule&& value) { m_ruleHasBeenSet = true; m_rule = std::move(value); }
68 inline UpdateReceiptRuleRequest& WithRule(const ReceiptRule& value) { SetRule(value); return *this;}
69 inline UpdateReceiptRuleRequest& WithRule(ReceiptRule&& value) { SetRule(std::move(value)); return *this;}
71 private:
72
73 Aws::String m_ruleSetName;
74 bool m_ruleSetNameHasBeenSet = false;
75
76 ReceiptRule m_rule;
77 bool m_ruleHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SES
82} // namespace Aws
virtual const char * GetServiceRequestName() const override
UpdateReceiptRuleRequest & WithRuleSetName(const Aws::String &value)
AWS_SES_API Aws::String SerializePayload() const override
UpdateReceiptRuleRequest & WithRule(const ReceiptRule &value)
UpdateReceiptRuleRequest & WithRuleSetName(Aws::String &&value)
UpdateReceiptRuleRequest & WithRuleSetName(const char *value)
UpdateReceiptRuleRequest & WithRule(ReceiptRule &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String