AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
54 inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
55 inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
56 inline ReorderReceiptRuleSetRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
57 inline ReorderReceiptRuleSetRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
58 inline ReorderReceiptRuleSetRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
60
62
65 inline const Aws::Vector<Aws::String>& GetRuleNames() const{ return m_ruleNames; }
66 inline bool RuleNamesHasBeenSet() const { return m_ruleNamesHasBeenSet; }
67 inline void SetRuleNames(const Aws::Vector<Aws::String>& value) { m_ruleNamesHasBeenSet = true; m_ruleNames = value; }
68 inline void SetRuleNames(Aws::Vector<Aws::String>&& value) { m_ruleNamesHasBeenSet = true; m_ruleNames = std::move(value); }
70 inline ReorderReceiptRuleSetRequest& WithRuleNames(Aws::Vector<Aws::String>&& value) { SetRuleNames(std::move(value)); return *this;}
71 inline ReorderReceiptRuleSetRequest& AddRuleNames(const Aws::String& value) { m_ruleNamesHasBeenSet = true; m_ruleNames.push_back(value); return *this; }
72 inline ReorderReceiptRuleSetRequest& AddRuleNames(Aws::String&& value) { m_ruleNamesHasBeenSet = true; m_ruleNames.push_back(std::move(value)); return *this; }
73 inline ReorderReceiptRuleSetRequest& AddRuleNames(const char* value) { m_ruleNamesHasBeenSet = true; m_ruleNames.push_back(value); return *this; }
75 private:
76
77 Aws::String m_ruleSetName;
78 bool m_ruleSetNameHasBeenSet = false;
79
80 Aws::Vector<Aws::String> m_ruleNames;
81 bool m_ruleNamesHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace SES
86} // namespace Aws
AWS_SES_API Aws::String SerializePayload() const override
ReorderReceiptRuleSetRequest & WithRuleNames(const Aws::Vector< Aws::String > &value)
AWS_SES_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
ReorderReceiptRuleSetRequest & WithRuleSetName(const char *value)
ReorderReceiptRuleSetRequest & WithRuleNames(Aws::Vector< Aws::String > &&value)
ReorderReceiptRuleSetRequest & AddRuleNames(const Aws::String &value)
ReorderReceiptRuleSetRequest & WithRuleSetName(Aws::String &&value)
void SetRuleNames(const Aws::Vector< Aws::String > &value)
ReorderReceiptRuleSetRequest & WithRuleSetName(const Aws::String &value)
const Aws::Vector< Aws::String > & GetRuleNames() const
void SetRuleNames(Aws::Vector< Aws::String > &&value)
ReorderReceiptRuleSetRequest & AddRuleNames(const char *value)
ReorderReceiptRuleSetRequest & AddRuleNames(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector