AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeDBInstancesResult.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 DescribeDBInstancesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
78 
84  inline DescribeDBInstancesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
85 
91  inline DescribeDBInstancesResult& WithMarker(const char* value) { SetMarker(value); return *this;}
92 
93 
97  inline const Aws::Vector<DBInstance>& GetDBInstances() const{ return m_dBInstances; }
98 
102  inline void SetDBInstances(const Aws::Vector<DBInstance>& value) { m_dBInstances = value; }
103 
107  inline void SetDBInstances(Aws::Vector<DBInstance>&& value) { m_dBInstances = std::move(value); }
108 
112  inline DescribeDBInstancesResult& WithDBInstances(const Aws::Vector<DBInstance>& value) { SetDBInstances(value); return *this;}
113 
117  inline DescribeDBInstancesResult& WithDBInstances(Aws::Vector<DBInstance>&& value) { SetDBInstances(std::move(value)); return *this;}
118 
122  inline DescribeDBInstancesResult& AddDBInstances(const DBInstance& value) { m_dBInstances.push_back(value); return *this; }
123 
127  inline DescribeDBInstancesResult& AddDBInstances(DBInstance&& value) { m_dBInstances.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 DescribeDBInstancesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
141 
142 
143  inline DescribeDBInstancesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
144 
145  private:
146 
147  Aws::String m_marker;
148 
149  Aws::Vector<DBInstance> m_dBInstances;
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::DescribeDBInstancesResult::WithDBInstances
DescribeDBInstancesResult & WithDBInstances(Aws::Vector< DBInstance > &&value)
Definition: DescribeDBInstancesResult.h:117
Aws::RDS::Model::DescribeDBInstancesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBInstancesResult.h:134
DBInstance.h
Aws::RDS::Model::DescribeDBInstancesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBInstancesResult.h:137
Aws::RDS::Model::DescribeDBInstancesResult::SetDBInstances
void SetDBInstances(Aws::Vector< DBInstance > &&value)
Definition: DescribeDBInstancesResult.h:107
Aws::ApplicationInsights::Model::CloudWatchEventSource::NOT_SET
@ NOT_SET
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::DescribeDBInstancesResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBInstancesResult.h:49
Aws::RDS::Model::DescribeDBInstancesResult::DescribeDBInstancesResult
DescribeDBInstancesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeDBInstancesResult::operator=
DescribeDBInstancesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeDBInstancesResult::SetDBInstances
void SetDBInstances(const Aws::Vector< DBInstance > &value)
Definition: DescribeDBInstancesResult.h:102
Aws::RDS::Model::DescribeDBInstancesResult::WithDBInstances
DescribeDBInstancesResult & WithDBInstances(const Aws::Vector< DBInstance > &value)
Definition: DescribeDBInstancesResult.h:112
Aws::RDS::Model::DescribeDBInstancesResult::WithMarker
DescribeDBInstancesResult & WithMarker(const Aws::String &value)
Definition: DescribeDBInstancesResult.h:77
Aws::RDS::Model::DescribeDBInstancesResult
Definition: DescribeDBInstancesResult.h:37
RDS_EXPORTS.h
Aws::RDS::Model::DescribeDBInstancesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeDBInstancesResult.h:131
Aws::RDS::Model::DescribeDBInstancesResult::WithResponseMetadata
DescribeDBInstancesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBInstancesResult.h:143
Aws::RDS::Model::DescribeDBInstancesResult::WithMarker
DescribeDBInstancesResult & WithMarker(const char *value)
Definition: DescribeDBInstancesResult.h:91
AWSString.h
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DBInstance
Definition: DBInstance.h:52
Aws::RDS::Model::DescribeDBInstancesResult::WithMarker
DescribeDBInstancesResult & WithMarker(Aws::String &&value)
Definition: DescribeDBInstancesResult.h:84
Aws::RDS::Model::DescribeDBInstancesResult::AddDBInstances
DescribeDBInstancesResult & AddDBInstances(const DBInstance &value)
Definition: DescribeDBInstancesResult.h:122
Aws
Definition: AccessManagementClient.h:15
ResponseMetadata.h
Aws::RDS::Model::DescribeDBInstancesResult::WithResponseMetadata
DescribeDBInstancesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBInstancesResult.h:140
Aws::RDS::Model::DescribeDBInstancesResult::AddDBInstances
DescribeDBInstancesResult & AddDBInstances(DBInstance &&value)
Definition: DescribeDBInstancesResult.h:127
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RDS::Model::DescribeDBInstancesResult::GetDBInstances
const Aws::Vector< DBInstance > & GetDBInstances() const
Definition: DescribeDBInstancesResult.h:97
Aws::RDS::Model::DescribeDBInstancesResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBInstancesResult.h:63
Aws::RDS::Model::DescribeDBInstancesResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBInstancesResult.h:70
Aws::RDS::Model::DescribeDBInstancesResult::DescribeDBInstancesResult
DescribeDBInstancesResult()
Aws::RDS::Model::DescribeDBInstancesResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBInstancesResult.h:56