AWS SDK for C++  0.14.3
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 {
43  {
44  public:
48 
53  inline const ReceiptRuleSetMetadata& GetMetadata() const{ return m_metadata; }
54 
59  inline void SetMetadata(const ReceiptRuleSetMetadata& value) { m_metadata = value; }
60 
65  inline void SetMetadata(ReceiptRuleSetMetadata&& value) { m_metadata = value; }
66 
71  inline DescribeActiveReceiptRuleSetResult& WithMetadata(const ReceiptRuleSetMetadata& value) { SetMetadata(value); return *this;}
72 
77  inline DescribeActiveReceiptRuleSetResult& WithMetadata(ReceiptRuleSetMetadata&& value) { SetMetadata(value); return *this;}
78 
82  inline const Aws::Vector<ReceiptRule>& GetRules() const{ return m_rules; }
83 
87  inline void SetRules(const Aws::Vector<ReceiptRule>& value) { m_rules = value; }
88 
92  inline void SetRules(Aws::Vector<ReceiptRule>&& value) { m_rules = value; }
93 
97  inline DescribeActiveReceiptRuleSetResult& WithRules(const Aws::Vector<ReceiptRule>& value) { SetRules(value); return *this;}
98 
102  inline DescribeActiveReceiptRuleSetResult& WithRules(Aws::Vector<ReceiptRule>&& value) { SetRules(value); return *this;}
103 
107  inline DescribeActiveReceiptRuleSetResult& AddRules(const ReceiptRule& value) { m_rules.push_back(value); return *this; }
108 
112  inline DescribeActiveReceiptRuleSetResult& AddRules(ReceiptRule&& value) { m_rules.push_back(value); return *this; }
113 
114 
115  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
116 
117 
118  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
119 
120 
121  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
122 
123 
124  inline DescribeActiveReceiptRuleSetResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
125 
126 
127  inline DescribeActiveReceiptRuleSetResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
128 
129  private:
130  ReceiptRuleSetMetadata m_metadata;
131  Aws::Vector<ReceiptRule> m_rules;
132  ResponseMetadata m_responseMetadata;
133  };
134 
135 } // namespace Model
136 } // namespace SES
137 } // 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:37
JSON (JavaScript Object Notation).