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