AWS SDK for C++  0.12.9
AWS SDK for C++
CloneReceiptRuleSetRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/email/SES_EXPORTS.h>
17 #include <aws/email/SESRequest.h>
19 
20 namespace Aws
21 {
22 namespace SES
23 {
24 namespace Model
25 {
26 
30  {
31  public:
33  Aws::String SerializePayload() const override;
34 
41  inline const Aws::String& GetRuleSetName() const{ return m_ruleSetName; }
42 
49  inline void SetRuleSetName(const Aws::String& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
50 
57  inline void SetRuleSetName(Aws::String&& value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName = value; }
58 
65  inline void SetRuleSetName(const char* value) { m_ruleSetNameHasBeenSet = true; m_ruleSetName.assign(value); }
66 
73  inline CloneReceiptRuleSetRequest& WithRuleSetName(const Aws::String& value) { SetRuleSetName(value); return *this;}
74 
81  inline CloneReceiptRuleSetRequest& WithRuleSetName(Aws::String&& value) { SetRuleSetName(value); return *this;}
82 
89  inline CloneReceiptRuleSetRequest& WithRuleSetName(const char* value) { SetRuleSetName(value); return *this;}
90 
94  inline const Aws::String& GetOriginalRuleSetName() const{ return m_originalRuleSetName; }
95 
99  inline void SetOriginalRuleSetName(const Aws::String& value) { m_originalRuleSetNameHasBeenSet = true; m_originalRuleSetName = value; }
100 
104  inline void SetOriginalRuleSetName(Aws::String&& value) { m_originalRuleSetNameHasBeenSet = true; m_originalRuleSetName = value; }
105 
109  inline void SetOriginalRuleSetName(const char* value) { m_originalRuleSetNameHasBeenSet = true; m_originalRuleSetName.assign(value); }
110 
114  inline CloneReceiptRuleSetRequest& WithOriginalRuleSetName(const Aws::String& value) { SetOriginalRuleSetName(value); return *this;}
115 
119  inline CloneReceiptRuleSetRequest& WithOriginalRuleSetName(Aws::String&& value) { SetOriginalRuleSetName(value); return *this;}
120 
124  inline CloneReceiptRuleSetRequest& WithOriginalRuleSetName(const char* value) { SetOriginalRuleSetName(value); return *this;}
125 
126  private:
127  Aws::String m_ruleSetName;
128  bool m_ruleSetNameHasBeenSet;
129  Aws::String m_originalRuleSetName;
130  bool m_originalRuleSetNameHasBeenSet;
131  };
132 
133 } // namespace Model
134 } // namespace SES
135 } // namespace Aws
CloneReceiptRuleSetRequest & WithRuleSetName(Aws::String &&value)
CloneReceiptRuleSetRequest & WithOriginalRuleSetName(const Aws::String &value)
CloneReceiptRuleSetRequest & WithRuleSetName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
CloneReceiptRuleSetRequest & WithRuleSetName(const char *value)
CloneReceiptRuleSetRequest & WithOriginalRuleSetName(const char *value)
#define AWS_SES_API
Definition: SES_EXPORTS.h:34
CloneReceiptRuleSetRequest & WithOriginalRuleSetName(Aws::String &&value)
JSON (JavaScript Object Notation).