AWS SDK for C++  1.8.128
AWS SDK for C++
ReorderReceiptRuleSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
8 #include <aws/email/SESRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace SES
16 {
17 namespace 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::String SerializePayload() const override;
41 
42  protected:
43  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
44 
45  public:
46 
50  inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
51 
55  inline bool RuleSetNameHasBeenSet() const { return m_ruleSetNameHasBeenSet; }
56 
60  inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
61 
65  inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = std::move(value); }
66 
70  inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
71 
75  inline ReorderReceiptRuleSetRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
76 
80  inline ReorderReceiptRuleSetRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(std::move(value)); return *this;}
81 
85  inline ReorderReceiptRuleSetRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
86 
87 
92  inline const Aws::Vector<Aws::String>& GetRuleNames() const{ return m_ruleNames; }
93 
98  inline bool RuleNamesHasBeenSet() const { return m_ruleNamesHasBeenSet; }
99 
104  inline void SetRuleNames(const Aws::Vector<Aws::String>& value) { m_ruleNamesHasBeenSet = true; m_ruleNames = value; }
105 
110  inline void SetRuleNames(Aws::Vector<Aws::String>&& value) { m_ruleNamesHasBeenSet = true; m_ruleNames = std::move(value); }
111 
116  inline ReorderReceiptRuleSetRequest& WithRuleNames(const Aws::Vector<Aws::String>& value) { SetRuleNames(value); return *this;}
117 
122  inline ReorderReceiptRuleSetRequest& WithRuleNames(Aws::Vector<Aws::String>&& value) { SetRuleNames(std::move(value)); return *this;}
123 
128  inline ReorderReceiptRuleSetRequest& AddRuleNames(const Aws::String& value) { m_ruleNamesHasBeenSet = true; m_ruleNames.push_back(value); return *this; }
129 
134  inline ReorderReceiptRuleSetRequest& AddRuleNames(Aws::String&& value) { m_ruleNamesHasBeenSet = true; m_ruleNames.push_back(std::move(value)); return *this; }
135 
140  inline ReorderReceiptRuleSetRequest& AddRuleNames(const char* value) { m_ruleNamesHasBeenSet = true; m_ruleNames.push_back(value); return *this; }
141 
142  private:
143 
144  Aws::String m_ruleSetName;
145  bool m_ruleSetNameHasBeenSet;
146 
147  Aws::Vector<Aws::String> m_ruleNames;
148  bool m_ruleNamesHasBeenSet;
149  };
150 
151 } // namespace Model
152 } // namespace SES
153 } // namespace Aws
Aws::Http::URI
Definition: URI.h:32
Aws::SES::Model::ReorderReceiptRuleSetRequest::RuleSetNameHasBeenSet
bool RuleSetNameHasBeenSet() const
Definition: ReorderReceiptRuleSetRequest.h:55
Aws::SES::Model::ReorderReceiptRuleSetRequest::SetRuleSetName
void SetRuleSetName(const Aws::String &value)
Definition: ReorderReceiptRuleSetRequest.h:60
Aws::SES::Model::ReorderReceiptRuleSetRequest::SetRuleSetName
void SetRuleSetName(Aws::String &&value)
Definition: ReorderReceiptRuleSetRequest.h:65
Aws::SES::Model::ReorderReceiptRuleSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ReorderReceiptRuleSetRequest.h:38
Aws::SES::Model::ReorderReceiptRuleSetRequest::AddRuleNames
ReorderReceiptRuleSetRequest & AddRuleNames(const char *value)
Definition: ReorderReceiptRuleSetRequest.h:140
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SES::Model::ReorderReceiptRuleSetRequest::GetRuleNames
const Aws::Vector< Aws::String > & GetRuleNames() const
Definition: ReorderReceiptRuleSetRequest.h:92
AWSVector.h
Aws::SES::Model::ReorderReceiptRuleSetRequest::WithRuleNames
ReorderReceiptRuleSetRequest & WithRuleNames(const Aws::Vector< Aws::String > &value)
Definition: ReorderReceiptRuleSetRequest.h:116
Aws::SES::Model::ReorderReceiptRuleSetRequest::AddRuleNames
ReorderReceiptRuleSetRequest & AddRuleNames(Aws::String &&value)
Definition: ReorderReceiptRuleSetRequest.h:134
Aws::SES::Model::ReorderReceiptRuleSetRequest::WithRuleSetName
ReorderReceiptRuleSetRequest & WithRuleSetName(const Aws::String &value)
Definition: ReorderReceiptRuleSetRequest.h:75
Aws::SES::Model::ReorderReceiptRuleSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SES::Model::ReorderReceiptRuleSetRequest
Definition: ReorderReceiptRuleSetRequest.h:30
Aws::SES::Model::ReorderReceiptRuleSetRequest::SetRuleNames
void SetRuleNames(const Aws::Vector< Aws::String > &value)
Definition: ReorderReceiptRuleSetRequest.h:104
SESRequest.h
Aws::SES::Model::ReorderReceiptRuleSetRequest::AddRuleNames
ReorderReceiptRuleSetRequest & AddRuleNames(const Aws::String &value)
Definition: ReorderReceiptRuleSetRequest.h:128
AWSString.h
Aws::SES::Model::ReorderReceiptRuleSetRequest::WithRuleNames
ReorderReceiptRuleSetRequest & WithRuleNames(Aws::Vector< Aws::String > &&value)
Definition: ReorderReceiptRuleSetRequest.h:122
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ReorderReceiptRuleSetRequest::SetRuleSetName
void SetRuleSetName(const char *value)
Definition: ReorderReceiptRuleSetRequest.h:70
Aws::SES::SESRequest
Definition: SESRequest.h:17
Aws::SES::Model::ReorderReceiptRuleSetRequest::RuleNamesHasBeenSet
bool RuleNamesHasBeenSet() const
Definition: ReorderReceiptRuleSetRequest.h:98
Aws::SES::Model::ReorderReceiptRuleSetRequest::WithRuleSetName
ReorderReceiptRuleSetRequest & WithRuleSetName(Aws::String &&value)
Definition: ReorderReceiptRuleSetRequest.h:80
Aws::SES::Model::ReorderReceiptRuleSetRequest::GetRuleSetName
const Aws::String & GetRuleSetName() const
Definition: ReorderReceiptRuleSetRequest.h:50
Aws::SES::Model::ReorderReceiptRuleSetRequest::ReorderReceiptRuleSetRequest
ReorderReceiptRuleSetRequest()
Aws::SES::Model::ReorderReceiptRuleSetRequest::WithRuleSetName
ReorderReceiptRuleSetRequest & WithRuleSetName(const char *value)
Definition: ReorderReceiptRuleSetRequest.h:85
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ReorderReceiptRuleSetRequest::SetRuleNames
void SetRuleNames(Aws::Vector< Aws::String > &&value)
Definition: ReorderReceiptRuleSetRequest.h:110
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SES::Model::ReorderReceiptRuleSetRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override