AWS SDK for C++  1.8.76
AWS SDK for C++
CreateReceiptRuleSetRequest.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 "CreateReceiptRuleSet"; }
37 
38  Aws::String SerializePayload() const override;
39 
40  protected:
41  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42 
43  public:
44 
51  inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
52 
59  inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
60 
67  inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
68 
75  inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
76 
83  inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
84 
91  inline CreateReceiptRuleSetRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
92 
99  inline CreateReceiptRuleSetRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
100 
107  inline CreateReceiptRuleSetRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
108 
109  private:
110 
111  Aws::String m_ruleSetName;
112  bool m_ruleSetNameHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace SES
117 } // namespace Aws
CreateReceiptRuleSetRequest & WithRuleSetName(const char *value)
CreateReceiptRuleSetRequest & WithRuleSetName(const Aws::String &value)
CreateReceiptRuleSetRequest & WithRuleSetName(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
#define AWS_SES_API
Definition: SES_EXPORTS.h:28