AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeReceiptRuleSetResult.h
1
6#pragma once
7#include <aws/email/SES_EXPORTS.h>
8#include <aws/email/model/ReceiptRuleSetMetadata.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/email/model/ResponseMetadata.h>
11#include <aws/email/model/ReceiptRule.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace SES
27{
28namespace Model
29{
37 {
38 public:
42
43
45
49 inline const ReceiptRuleSetMetadata& GetMetadata() const{ return m_metadata; }
50 inline void SetMetadata(const ReceiptRuleSetMetadata& value) { m_metadata = value; }
51 inline void SetMetadata(ReceiptRuleSetMetadata&& value) { m_metadata = std::move(value); }
52 inline DescribeReceiptRuleSetResult& WithMetadata(const ReceiptRuleSetMetadata& value) { SetMetadata(value); return *this;}
53 inline DescribeReceiptRuleSetResult& WithMetadata(ReceiptRuleSetMetadata&& value) { SetMetadata(std::move(value)); return *this;}
55
57
61 inline const Aws::Vector<ReceiptRule>& GetRules() const{ return m_rules; }
62 inline void SetRules(const Aws::Vector<ReceiptRule>& value) { m_rules = value; }
63 inline void SetRules(Aws::Vector<ReceiptRule>&& value) { m_rules = std::move(value); }
64 inline DescribeReceiptRuleSetResult& WithRules(const Aws::Vector<ReceiptRule>& value) { SetRules(value); return *this;}
65 inline DescribeReceiptRuleSetResult& WithRules(Aws::Vector<ReceiptRule>&& value) { SetRules(std::move(value)); return *this;}
66 inline DescribeReceiptRuleSetResult& AddRules(const ReceiptRule& value) { m_rules.push_back(value); return *this; }
67 inline DescribeReceiptRuleSetResult& AddRules(ReceiptRule&& value) { m_rules.push_back(std::move(value)); return *this; }
69
71
72 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
73 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
74 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
78 private:
79
80 ReceiptRuleSetMetadata m_metadata;
81
83
84 ResponseMetadata m_responseMetadata;
85 };
86
87} // namespace Model
88} // namespace SES
89} // namespace Aws
const ReceiptRuleSetMetadata & GetMetadata() const
AWS_SES_API DescribeReceiptRuleSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeReceiptRuleSetResult & WithResponseMetadata(ResponseMetadata &&value)
void SetResponseMetadata(const ResponseMetadata &value)
const Aws::Vector< ReceiptRule > & GetRules() const
DescribeReceiptRuleSetResult & WithMetadata(ReceiptRuleSetMetadata &&value)
AWS_SES_API DescribeReceiptRuleSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DescribeReceiptRuleSetResult & AddRules(ReceiptRule &&value)
DescribeReceiptRuleSetResult & WithMetadata(const ReceiptRuleSetMetadata &value)
void SetRules(Aws::Vector< ReceiptRule > &&value)
DescribeReceiptRuleSetResult & AddRules(const ReceiptRule &value)
DescribeReceiptRuleSetResult & WithRules(const Aws::Vector< ReceiptRule > &value)
void SetRules(const Aws::Vector< ReceiptRule > &value)
void SetMetadata(const ReceiptRuleSetMetadata &value)
DescribeReceiptRuleSetResult & WithRules(Aws::Vector< ReceiptRule > &&value)
DescribeReceiptRuleSetResult & WithResponseMetadata(const ResponseMetadata &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument