AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
GetReservedNodeExchangeConfigurationOptionsResult.h
Go to the documentation of this file.
1
6#pragma once
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 Redshift
27{
28namespace Model
29{
31 {
32 public:
36
37
42 inline const Aws::String& GetMarker() const{ return m_marker; }
43
48 inline void SetMarker(const Aws::String& value) { m_marker = value; }
49
54 inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
55
60 inline void SetMarker(const char* value) { m_marker.assign(value); }
61
67
72 inline GetReservedNodeExchangeConfigurationOptionsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
73
78 inline GetReservedNodeExchangeConfigurationOptionsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
79
80
87 inline const Aws::Vector<ReservedNodeConfigurationOption>& GetReservedNodeConfigurationOptionList() const{ return m_reservedNodeConfigurationOptionList; }
88
95 inline void SetReservedNodeConfigurationOptionList(const Aws::Vector<ReservedNodeConfigurationOption>& value) { m_reservedNodeConfigurationOptionList = value; }
96
103 inline void SetReservedNodeConfigurationOptionList(Aws::Vector<ReservedNodeConfigurationOption>&& value) { m_reservedNodeConfigurationOptionList = std::move(value); }
104
112
120
127 inline GetReservedNodeExchangeConfigurationOptionsResult& AddReservedNodeConfigurationOptionList(const ReservedNodeConfigurationOption& value) { m_reservedNodeConfigurationOptionList.push_back(value); return *this; }
128
135 inline GetReservedNodeExchangeConfigurationOptionsResult& AddReservedNodeConfigurationOptionList(ReservedNodeConfigurationOption&& value) { m_reservedNodeConfigurationOptionList.push_back(std::move(value)); return *this; }
136
137
138
139 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
140
141
142 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
143
144
145 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
146
147
149
150
152
153 private:
154
155 Aws::String m_marker;
156
157 Aws::Vector<ReservedNodeConfigurationOption> m_reservedNodeConfigurationOptionList;
158
159 ResponseMetadata m_responseMetadata;
160 };
161
162} // namespace Model
163} // namespace Redshift
164} // namespace Aws
#define AWS_REDSHIFT_API
GetReservedNodeExchangeConfigurationOptionsResult & AddReservedNodeConfigurationOptionList(const ReservedNodeConfigurationOption &value)
AWS_REDSHIFT_API GetReservedNodeExchangeConfigurationOptionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Aws::Vector< ReservedNodeConfigurationOption > & GetReservedNodeConfigurationOptionList() const
void SetReservedNodeConfigurationOptionList(Aws::Vector< ReservedNodeConfigurationOption > &&value)
AWS_REDSHIFT_API GetReservedNodeExchangeConfigurationOptionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
GetReservedNodeExchangeConfigurationOptionsResult & WithResponseMetadata(const ResponseMetadata &value)
GetReservedNodeExchangeConfigurationOptionsResult & WithResponseMetadata(ResponseMetadata &&value)
GetReservedNodeExchangeConfigurationOptionsResult & WithMarker(Aws::String &&value)
GetReservedNodeExchangeConfigurationOptionsResult & WithReservedNodeConfigurationOptionList(const Aws::Vector< ReservedNodeConfigurationOption > &value)
GetReservedNodeExchangeConfigurationOptionsResult & AddReservedNodeConfigurationOptionList(ReservedNodeConfigurationOption &&value)
GetReservedNodeExchangeConfigurationOptionsResult & WithMarker(const char *value)
GetReservedNodeExchangeConfigurationOptionsResult & WithMarker(const Aws::String &value)
GetReservedNodeExchangeConfigurationOptionsResult & WithReservedNodeConfigurationOptionList(Aws::Vector< ReservedNodeConfigurationOption > &&value)
void SetReservedNodeConfigurationOptionList(const Aws::Vector< ReservedNodeConfigurationOption > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector