AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateReceiptRuleSetRequest.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/SESRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace SES
15{
16namespace 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_SES_API Aws::String SerializePayload() const override;
39
40 protected:
41 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
42
43 public:
44
46
53 inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
54 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
55 inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
56 inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
57 inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
58 inline CreateReceiptRuleSetRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
59 inline CreateReceiptRuleSetRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
60 inline CreateReceiptRuleSetRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
62 private:
63
64 Aws::String m_ruleSetName;
65 bool m_ruleSetNameHasBeenSet = false;
66 };
67
68} // namespace Model
69} // namespace SES
70} // namespace Aws
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateReceiptRuleSetRequest & WithRuleSetName(const char *value)
CreateReceiptRuleSetRequest & WithRuleSetName(Aws::String &&value)
AWS_SES_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
CreateReceiptRuleSetRequest & WithRuleSetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String