AWS SDK for C++  1.9.157
AWS SDK for C++
DescribeEventCategoriesResult.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 Redshift
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<EventCategoriesMap>& GetEventCategoriesMapList() const{ return m_eventCategoriesMapList; }
46 
50  inline void SetEventCategoriesMapList(const Aws::Vector<EventCategoriesMap>& value) { m_eventCategoriesMapList = value; }
51 
55  inline void SetEventCategoriesMapList(Aws::Vector<EventCategoriesMap>&& value) { m_eventCategoriesMapList = std::move(value); }
56 
60  inline DescribeEventCategoriesResult& WithEventCategoriesMapList(const Aws::Vector<EventCategoriesMap>& value) { SetEventCategoriesMapList(value); return *this;}
61 
65  inline DescribeEventCategoriesResult& WithEventCategoriesMapList(Aws::Vector<EventCategoriesMap>&& value) { SetEventCategoriesMapList(std::move(value)); return *this;}
66 
70  inline DescribeEventCategoriesResult& AddEventCategoriesMapList(const EventCategoriesMap& value) { m_eventCategoriesMapList.push_back(value); return *this; }
71 
75  inline DescribeEventCategoriesResult& AddEventCategoriesMapList(EventCategoriesMap&& value) { m_eventCategoriesMapList.push_back(std::move(value)); return *this; }
76 
77 
78 
79  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
80 
81 
82  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
83 
84 
85  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
86 
87 
88  inline DescribeEventCategoriesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
89 
90 
91  inline DescribeEventCategoriesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
92 
93  private:
94 
95  Aws::Vector<EventCategoriesMap> m_eventCategoriesMapList;
96 
97  ResponseMetadata m_responseMetadata;
98  };
99 
100 } // namespace Model
101 } // namespace Redshift
102 } // namespace Aws
Aws::Redshift::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Redshift::Model::DescribeEventCategoriesResult::WithEventCategoriesMapList
DescribeEventCategoriesResult & WithEventCategoriesMapList(Aws::Vector< EventCategoriesMap > &&value)
Definition: DescribeEventCategoriesResult.h:65
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Redshift::Model::DescribeEventCategoriesResult::DescribeEventCategoriesResult
DescribeEventCategoriesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Redshift::Model::DescribeEventCategoriesResult::WithResponseMetadata
DescribeEventCategoriesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventCategoriesResult.h:91
AWSVector.h
Aws::Redshift::Model::EventCategoriesMap
Definition: EventCategoriesMap.h:34
Aws::Redshift::Model::DescribeEventCategoriesResult::WithEventCategoriesMapList
DescribeEventCategoriesResult & WithEventCategoriesMapList(const Aws::Vector< EventCategoriesMap > &value)
Definition: DescribeEventCategoriesResult.h:60
Aws::Redshift::Model::DescribeEventCategoriesResult::WithResponseMetadata
DescribeEventCategoriesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventCategoriesResult.h:88
EventCategoriesMap.h
Aws::Redshift::Model::DescribeEventCategoriesResult::operator=
DescribeEventCategoriesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Redshift::Model::DescribeEventCategoriesResult::AddEventCategoriesMapList
DescribeEventCategoriesResult & AddEventCategoriesMapList(EventCategoriesMap &&value)
Definition: DescribeEventCategoriesResult.h:75
Aws::Redshift::Model::DescribeEventCategoriesResult::GetEventCategoriesMapList
const Aws::Vector< EventCategoriesMap > & GetEventCategoriesMapList() const
Definition: DescribeEventCategoriesResult.h:45
AWS_REDSHIFT_API
#define AWS_REDSHIFT_API
Definition: Redshift_EXPORTS.h:28
Aws::Redshift::Model::DescribeEventCategoriesResult::DescribeEventCategoriesResult
DescribeEventCategoriesResult()
Aws::Redshift::Model::DescribeEventCategoriesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeEventCategoriesResult.h:85
Aws::Redshift::Model::DescribeEventCategoriesResult::AddEventCategoriesMapList
DescribeEventCategoriesResult & AddEventCategoriesMapList(const EventCategoriesMap &value)
Definition: DescribeEventCategoriesResult.h:70
Aws::Redshift::Model::DescribeEventCategoriesResult::SetEventCategoriesMapList
void SetEventCategoriesMapList(const Aws::Vector< EventCategoriesMap > &value)
Definition: DescribeEventCategoriesResult.h:50
Aws::Redshift::Model::DescribeEventCategoriesResult
Definition: DescribeEventCategoriesResult.h:35
Aws
Definition: AccessManagementClient.h:15
Aws::Redshift::Model::DescribeEventCategoriesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeEventCategoriesResult.h:79
Redshift_EXPORTS.h
ResponseMetadata.h
Aws::Redshift::Model::DescribeEventCategoriesResult::SetEventCategoriesMapList
void SetEventCategoriesMapList(Aws::Vector< EventCategoriesMap > &&value)
Definition: DescribeEventCategoriesResult.h:55
Aws::Redshift::Model::DescribeEventCategoriesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeEventCategoriesResult.h:82