AWS SDK for C++  1.9.108
AWS SDK for C++
DescribeReservedDBInstancesResult.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 {
37  {
38  public:
42 
43 
49  inline const Aws::String& GetMarker() const{ return m_marker; }
50 
56  inline void SetMarker(const Aws::String& value) { m_marker = value; }
57 
63  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
64 
70  inline void SetMarker(const char* value) { m_marker.assign(value); }
71 
77  inline DescribeReservedDBInstancesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
78 
84  inline DescribeReservedDBInstancesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
85 
91  inline DescribeReservedDBInstancesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
92 
93 
97  inline const Aws::Vector<ReservedDBInstance>& GetReservedDBInstances() const{ return m_reservedDBInstances; }
98 
102  inline void SetReservedDBInstances(const Aws::Vector<ReservedDBInstance>& value) { m_reservedDBInstances = value; }
103 
107  inline void SetReservedDBInstances(Aws::Vector<ReservedDBInstance>&& value) { m_reservedDBInstances = std::move(value); }
108 
112  inline DescribeReservedDBInstancesResult& WithReservedDBInstances(const Aws::Vector<ReservedDBInstance>& value) { SetReservedDBInstances(value); return *this;}
113 
117  inline DescribeReservedDBInstancesResult& WithReservedDBInstances(Aws::Vector<ReservedDBInstance>&& value) { SetReservedDBInstances(std::move(value)); return *this;}
118 
122  inline DescribeReservedDBInstancesResult& AddReservedDBInstances(const ReservedDBInstance& value) { m_reservedDBInstances.push_back(value); return *this; }
123 
127  inline DescribeReservedDBInstancesResult& AddReservedDBInstances(ReservedDBInstance&& value) { m_reservedDBInstances.push_back(std::move(value)); return *this; }
128 
129 
130 
131  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
132 
133 
134  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
135 
136 
137  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
138 
139 
140  inline DescribeReservedDBInstancesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
141 
142 
143  inline DescribeReservedDBInstancesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
144 
145  private:
146 
147  Aws::String m_marker;
148 
149  Aws::Vector<ReservedDBInstance> m_reservedDBInstances;
150 
151  ResponseMetadata m_responseMetadata;
152  };
153 
154 } // namespace Model
155 } // namespace RDS
156 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeReservedDBInstancesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeReservedDBInstancesResult.h:56
Aws::RDS::Model::DescribeReservedDBInstancesResult::SetReservedDBInstances
void SetReservedDBInstances(Aws::Vector< ReservedDBInstance > &&value)
Definition: DescribeReservedDBInstancesResult.h:107
Aws::RDS::Model::DescribeReservedDBInstancesResult::DescribeReservedDBInstancesResult
DescribeReservedDBInstancesResult()
Aws::RDS::Model::ReservedDBInstance
Definition: ReservedDBInstance.h:38
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
Aws::RDS::Model::DescribeReservedDBInstancesResult::AddReservedDBInstances
DescribeReservedDBInstancesResult & AddReservedDBInstances(const ReservedDBInstance &value)
Definition: DescribeReservedDBInstancesResult.h:122
Aws::RDS::Model::DescribeReservedDBInstancesResult::WithResponseMetadata
DescribeReservedDBInstancesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeReservedDBInstancesResult.h:140
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RDS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
AWSVector.h
Aws::RDS::Model::DescribeReservedDBInstancesResult::WithMarker
DescribeReservedDBInstancesResult & WithMarker(const char *value)
Definition: DescribeReservedDBInstancesResult.h:91
Aws::RDS::Model::DescribeReservedDBInstancesResult::WithReservedDBInstances
DescribeReservedDBInstancesResult & WithReservedDBInstances(const Aws::Vector< ReservedDBInstance > &value)
Definition: DescribeReservedDBInstancesResult.h:112
Aws::RDS::Model::DescribeReservedDBInstancesResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeReservedDBInstancesResult.h:70
RDS_EXPORTS.h
Aws::RDS::Model::DescribeReservedDBInstancesResult::AddReservedDBInstances
DescribeReservedDBInstancesResult & AddReservedDBInstances(ReservedDBInstance &&value)
Definition: DescribeReservedDBInstancesResult.h:127
AWSString.h
Aws::RDS::Model::DescribeReservedDBInstancesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeReservedDBInstancesResult.h:134
Aws::RDS::Model::DescribeReservedDBInstancesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeReservedDBInstancesResult.h:137
ReservedDBInstance.h
Aws::RDS::Model::DescribeReservedDBInstancesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeReservedDBInstancesResult.h:131
Aws::RDS::Model::DescribeReservedDBInstancesResult
Definition: DescribeReservedDBInstancesResult.h:37
Aws::RDS::Model::DescribeReservedDBInstancesResult::WithMarker
DescribeReservedDBInstancesResult & WithMarker(Aws::String &&value)
Definition: DescribeReservedDBInstancesResult.h:84
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeReservedDBInstancesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeReservedDBInstancesResult.h:63
Aws::RDS::Model::DescribeReservedDBInstancesResult::SetReservedDBInstances
void SetReservedDBInstances(const Aws::Vector< ReservedDBInstance > &value)
Definition: DescribeReservedDBInstancesResult.h:102
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::RDS::Model::DescribeReservedDBInstancesResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeReservedDBInstancesResult.h:49
Aws::RDS::Model::DescribeReservedDBInstancesResult::WithMarker
DescribeReservedDBInstancesResult & WithMarker(const Aws::String &value)
Definition: DescribeReservedDBInstancesResult.h:77
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeReservedDBInstancesResult::WithResponseMetadata
DescribeReservedDBInstancesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeReservedDBInstancesResult.h:143
Aws::RDS::Model::DescribeReservedDBInstancesResult::DescribeReservedDBInstancesResult
DescribeReservedDBInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeReservedDBInstancesResult::GetReservedDBInstances
const Aws::Vector< ReservedDBInstance > & GetReservedDBInstances() const
Definition: DescribeReservedDBInstancesResult.h:97
Aws::RDS::Model::DescribeReservedDBInstancesResult::operator=
DescribeReservedDBInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeReservedDBInstancesResult::WithReservedDBInstances
DescribeReservedDBInstancesResult & WithReservedDBInstances(Aws::Vector< ReservedDBInstance > &&value)
Definition: DescribeReservedDBInstancesResult.h:117