AWS SDK for C++  1.8.129
AWS SDK for C++
ListReceiptFiltersResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace SES
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Aws::Vector<ReceiptFilter>& GetFilters() const{ return m_filters; }
48 
53  inline void SetFilters(const Aws::Vector<ReceiptFilter>& value) { m_filters = value; }
54 
59  inline void SetFilters(Aws::Vector<ReceiptFilter>&& value) { m_filters = std::move(value); }
60 
65  inline ListReceiptFiltersResult& WithFilters(const Aws::Vector<ReceiptFilter>& value) { SetFilters(value); return *this;}
66 
71  inline ListReceiptFiltersResult& WithFilters(Aws::Vector<ReceiptFilter>&& value) { SetFilters(std::move(value)); return *this;}
72 
77  inline ListReceiptFiltersResult& AddFilters(const ReceiptFilter& value) { m_filters.push_back(value); return *this; }
78 
83  inline ListReceiptFiltersResult& AddFilters(ReceiptFilter&& value) { m_filters.push_back(std::move(value)); return *this; }
84 
85 
86 
87  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
88 
89 
90  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
91 
92 
93  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
94 
95 
96  inline ListReceiptFiltersResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
97 
98 
99  inline ListReceiptFiltersResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
100 
101  private:
102 
103  Aws::Vector<ReceiptFilter> m_filters;
104 
105  ResponseMetadata m_responseMetadata;
106  };
107 
108 } // namespace Model
109 } // namespace SES
110 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SES::Model::ListReceiptFiltersResult::ListReceiptFiltersResult
ListReceiptFiltersResult()
Aws::SES::Model::ListReceiptFiltersResult::WithResponseMetadata
ListReceiptFiltersResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListReceiptFiltersResult.h:99
Aws::SES::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SES::Model::ListReceiptFiltersResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListReceiptFiltersResult.h:90
Aws::SES::Model::ListReceiptFiltersResult::WithFilters
ListReceiptFiltersResult & WithFilters(const Aws::Vector< ReceiptFilter > &value)
Definition: ListReceiptFiltersResult.h:65
Aws::SES::Model::ListReceiptFiltersResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListReceiptFiltersResult.h:87
AWSVector.h
Aws::SES::Model::ListReceiptFiltersResult::WithFilters
ListReceiptFiltersResult & WithFilters(Aws::Vector< ReceiptFilter > &&value)
Definition: ListReceiptFiltersResult.h:71
Aws::SES::Model::ReceiptFilter
Definition: ReceiptFilter.h:37
Aws::SES::Model::ListReceiptFiltersResult::ListReceiptFiltersResult
ListReceiptFiltersResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ListReceiptFiltersResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListReceiptFiltersResult.h:93
Aws::SES::Model::ListReceiptFiltersResult::SetFilters
void SetFilters(Aws::Vector< ReceiptFilter > &&value)
Definition: ListReceiptFiltersResult.h:59
ReceiptFilter.h
Aws::SES::Model::ListReceiptFiltersResult::AddFilters
ListReceiptFiltersResult & AddFilters(ReceiptFilter &&value)
Definition: ListReceiptFiltersResult.h:83
SES_EXPORTS.h
AWS_SES_API
#define AWS_SES_API
Definition: SES_EXPORTS.h:28
Aws::SES::Model::ListReceiptFiltersResult
Definition: ListReceiptFiltersResult.h:36
Aws::SES::Model::ListReceiptFiltersResult::operator=
ListReceiptFiltersResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SES::Model::ListReceiptFiltersResult::GetFilters
const Aws::Vector< ReceiptFilter > & GetFilters() const
Definition: ListReceiptFiltersResult.h:47
Aws
Definition: AccessManagementClient.h:15
Aws::SES::Model::ListReceiptFiltersResult::SetFilters
void SetFilters(const Aws::Vector< ReceiptFilter > &value)
Definition: ListReceiptFiltersResult.h:53
Aws::SES::Model::ListReceiptFiltersResult::WithResponseMetadata
ListReceiptFiltersResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListReceiptFiltersResult.h:96
ResponseMetadata.h
Aws::SES::Model::ListReceiptFiltersResult::AddFilters
ListReceiptFiltersResult & AddFilters(const ReceiptFilter &value)
Definition: ListReceiptFiltersResult.h:77