AWS SDK for C++  1.9.104
AWS SDK for C++
DescribeDBClusterEndpointsResult.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 {
31  {
32  public:
36 
37 
44  inline const Aws::String& GetMarker() const{ return m_marker; }
45 
52  inline void SetMarker(const Aws::String& value) { m_marker = value; }
53 
60  inline void SetMarker(Aws::String&& value) { m_marker = std::move(value); }
61 
68  inline void SetMarker(const char* value) { m_marker.assign(value); }
69 
76  inline DescribeDBClusterEndpointsResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;}
77 
84  inline DescribeDBClusterEndpointsResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;}
85 
92  inline DescribeDBClusterEndpointsResult& WithMarker(const char* value) { SetMarker(value); return *this;}
93 
94 
99  inline const Aws::Vector<DBClusterEndpoint>& GetDBClusterEndpoints() const{ return m_dBClusterEndpoints; }
100 
105  inline void SetDBClusterEndpoints(const Aws::Vector<DBClusterEndpoint>& value) { m_dBClusterEndpoints = value; }
106 
111  inline void SetDBClusterEndpoints(Aws::Vector<DBClusterEndpoint>&& value) { m_dBClusterEndpoints = std::move(value); }
112 
117  inline DescribeDBClusterEndpointsResult& WithDBClusterEndpoints(const Aws::Vector<DBClusterEndpoint>& value) { SetDBClusterEndpoints(value); return *this;}
118 
123  inline DescribeDBClusterEndpointsResult& WithDBClusterEndpoints(Aws::Vector<DBClusterEndpoint>&& value) { SetDBClusterEndpoints(std::move(value)); return *this;}
124 
129  inline DescribeDBClusterEndpointsResult& AddDBClusterEndpoints(const DBClusterEndpoint& value) { m_dBClusterEndpoints.push_back(value); return *this; }
130 
135  inline DescribeDBClusterEndpointsResult& AddDBClusterEndpoints(DBClusterEndpoint&& value) { m_dBClusterEndpoints.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 
148  inline DescribeDBClusterEndpointsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
149 
150 
151  inline DescribeDBClusterEndpointsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
152 
153  private:
154 
155  Aws::String m_marker;
156 
157  Aws::Vector<DBClusterEndpoint> m_dBClusterEndpoints;
158 
159  ResponseMetadata m_responseMetadata;
160  };
161 
162 } // namespace Model
163 } // namespace RDS
164 } // namespace Aws
Aws::RDS::Model::DescribeDBClusterEndpointsResult::WithDBClusterEndpoints
DescribeDBClusterEndpointsResult & WithDBClusterEndpoints(const Aws::Vector< DBClusterEndpoint > &value)
Definition: DescribeDBClusterEndpointsResult.h:117
Aws::RDS::Model::DescribeDBClusterEndpointsResult::WithMarker
DescribeDBClusterEndpointsResult & WithMarker(const char *value)
Definition: DescribeDBClusterEndpointsResult.h:92
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RDS::Model::DescribeDBClusterEndpointsResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBClusterEndpointsResult.h:145
Aws::RDS::Model::DescribeDBClusterEndpointsResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBClusterEndpointsResult.h:142
Aws::RDS::Model::DescribeDBClusterEndpointsResult::WithResponseMetadata
DescribeDBClusterEndpointsResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: DescribeDBClusterEndpointsResult.h:151
Aws::RDS::Model::DescribeDBClusterEndpointsResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: DescribeDBClusterEndpointsResult.h:139
Aws::RDS::Model::DescribeDBClusterEndpointsResult::SetDBClusterEndpoints
void SetDBClusterEndpoints(Aws::Vector< DBClusterEndpoint > &&value)
Definition: DescribeDBClusterEndpointsResult.h:111
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
DBClusterEndpoint.h
Aws::RDS::Model::DescribeDBClusterEndpointsResult::SetMarker
void SetMarker(const Aws::String &value)
Definition: DescribeDBClusterEndpointsResult.h:52
RDS_EXPORTS.h
Aws::RDS::Model::DBClusterEndpoint
Definition: DBClusterEndpoint.h:41
Aws::RDS::Model::DescribeDBClusterEndpointsResult::SetMarker
void SetMarker(const char *value)
Definition: DescribeDBClusterEndpointsResult.h:68
Aws::RDS::Model::DescribeDBClusterEndpointsResult::operator=
DescribeDBClusterEndpointsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWSString.h
Aws::RDS::Model::DescribeDBClusterEndpointsResult::SetMarker
void SetMarker(Aws::String &&value)
Definition: DescribeDBClusterEndpointsResult.h:60
Aws::RDS::Model::DescribeDBClusterEndpointsResult::WithDBClusterEndpoints
DescribeDBClusterEndpointsResult & WithDBClusterEndpoints(Aws::Vector< DBClusterEndpoint > &&value)
Definition: DescribeDBClusterEndpointsResult.h:123
Aws::RDS::Model::DescribeDBClusterEndpointsResult::GetDBClusterEndpoints
const Aws::Vector< DBClusterEndpoint > & GetDBClusterEndpoints() const
Definition: DescribeDBClusterEndpointsResult.h:99
Aws::RDS::Model::DescribeDBClusterEndpointsResult::GetMarker
const Aws::String & GetMarker() const
Definition: DescribeDBClusterEndpointsResult.h:44
Aws::RDS::Model::DescribeDBClusterEndpointsResult::DescribeDBClusterEndpointsResult
DescribeDBClusterEndpointsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::RDS::Model::DescribeDBClusterEndpointsResult::WithMarker
DescribeDBClusterEndpointsResult & WithMarker(const Aws::String &value)
Definition: DescribeDBClusterEndpointsResult.h:76
AWS_RDS_API
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:28
Aws::RDS::Model::DescribeDBClusterEndpointsResult::WithResponseMetadata
DescribeDBClusterEndpointsResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: DescribeDBClusterEndpointsResult.h:148
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::DescribeDBClusterEndpointsResult::SetDBClusterEndpoints
void SetDBClusterEndpoints(const Aws::Vector< DBClusterEndpoint > &value)
Definition: DescribeDBClusterEndpointsResult.h:105
Aws::RDS::Model::DescribeDBClusterEndpointsResult
Definition: DescribeDBClusterEndpointsResult.h:31
Aws::RDS::Model::DescribeDBClusterEndpointsResult::WithMarker
DescribeDBClusterEndpointsResult & WithMarker(Aws::String &&value)
Definition: DescribeDBClusterEndpointsResult.h:84
Aws::RDS::Model::DescribeDBClusterEndpointsResult::AddDBClusterEndpoints
DescribeDBClusterEndpointsResult & AddDBClusterEndpoints(const DBClusterEndpoint &value)
Definition: DescribeDBClusterEndpointsResult.h:129
Aws::RDS::Model::DescribeDBClusterEndpointsResult::AddDBClusterEndpoints
DescribeDBClusterEndpointsResult & AddDBClusterEndpoints(DBClusterEndpoint &&value)
Definition: DescribeDBClusterEndpointsResult.h:135
Aws::RDS::Model::DescribeDBClusterEndpointsResult::DescribeDBClusterEndpointsResult
DescribeDBClusterEndpointsResult()