AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeReceiptRuleSetResult.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 {
42  {
43  public:
47 
52  inline const ReceiptRuleSetMetadata& GetMetadata() const{ return m_metadata; }
53 
58  inline void SetMetadata(const ReceiptRuleSetMetadata& value) { m_metadata = value; }
59 
64  inline void SetMetadata(ReceiptRuleSetMetadata&& value) { m_metadata = value; }
65 
70  inline DescribeReceiptRuleSetResult& WithMetadata(const ReceiptRuleSetMetadata& value) { SetMetadata(value); return *this;}
71 
76  inline DescribeReceiptRuleSetResult& WithMetadata(ReceiptRuleSetMetadata&& value) { SetMetadata(value); return *this;}
77 
82  inline const Aws::Vector<ReceiptRule>& GetRules() const{ return m_rules; }
83 
88  inline void SetRules(const Aws::Vector<ReceiptRule>& value) { m_rules = value; }
89 
94  inline void SetRules(Aws::Vector<ReceiptRule>&& value) { m_rules = value; }
95 
100  inline DescribeReceiptRuleSetResult& WithRules(const Aws::Vector<ReceiptRule>& value) { SetRules(value); return *this;}
101 
106  inline DescribeReceiptRuleSetResult& WithRules(Aws::Vector<ReceiptRule>&& value) { SetRules(value); return *this;}
107 
112  inline DescribeReceiptRuleSetResult& AddRules(const ReceiptRule& value) { m_rules.push_back(value); return *this; }
113 
118  inline DescribeReceiptRuleSetResult& AddRules(ReceiptRule&& value) { m_rules.push_back(value); return *this; }
119 
120 
121  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
122 
123 
124  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
125 
126 
127  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = value; }
128 
129 
130  inline DescribeReceiptRuleSetResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
131 
132 
133  inline DescribeReceiptRuleSetResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(value); return *this;}
134 
135  private:
136  ReceiptRuleSetMetadata m_metadata;
137  Aws::Vector<ReceiptRule> m_rules;
138  ResponseMetadata m_responseMetadata;
139  };
140 
141 } // namespace Model
142 } // namespace SES
143 } // namespace Aws
void SetRules(Aws::Vector< ReceiptRule > &&value)
DescribeReceiptRuleSetResult & WithResponseMetadata(ResponseMetadata &&value)
void SetMetadata(const ReceiptRuleSetMetadata &value)
void SetRules(const Aws::Vector< ReceiptRule > &value)
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:27
DescribeReceiptRuleSetResult & AddRules(ReceiptRule &&value)
void SetResponseMetadata(const ResponseMetadata &value)
DescribeReceiptRuleSetResult & WithResponseMetadata(const ResponseMetadata &value)
const Aws::Vector< ReceiptRule > & GetRules() const
DescribeReceiptRuleSetResult & WithRules(Aws::Vector< ReceiptRule > &&value)
DescribeReceiptRuleSetResult & WithRules(const Aws::Vector< ReceiptRule > &value)
DescribeReceiptRuleSetResult & AddRules(const ReceiptRule &value)
DescribeReceiptRuleSetResult & WithMetadata(const ReceiptRuleSetMetadata &value)
#define AWS_SES_API
Definition: SES_EXPORTS.h:37
const ReceiptRuleSetMetadata & GetMetadata() const
JSON (JavaScript Object Notation).
DescribeReceiptRuleSetResult & WithMetadata(ReceiptRuleSetMetadata &&value)