AWS SDK for C++

AWS SDK for C++ Version 1.11.605

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:
30 AWS_SES_API CreateReceiptRuleSetRequest() = default;
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 template<typename RuleSetNameT = Aws::String>
56 void SetRuleSetName(RuleSetNameT&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::forward<RuleSetNameT>(value); }
57 template<typename RuleSetNameT = Aws::String>
58 CreateReceiptRuleSetRequest& WithRuleSetName(RuleSetNameT&& value) { SetRuleSetName(std::forward<RuleSetNameT>(value)); return *this;}
60 private:
61
62 Aws::String m_ruleSetName;
63 bool m_ruleSetNameHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace SES
68} // namespace Aws
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
AWS_SES_API CreateReceiptRuleSetRequest()=default
AWS_SES_API Aws::String SerializePayload() const override
CreateReceiptRuleSetRequest & WithRuleSetName(RuleSetNameT &&value)
virtual const char * GetServiceRequestName() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String