AWS SDK for C++

AWS SDK for C++ Version 1.11.766

Loading...
Searching...
No Matches
CreateReceiptRuleSetRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/email/SESRequest.h>
9#include <aws/email/SES_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SES {
15namespace Model {
16
26 public:
27 AWS_SES_API CreateReceiptRuleSetRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateReceiptRuleSet"; }
34
35 AWS_SES_API Aws::String SerializePayload() const override;
36
37 protected:
38 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri) const override;
39
40 public:
42
49 inline const Aws::String& GetRuleSetName() const { return m_ruleSetName; }
50 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
51 template <typename RuleSetNameT = Aws::String>
52 void SetRuleSetName(RuleSetNameT&& value) {
53 m_ruleSetNameHasBeenSet = true;
54 m_ruleSetName = std::forward<RuleSetNameT>(value);
55 }
56 template <typename RuleSetNameT = Aws::String>
58 SetRuleSetName(std::forward<RuleSetNameT>(value));
59 return *this;
60 }
62 private:
63 Aws::String m_ruleSetName;
64 bool m_ruleSetNameHasBeenSet = false;
65};
66
67} // namespace Model
68} // namespace SES
69} // 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