AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
SetActiveReceiptRuleSetRequest.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
29 {
30 public:
31 AWS_SES_API SetActiveReceiptRuleSetRequest() = default;
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_SES_API Aws::String SerializePayload() const override;
40
41 protected:
42 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
43
44 public:
45
47
51 inline const Aws::String& GetRuleSetName() const { return m_ruleSetName; }
52 inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
53 template<typename RuleSetNameT = Aws::String>
54 void SetRuleSetName(RuleSetNameT&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::forward<RuleSetNameT>(value); }
55 template<typename RuleSetNameT = Aws::String>
56 SetActiveReceiptRuleSetRequest& WithRuleSetName(RuleSetNameT&& value) { SetRuleSetName(std::forward<RuleSetNameT>(value)); return *this;}
58 private:
59
60 Aws::String m_ruleSetName;
61 bool m_ruleSetNameHasBeenSet = false;
62 };
63
64} // namespace Model
65} // namespace SES
66} // namespace Aws
AWS_SES_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
SetActiveReceiptRuleSetRequest & WithRuleSetName(RuleSetNameT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String