AWS SDK for C++  1.8.129
AWS SDK for C++
DescribeReceiptRuleRequest.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 "DescribeReceiptRule"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
48  inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
49 
53  inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
54 
58  inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
59 
63  inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
64 
68  inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
69 
73  inline DescribeReceiptRuleRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
74 
78  inline DescribeReceiptRuleRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
79 
83  inline DescribeReceiptRuleRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
84 
85 
89  inline const Aws::String& GetRuleName() const{ return m_ruleName; }
90 
94  inline bool RuleNameHasBeenSet() const { return m_ruleNameHasBeenSet; }
95 
99  inline void SetRuleName(const Aws::String& value) { m_ruleNameHasBeenSet = true; m_ruleName = value; }
100 
104  inline void SetRuleName(Aws::String&& value) { m_ruleNameHasBeenSet = true; m_ruleName = std::move(value); }
105 
109  inline void SetRuleName(const char* value) { m_ruleNameHasBeenSet = true; m_ruleName.assign(value); }
110 
114  inline DescribeReceiptRuleRequest& WithRuleName(const Aws::String& value) { SetRuleName(value); return *this;}
115 
119  inline DescribeReceiptRuleRequest& WithRuleName(Aws::String&& value) { SetRuleName(std::move(value)); return *this;}
120 
124  inline DescribeReceiptRuleRequest& WithRuleName(const char* value) { SetRuleName(value); return *this;}
125 
126  private:
127 
128  Aws::String m_ruleSetName;
129  bool m_ruleSetNameHasBeenSet;
130 
131  Aws::String m_ruleName;
132  bool m_ruleNameHasBeenSet;
133  };
134 
135 } // namespace Model
136 } // namespace SES
137 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::DescribeReceiptRuleRequest::DescribeReceiptRuleRequest
DescribeReceiptRuleRequest()
Aws::SES::Model::DescribeReceiptRuleRequest::SetRuleSetName
void SetRuleSetName(Aws::String &&value)
Definition: DescribeReceiptRuleRequest.h:63
Aws::SES::Model::DescribeReceiptRuleRequest::SetRuleSetName
void SetRuleSetName(const char *value)
Definition: DescribeReceiptRuleRequest.h:68
Aws::SES::Model::DescribeReceiptRuleRequest::WithRuleName
DescribeReceiptRuleRequest & WithRuleName(const Aws::String &value)
Definition: DescribeReceiptRuleRequest.h:114
Aws::SES::Model::DescribeReceiptRuleRequest::SetRuleName
void SetRuleName(Aws::String &&value)
Definition: DescribeReceiptRuleRequest.h:104
Aws::SES::Model::DescribeReceiptRuleRequest::WithRuleName
DescribeReceiptRuleRequest & WithRuleName(Aws::String &&value)
Definition: DescribeReceiptRuleRequest.h:119
Aws::SES::Model::DescribeReceiptRuleRequest::WithRuleSetName
DescribeReceiptRuleRequest & WithRuleSetName(Aws::String &&value)
Definition: DescribeReceiptRuleRequest.h:78
SESRequest.h
Aws::SES::Model::DescribeReceiptRuleRequest::WithRuleName
DescribeReceiptRuleRequest & WithRuleName(const char *value)
Definition: DescribeReceiptRuleRequest.h:124
Aws::SES::Model::DescribeReceiptRuleRequest::SetRuleName
void SetRuleName(const char *value)
Definition: DescribeReceiptRuleRequest.h:109
Aws::SES::Model::DescribeReceiptRuleRequest::GetRuleName
const Aws::String & GetRuleName() const
Definition: DescribeReceiptRuleRequest.h:89
AWSString.h
Aws::SES::Model::DescribeReceiptRuleRequest::WithRuleSetName
DescribeReceiptRuleRequest & WithRuleSetName(const char *value)
Definition: DescribeReceiptRuleRequest.h:83
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::DescribeReceiptRuleRequest
Definition: DescribeReceiptRuleRequest.h:28
Aws::SES::Model::DescribeReceiptRuleRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::DescribeReceiptRuleRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::DescribeReceiptRuleRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeReceiptRuleRequest.h:36
Aws::SES::Model::DescribeReceiptRuleRequest::GetRuleSetName
const Aws::String & GetRuleSetName() const
Definition: DescribeReceiptRuleRequest.h:48
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::DescribeReceiptRuleRequest::SetRuleName
void SetRuleName(const Aws::String &value)
Definition: DescribeReceiptRuleRequest.h:99
Aws::SES::Model::DescribeReceiptRuleRequest::RuleSetNameHasBeenSet
bool RuleSetNameHasBeenSet() const
Definition: DescribeReceiptRuleRequest.h:53
Aws::SES::Model::DescribeReceiptRuleRequest::WithRuleSetName
DescribeReceiptRuleRequest & WithRuleSetName(const Aws::String &value)
Definition: DescribeReceiptRuleRequest.h:73
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::DescribeReceiptRuleRequest::SetRuleSetName
void SetRuleSetName(const Aws::String &value)
Definition: DescribeReceiptRuleRequest.h:58
Aws::SES::Model::DescribeReceiptRuleRequest::RuleNameHasBeenSet
bool RuleNameHasBeenSet() const
Definition: DescribeReceiptRuleRequest.h:94