AWS SDK for C++  0.12.9
AWS SDK for C++
DescribeActiveReceiptRuleSetResult.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>
21 
22 namespace Aws
23 {
24 template<typename RESULT_TYPE>
25 class AmazonWebServiceResult;
26 
27 namespace Utils
28 {
29 namespace Xml
30 {
31  class XmlDocument;
32 } // namespace Xml
33 } // namespace Utils
34 namespace SES
35 {
36 namespace Model
37 {
39  {
40  public:
44 
49  inline const ReceiptRuleSetMetadata& GetMetadata() const{ return m_metadata; }
50 
55  inline void SetMetadata(const ReceiptRuleSetMetadata& value) { m_metadata = value; }
56 
61  inline void SetMetadata(ReceiptRuleSetMetadata&& value) { m_metadata = value; }
62 
67  inline DescribeActiveReceiptRuleSetResult& WithMetadata(const ReceiptRuleSetMetadata& value) { SetMetadata(value); return *this;}
68 
73  inline DescribeActiveReceiptRuleSetResult& WithMetadata(ReceiptRuleSetMetadata&& value) { SetMetadata(value); return *this;}
74 
78  inline const Aws::Vector<ReceiptRule>& GetRules() const{ return m_rules; }
79 
83  inline void SetRules(const Aws::Vector<ReceiptRule>& value) { m_rules = value; }
84 
88  inline void SetRules(Aws::Vector<ReceiptRule>&& value) { m_rules = value; }
89 
93  inline DescribeActiveReceiptRuleSetResult& WithRules(const Aws::Vector<ReceiptRule>& value) { SetRules(value); return *this;}
94 
98  inline DescribeActiveReceiptRuleSetResult& WithRules(Aws::Vector<ReceiptRule>&& value) { SetRules(value); return *this;}
99 
103  inline DescribeActiveReceiptRuleSetResult& AddRules(const ReceiptRule& value) { m_rules.push_back(value); return *this; }
104 
108  inline DescribeActiveReceiptRuleSetResult& AddRules(ReceiptRule&& value) { m_rules.push_back(value); return *this; }
109 
110 
111  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
112 
113 
114  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
115 
116 
117  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
118 
119 
120  inline DescribeActiveReceiptRuleSetResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
121 
122 
123  inline DescribeActiveReceiptRuleSetResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
124 
125  private:
126  ReceiptRuleSetMetadata m_metadata;
127  Aws::Vector<ReceiptRule> m_rules;
128  ResponseMetadata m_responseMetadata;
129  };
130 
131 } // namespace Model
132 } // namespace SES
133 } // namespace Aws
DescribeActiveReceiptRuleSetResult & WithResponseMetadata(const ResponseMetadata &value)
DescribeActiveReceiptRuleSetResult & WithRules(Aws::Vector< ReceiptRule > &&value)
DescribeActiveReceiptRuleSetResult & WithRules(const Aws::Vector< ReceiptRule > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeActiveReceiptRuleSetResult & AddRules(ReceiptRule &&value)
DescribeActiveReceiptRuleSetResult & WithResponseMetadata(ResponseMetadata &&value)
DescribeActiveReceiptRuleSetResult & AddRules(const ReceiptRule &value)
DescribeActiveReceiptRuleSetResult & WithMetadata(ReceiptRuleSetMetadata &&value)
DescribeActiveReceiptRuleSetResult & WithMetadata(const ReceiptRuleSetMetadata &value)
#define AWS_SES_API
Definition: SES_EXPORTS.h:34
JSON (JavaScript Object Notation).