AWS SDK for C++  1.8.129
AWS SDK for C++
SetActiveReceiptRuleSetRequest.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 "SetActiveReceiptRuleSet"; }
38 
39  Aws::String SerializePayload() const override;
40 
41  protected:
42  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43 
44  public:
45 
50  inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
51 
56  inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
57 
62  inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
63 
68  inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
69 
74  inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
75 
80  inline SetActiveReceiptRuleSetRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
81 
86  inline SetActiveReceiptRuleSetRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
87 
92  inline SetActiveReceiptRuleSetRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
93 
94  private:
95 
96  Aws::String m_ruleSetName;
97  bool m_ruleSetNameHasBeenSet;
98  };
99 
100 } // namespace Model
101 } // namespace SES
102 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::SetActiveReceiptRuleSetRequest::GetRuleSetName
const Aws::String & GetRuleSetName() const
Definition: SetActiveReceiptRuleSetRequest.h:50
Aws::SES::Model::SetActiveReceiptRuleSetRequest::SetRuleSetName
void SetRuleSetName(Aws::String &&value)
Definition: SetActiveReceiptRuleSetRequest.h:68
Aws::SES::Model::SetActiveReceiptRuleSetRequest
Definition: SetActiveReceiptRuleSetRequest.h:29
Aws::SES::Model::SetActiveReceiptRuleSetRequest::SetActiveReceiptRuleSetRequest
SetActiveReceiptRuleSetRequest()
Aws::SES::Model::SetActiveReceiptRuleSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: SetActiveReceiptRuleSetRequest.h:37
Aws::SES::Model::SetActiveReceiptRuleSetRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SES::Model::SetActiveReceiptRuleSetRequest::WithRuleSetName
SetActiveReceiptRuleSetRequest & WithRuleSetName(Aws::String &&value)
Definition: SetActiveReceiptRuleSetRequest.h:86
Aws::SES::Model::SetActiveReceiptRuleSetRequest::SetRuleSetName
void SetRuleSetName(const char *value)
Definition: SetActiveReceiptRuleSetRequest.h:74
SESRequest.h
Aws::SES::Model::SetActiveReceiptRuleSetRequest::WithRuleSetName
SetActiveReceiptRuleSetRequest & WithRuleSetName(const char *value)
Definition: SetActiveReceiptRuleSetRequest.h:92
Aws::SES::Model::SetActiveReceiptRuleSetRequest::RuleSetNameHasBeenSet
bool RuleSetNameHasBeenSet() const
Definition: SetActiveReceiptRuleSetRequest.h:56
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::SetActiveReceiptRuleSetRequest::WithRuleSetName
SetActiveReceiptRuleSetRequest & WithRuleSetName(const Aws::String &value)
Definition: SetActiveReceiptRuleSetRequest.h:80
Aws::SES::Model::SetActiveReceiptRuleSetRequest::SetRuleSetName
void SetRuleSetName(const Aws::String &value)
Definition: SetActiveReceiptRuleSetRequest.h:62
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::SetActiveReceiptRuleSetRequest::SerializePayload
Aws::String SerializePayload() const override