AWS SDK for C++  1.9.46
AWS SDK for C++
DeleteReceiptRuleRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SES
15 {
16 namespace Model
17 {
18 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "DeleteReceiptRule"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
49  inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
50 
55  inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
56 
61  inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
62 
67  inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
68 
73  inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
74 
79  inline DeleteReceiptRuleRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
80 
85  inline DeleteReceiptRuleRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
86 
91  inline DeleteReceiptRuleRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
92 
93 
97  inline const Aws::String& GetRuleName() const{ return m_ruleName; }
98 
102  inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
103 
107  inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
108 
112  inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
113 
117  inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
118 
122  inline DeleteReceiptRuleRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
123 
127  inline DeleteReceiptRuleRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
128 
132  inline DeleteReceiptRuleRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;}
133 
134  private:
135 
136  Aws::String m_ruleSetName;
137  bool m_ruleSetNameHasBeenSet;
138 
139  Aws::String m_ruleName;
140  bool m_ruleNameHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace SES
145 } // namespace Aws
Aws::SES::Model::DeleteReceiptRuleRequest::RuleNameHasBeenSet
bool RuleNameHasBeenSet() const
Definition: DeleteReceiptRuleRequest.h:102
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::DeleteReceiptRuleRequest
Definition: DeleteReceiptRuleRequest.h:28
Aws::SES::Model::DeleteReceiptRuleRequest::SetRuleSetName
void SetRuleSetName(const Aws::String &value)
Definition: DeleteReceiptRuleRequest.h:61
Aws::SES::Model::DeleteReceiptRuleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::DeleteReceiptRuleRequest::WithRuleSetName
DeleteReceiptRuleRequest & WithRuleSetName(const Aws::String &value)
Definition: DeleteReceiptRuleRequest.h:79
Aws::SES::Model::DeleteReceiptRuleRequest::RuleSetNameHasBeenSet
bool RuleSetNameHasBeenSet() const
Definition: DeleteReceiptRuleRequest.h:55
Aws::SES::Model::DeleteReceiptRuleRequest::GetRuleName
const Aws::String & GetRuleName() const
Definition: DeleteReceiptRuleRequest.h:97
Aws::SES::Model::DeleteReceiptRuleRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::DeleteReceiptRuleRequest::WithRuleSetName
DeleteReceiptRuleRequest & WithRuleSetName(const char *value)
Definition: DeleteReceiptRuleRequest.h:91
Aws::SES::Model::DeleteReceiptRuleRequest::SetRuleName
void SetRuleName(Aws::String &&value)
Definition: DeleteReceiptRuleRequest.h:112
Aws::SES::Model::DeleteReceiptRuleRequest::DeleteReceiptRuleRequest
DeleteReceiptRuleRequest()
Aws::SES::Model::DeleteReceiptRuleRequest::SetRuleSetName
void SetRuleSetName(const char *value)
Definition: DeleteReceiptRuleRequest.h:73
SESRequest.h
Aws::SES::Model::DeleteReceiptRuleRequest::WithRuleName
DeleteReceiptRuleRequest & WithRuleName(const char *value)
Definition: DeleteReceiptRuleRequest.h:132
Aws::SES::Model::DeleteReceiptRuleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteReceiptRuleRequest.h:36
AWSString.h
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::DeleteReceiptRuleRequest::SetRuleName
void SetRuleName(const Aws::String &value)
Definition: DeleteReceiptRuleRequest.h:107
Aws::SES::Model::DeleteReceiptRuleRequest::WithRuleName
DeleteReceiptRuleRequest & WithRuleName(Aws::String &&value)
Definition: DeleteReceiptRuleRequest.h:127
Aws::SES::Model::DeleteReceiptRuleRequest::WithRuleName
DeleteReceiptRuleRequest & WithRuleName(const Aws::String &value)
Definition: DeleteReceiptRuleRequest.h:122
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::DeleteReceiptRuleRequest::WithRuleSetName
DeleteReceiptRuleRequest & WithRuleSetName(Aws::String &&value)
Definition: DeleteReceiptRuleRequest.h:85
Aws::SES::Model::DeleteReceiptRuleRequest::SetRuleSetName
void SetRuleSetName(Aws::String &&value)
Definition: DeleteReceiptRuleRequest.h:67
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::DeleteReceiptRuleRequest::SetRuleName
void SetRuleName(const char *value)
Definition: DeleteReceiptRuleRequest.h:117
Aws::SES::Model::DeleteReceiptRuleRequest::GetRuleSetName
const Aws::String & GetRuleSetName() const
Definition: DeleteReceiptRuleRequest.h:49