AWS SDK for C++  1.9.1
AWS SDK for C++
DeleteReceiptRuleSetRequest.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 
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 "DeleteReceiptRuleSet"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
49  inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
50 
54  inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
55 
59  inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
60 
64  inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
65 
69  inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
70 
74  inline DeleteReceiptRuleSetRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
75 
79  inline DeleteReceiptRuleSetRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
80 
84  inline DeleteReceiptRuleSetRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
85 
86  private:
87 
88  Aws::String m_ruleSetName;
89  bool m_ruleSetNameHasBeenSet;
90  };
91 
92 } // namespace Model
93 } // namespace SES
94 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::DeleteReceiptRuleSetRequest::WithRuleSetName
DeleteReceiptRuleSetRequest & WithRuleSetName(Aws::String &&value)
Definition: DeleteReceiptRuleSetRequest.h:79
Aws::SES::Model::DeleteReceiptRuleSetRequest::SetRuleSetName
void SetRuleSetName(const Aws::String &value)
Definition: DeleteReceiptRuleSetRequest.h:59
Aws::SES::Model::DeleteReceiptRuleSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteReceiptRuleSetRequest.h:37
Aws::SES::Model::DeleteReceiptRuleSetRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::DeleteReceiptRuleSetRequest::WithRuleSetName
DeleteReceiptRuleSetRequest & WithRuleSetName(const char *value)
Definition: DeleteReceiptRuleSetRequest.h:84
SESRequest.h
Aws::SES::Model::DeleteReceiptRuleSetRequest
Definition: DeleteReceiptRuleSetRequest.h:29
Aws::SES::Model::DeleteReceiptRuleSetRequest::DeleteReceiptRuleSetRequest
DeleteReceiptRuleSetRequest()
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::DeleteReceiptRuleSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::DeleteReceiptRuleSetRequest::RuleSetNameHasBeenSet
bool RuleSetNameHasBeenSet() const
Definition: DeleteReceiptRuleSetRequest.h:54
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::DeleteReceiptRuleSetRequest::SetRuleSetName
void SetRuleSetName(Aws::String &&value)
Definition: DeleteReceiptRuleSetRequest.h:64
Aws::SES::Model::DeleteReceiptRuleSetRequest::GetRuleSetName
const Aws::String & GetRuleSetName() const
Definition: DeleteReceiptRuleSetRequest.h:49
Aws::SES::Model::DeleteReceiptRuleSetRequest::WithRuleSetName
DeleteReceiptRuleSetRequest & WithRuleSetName(const Aws::String &value)
Definition: DeleteReceiptRuleSetRequest.h:74
Aws::SES::Model::DeleteReceiptRuleSetRequest::SetRuleSetName
void SetRuleSetName(const char *value)
Definition: DeleteReceiptRuleSetRequest.h:69