AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeReservedDBInstancesOfferingsResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/rds/RDS_EXPORTS.h>
12 #include <utility>
13 
14 namespace Aws
15 {
16 template<typename RESULT_TYPE>
17 class AmazonWebServiceResult;
18 
19 namespace Utils
20 {
21 namespace Xml
22 {
23  class XmlDocument;
24 } // namespace Xml
25 } // namespace Utils
26 namespace RDS
27 {
28 namespace Model
29 {
38  {
39  public:
43 
44 
50  inline const Aws::String& GetMarker() const{ return m_marker; }
51 
57  inline void SetMarker(const Aws::String& value) { m_marker = value; }
58 
64  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
65 
71  inline void SetMarker(const char* value) { m_marker.assign(value); }
72 
78  inline DescribeReservedDBInstancesOfferingsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
79 
85  inline DescribeReservedDBInstancesOfferingsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
86 
92  inline DescribeReservedDBInstancesOfferingsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
93 
94 
98  inline const Aws::Vector<ReservedDBInstancesOffering>& GetReservedDBInstancesOfferings() const{ return m_reservedDBInstancesOfferings; }
99 
103  inline void SetReservedDBInstancesOfferings(const Aws::Vector<ReservedDBInstancesOffering>& value) { m_reservedDBInstancesOfferings = value; }
104 
108  inline void SetReservedDBInstancesOfferings(Aws::Vector<ReservedDBInstancesOffering>&& value) { m_reservedDBInstancesOfferings = std::move(value); }
109 
113  inline DescribeReservedDBInstancesOfferingsResult& WithReservedDBInstancesOfferings(const Aws::Vector<ReservedDBInstancesOffering>& value) { SetReservedDBInstancesOfferings(value); return *this;}
114 
118  inline DescribeReservedDBInstancesOfferingsResult& WithReservedDBInstancesOfferings(Aws::Vector<ReservedDBInstancesOffering>&& value) { SetReservedDBInstancesOfferings(std::move(value)); return *this;}
119 
123  inline DescribeReservedDBInstancesOfferingsResult& AddReservedDBInstancesOfferings(const ReservedDBInstancesOffering& value) { m_reservedDBInstancesOfferings.push_back(value); return *this; }
124 
128  inline DescribeReservedDBInstancesOfferingsResult& AddReservedDBInstancesOfferings(ReservedDBInstancesOffering&& value) { m_reservedDBInstancesOfferings.push_back(std::move(value)); return *this; }
129 
130 
131 
132  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
133 
134 
135  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
136 
137 
138  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
139 
140 
141  inline DescribeReservedDBInstancesOfferingsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
142 
143 
144  inline DescribeReservedDBInstancesOfferingsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
145 
146  private:
147 
148  Aws::String m_marker;
149 
150  Aws::Vector<ReservedDBInstancesOffering> m_reservedDBInstancesOfferings;
151 
152  ResponseMetadata m_responseMetadata;
153  };
154 
155 } // namespace Model
156 } // namespace RDS
157 } // namespace Aws
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::WithReservedDBInstancesOfferings
DescribeReservedDBInstancesOfferingsResult & WithReservedDBInstancesOfferings(Aws::Vector< ReservedDBInstancesOffering > &&value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:118
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::WithReservedDBInstancesOfferings
DescribeReservedDBInstancesOfferingsResult & WithReservedDBInstancesOfferings(const Aws::Vector< ReservedDBInstancesOffering > &value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:113
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::DescribeReservedDBInstancesOfferingsResult
DescribeReservedDBInstancesOfferingsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult
Definition: DescribeReservedDBInstancesOfferingsResult.h:38
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:57
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::WithResponseMetadata
DescribeReservedDBInstancesOfferingsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:141
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::ReservedDBInstancesOffering
Definition: ReservedDBInstancesOffering.h:36
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::WithMarker
DescribeReservedDBInstancesOfferingsResult & WithMarker(const Aws::String &value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:78
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::WithMarker
DescribeReservedDBInstancesOfferingsResult & WithMarker(Aws::String &&value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:85
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:71
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeReservedDBInstancesOfferingsResult.h:132
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::operator=
DescribeReservedDBInstancesOfferingsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
RDS_EXPORTS.h
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::GetReservedDBInstancesOfferings
const Aws::Vector< ReservedDBInstancesOffering > & GetReservedDBInstancesOfferings() const
Definition: DescribeReservedDBInstancesOfferingsResult.h:98
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::DescribeReservedDBInstancesOfferingsResult
DescribeReservedDBInstancesOfferingsResult()
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::SetReservedDBInstancesOfferings
void SetReservedDBInstancesOfferings(const Aws::Vector< ReservedDBInstancesOffering > &value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:103
AWSString.h
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::AddReservedDBInstancesOfferings
DescribeReservedDBInstancesOfferingsResult & AddReservedDBInstancesOfferings(const ReservedDBInstancesOffering &value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:123
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::WithResponseMetadata
DescribeReservedDBInstancesOfferingsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:144
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:135
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:138
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:64
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::WithMarker
DescribeReservedDBInstancesOfferingsResult & WithMarker(const char *value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:92
Aws
Definition: AccessManagementClient.h:15
ReservedDBInstancesOffering.h
ResponseMetadata.h
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::SetReservedDBInstancesOfferings
void SetReservedDBInstancesOfferings(Aws::Vector< ReservedDBInstancesOffering > &&value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:108
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::AddReservedDBInstancesOfferings
DescribeReservedDBInstancesOfferingsResult & AddReservedDBInstancesOfferings(ReservedDBInstancesOffering &&value)
Definition: DescribeReservedDBInstancesOfferingsResult.h:128
Aws::RDS::Model::DescribeReservedDBInstancesOfferingsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeReservedDBInstancesOfferingsResult.h:50