AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ReorderReceiptRuleSetRequest.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 <aws/core/utils/memory/stl/AWSVector.h>
11#include <utility>
12
13namespace Aws
14{
15namespace SES
16{
17namespace Model
18{
19
30 {
31 public:
32 AWS_SES_API ReorderReceiptRuleSetRequest() = default;
33
34 // Service request name is the Operation name which will send this request out,
35 // each operation should has unique request name, so that we can get operation's name from this request.
36 // Note: this is not true for response, multiple operations may have the same response name,
37 // so we can not get operation's name from response.
38 inline virtual const char* GetServiceRequestName() const override { return "ReorderReceiptRuleSet"; }
39
40 AWS_SES_API Aws::String SerializePayload() const override;
41
42 protected:
43 AWS_SES_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44
45 public:
46
48
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 ReorderReceiptRuleSetRequest& WithRuleSetName(RuleSetNameT&& value) { SetRuleSetName(std::forward<RuleSetNameT>(value)); return *this;}
58
60
63 inline const Aws::Vector<Aws::String>& GetRuleNames() const { return m_ruleNames; }
64 inline bool RuleNamesHasBeenSet() const { return m_ruleNamesHasBeenSet; }
65 template<typename RuleNamesT = Aws::Vector<Aws::String>>
66 void SetRuleNames(RuleNamesT&& value) { m_ruleNamesHasBeenSet = true; m_ruleNames = std::forward<RuleNamesT>(value); }
67 template<typename RuleNamesT = Aws::Vector<Aws::String>>
68 ReorderReceiptRuleSetRequest& WithRuleNames(RuleNamesT&& value) { SetRuleNames(std::forward<RuleNamesT>(value)); return *this;}
69 template<typename RuleNamesT = Aws::String>
70 ReorderReceiptRuleSetRequest& AddRuleNames(RuleNamesT&& value) { m_ruleNamesHasBeenSet = true; m_ruleNames.emplace_back(std::forward<RuleNamesT>(value)); return *this; }
72 private:
73
74 Aws::String m_ruleSetName;
75 bool m_ruleSetNameHasBeenSet = false;
76
77 Aws::Vector<Aws::String> m_ruleNames;
78 bool m_ruleNamesHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace SES
83} // namespace Aws
AWS_SES_API Aws::String SerializePayload() const override
ReorderReceiptRuleSetRequest & AddRuleNames(RuleNamesT &&value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
ReorderReceiptRuleSetRequest & WithRuleSetName(RuleSetNameT &&value)
const Aws::Vector< Aws::String > & GetRuleNames() const
ReorderReceiptRuleSetRequest & WithRuleNames(RuleNamesT &&value)
AWS_SES_API ReorderReceiptRuleSetRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector