AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBClusterEndpoint.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/ResponseMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace RDS
24{
25namespace Model
26{
27
41 {
42 public:
43 AWS_RDS_API DBClusterEndpoint();
44 AWS_RDS_API DBClusterEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
46
47 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
48 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
49
50
52
56 inline const Aws::String& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; }
57 inline bool DBClusterEndpointIdentifierHasBeenSet() const { return m_dBClusterEndpointIdentifierHasBeenSet; }
58 inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = value; }
59 inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = std::move(value); }
60 inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier.assign(value); }
63 inline DBClusterEndpoint& WithDBClusterEndpointIdentifier(const char* value) { SetDBClusterEndpointIdentifier(value); return *this;}
65
67
71 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
72 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
73 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
74 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
75 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
76 inline DBClusterEndpoint& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
77 inline DBClusterEndpoint& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
78 inline DBClusterEndpoint& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
80
82
86 inline const Aws::String& GetDBClusterEndpointResourceIdentifier() const{ return m_dBClusterEndpointResourceIdentifier; }
87 inline bool DBClusterEndpointResourceIdentifierHasBeenSet() const { return m_dBClusterEndpointResourceIdentifierHasBeenSet; }
88 inline void SetDBClusterEndpointResourceIdentifier(const Aws::String& value) { m_dBClusterEndpointResourceIdentifierHasBeenSet = true; m_dBClusterEndpointResourceIdentifier = value; }
89 inline void SetDBClusterEndpointResourceIdentifier(Aws::String&& value) { m_dBClusterEndpointResourceIdentifierHasBeenSet = true; m_dBClusterEndpointResourceIdentifier = std::move(value); }
90 inline void SetDBClusterEndpointResourceIdentifier(const char* value) { m_dBClusterEndpointResourceIdentifierHasBeenSet = true; m_dBClusterEndpointResourceIdentifier.assign(value); }
95
97
100 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
101 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
102 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
103 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
104 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
105 inline DBClusterEndpoint& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
106 inline DBClusterEndpoint& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
107 inline DBClusterEndpoint& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
109
111
118 inline const Aws::String& GetStatus() const{ return m_status; }
119 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
120 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
121 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
122 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
123 inline DBClusterEndpoint& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
124 inline DBClusterEndpoint& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
125 inline DBClusterEndpoint& WithStatus(const char* value) { SetStatus(value); return *this;}
127
129
133 inline const Aws::String& GetEndpointType() const{ return m_endpointType; }
134 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
135 inline void SetEndpointType(const Aws::String& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
136 inline void SetEndpointType(Aws::String&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
137 inline void SetEndpointType(const char* value) { m_endpointTypeHasBeenSet = true; m_endpointType.assign(value); }
138 inline DBClusterEndpoint& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;}
139 inline DBClusterEndpoint& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;}
140 inline DBClusterEndpoint& WithEndpointType(const char* value) { SetEndpointType(value); return *this;}
142
144
148 inline const Aws::String& GetCustomEndpointType() const{ return m_customEndpointType; }
149 inline bool CustomEndpointTypeHasBeenSet() const { return m_customEndpointTypeHasBeenSet; }
150 inline void SetCustomEndpointType(const Aws::String& value) { m_customEndpointTypeHasBeenSet = true; m_customEndpointType = value; }
151 inline void SetCustomEndpointType(Aws::String&& value) { m_customEndpointTypeHasBeenSet = true; m_customEndpointType = std::move(value); }
152 inline void SetCustomEndpointType(const char* value) { m_customEndpointTypeHasBeenSet = true; m_customEndpointType.assign(value); }
153 inline DBClusterEndpoint& WithCustomEndpointType(const Aws::String& value) { SetCustomEndpointType(value); return *this;}
154 inline DBClusterEndpoint& WithCustomEndpointType(Aws::String&& value) { SetCustomEndpointType(std::move(value)); return *this;}
155 inline DBClusterEndpoint& WithCustomEndpointType(const char* value) { SetCustomEndpointType(value); return *this;}
157
159
163 inline const Aws::Vector<Aws::String>& GetStaticMembers() const{ return m_staticMembers; }
164 inline bool StaticMembersHasBeenSet() const { return m_staticMembersHasBeenSet; }
165 inline void SetStaticMembers(const Aws::Vector<Aws::String>& value) { m_staticMembersHasBeenSet = true; m_staticMembers = value; }
166 inline void SetStaticMembers(Aws::Vector<Aws::String>&& value) { m_staticMembersHasBeenSet = true; m_staticMembers = std::move(value); }
168 inline DBClusterEndpoint& WithStaticMembers(Aws::Vector<Aws::String>&& value) { SetStaticMembers(std::move(value)); return *this;}
169 inline DBClusterEndpoint& AddStaticMembers(const Aws::String& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
170 inline DBClusterEndpoint& AddStaticMembers(Aws::String&& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(std::move(value)); return *this; }
171 inline DBClusterEndpoint& AddStaticMembers(const char* value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
173
175
180 inline const Aws::Vector<Aws::String>& GetExcludedMembers() const{ return m_excludedMembers; }
181 inline bool ExcludedMembersHasBeenSet() const { return m_excludedMembersHasBeenSet; }
182 inline void SetExcludedMembers(const Aws::Vector<Aws::String>& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = value; }
183 inline void SetExcludedMembers(Aws::Vector<Aws::String>&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = std::move(value); }
185 inline DBClusterEndpoint& WithExcludedMembers(Aws::Vector<Aws::String>&& value) { SetExcludedMembers(std::move(value)); return *this;}
186 inline DBClusterEndpoint& AddExcludedMembers(const Aws::String& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
187 inline DBClusterEndpoint& AddExcludedMembers(Aws::String&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(std::move(value)); return *this; }
188 inline DBClusterEndpoint& AddExcludedMembers(const char* value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
190
192
195 inline const Aws::String& GetDBClusterEndpointArn() const{ return m_dBClusterEndpointArn; }
196 inline bool DBClusterEndpointArnHasBeenSet() const { return m_dBClusterEndpointArnHasBeenSet; }
197 inline void SetDBClusterEndpointArn(const Aws::String& value) { m_dBClusterEndpointArnHasBeenSet = true; m_dBClusterEndpointArn = value; }
198 inline void SetDBClusterEndpointArn(Aws::String&& value) { m_dBClusterEndpointArnHasBeenSet = true; m_dBClusterEndpointArn = std::move(value); }
199 inline void SetDBClusterEndpointArn(const char* value) { m_dBClusterEndpointArnHasBeenSet = true; m_dBClusterEndpointArn.assign(value); }
201 inline DBClusterEndpoint& WithDBClusterEndpointArn(Aws::String&& value) { SetDBClusterEndpointArn(std::move(value)); return *this;}
202 inline DBClusterEndpoint& WithDBClusterEndpointArn(const char* value) { SetDBClusterEndpointArn(value); return *this;}
204
206
207 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
208 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
209 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
210 inline DBClusterEndpoint& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
211 inline DBClusterEndpoint& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
213 private:
214
215 Aws::String m_dBClusterEndpointIdentifier;
216 bool m_dBClusterEndpointIdentifierHasBeenSet = false;
217
218 Aws::String m_dBClusterIdentifier;
219 bool m_dBClusterIdentifierHasBeenSet = false;
220
221 Aws::String m_dBClusterEndpointResourceIdentifier;
222 bool m_dBClusterEndpointResourceIdentifierHasBeenSet = false;
223
224 Aws::String m_endpoint;
225 bool m_endpointHasBeenSet = false;
226
227 Aws::String m_status;
228 bool m_statusHasBeenSet = false;
229
230 Aws::String m_endpointType;
231 bool m_endpointTypeHasBeenSet = false;
232
233 Aws::String m_customEndpointType;
234 bool m_customEndpointTypeHasBeenSet = false;
235
236 Aws::Vector<Aws::String> m_staticMembers;
237 bool m_staticMembersHasBeenSet = false;
238
239 Aws::Vector<Aws::String> m_excludedMembers;
240 bool m_excludedMembersHasBeenSet = false;
241
242 Aws::String m_dBClusterEndpointArn;
243 bool m_dBClusterEndpointArnHasBeenSet = false;
244
245 ResponseMetadata m_responseMetadata;
246 };
247
248} // namespace Model
249} // namespace RDS
250} // namespace Aws
DBClusterEndpoint & WithResponseMetadata(ResponseMetadata &&value)
AWS_RDS_API DBClusterEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBClusterEndpoint & WithExcludedMembers(const Aws::Vector< Aws::String > &value)
DBClusterEndpoint & WithEndpointType(const char *value)
DBClusterEndpoint & WithResponseMetadata(const ResponseMetadata &value)
void SetDBClusterEndpointIdentifier(const Aws::String &value)
DBClusterEndpoint & WithDBClusterIdentifier(Aws::String &&value)
DBClusterEndpoint & WithExcludedMembers(Aws::Vector< Aws::String > &&value)
void SetDBClusterIdentifier(const Aws::String &value)
const Aws::String & GetStatus() const
void SetDBClusterEndpointIdentifier(const char *value)
DBClusterEndpoint & WithDBClusterEndpointResourceIdentifier(const Aws::String &value)
DBClusterEndpoint & WithDBClusterEndpointIdentifier(const char *value)
DBClusterEndpoint & WithEndpointType(Aws::String &&value)
DBClusterEndpoint & WithDBClusterEndpointArn(const Aws::String &value)
const Aws::String & GetDBClusterIdentifier() const
void SetStatus(const Aws::String &value)
DBClusterEndpoint & AddExcludedMembers(const char *value)
DBClusterEndpoint & WithStatus(Aws::String &&value)
void SetCustomEndpointType(const char *value)
const Aws::String & GetDBClusterEndpointResourceIdentifier() const
void SetEndpointType(Aws::String &&value)
DBClusterEndpoint & WithCustomEndpointType(const Aws::String &value)
DBClusterEndpoint & WithDBClusterIdentifier(const Aws::String &value)
DBClusterEndpoint & WithDBClusterEndpointArn(const char *value)
void SetDBClusterIdentifier(Aws::String &&value)
void SetResponseMetadata(ResponseMetadata &&value)
DBClusterEndpoint & WithDBClusterEndpointIdentifier(const Aws::String &value)
DBClusterEndpoint & AddStaticMembers(Aws::String &&value)
void SetDBClusterEndpointArn(const char *value)
const Aws::String & GetDBClusterEndpointArn() const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBClusterEndpoint & WithDBClusterEndpointArn(Aws::String &&value)
DBClusterEndpoint & AddStaticMembers(const char *value)
const Aws::Vector< Aws::String > & GetExcludedMembers() const
DBClusterEndpoint & WithDBClusterEndpointIdentifier(Aws::String &&value)
void SetDBClusterEndpointResourceIdentifier(Aws::String &&value)
void SetStatus(Aws::String &&value)
void SetDBClusterEndpointIdentifier(Aws::String &&value)
void SetEndpointType(const Aws::String &value)
DBClusterEndpoint & AddStaticMembers(const Aws::String &value)
DBClusterEndpoint & AddExcludedMembers(Aws::String &&value)
void SetExcludedMembers(const Aws::Vector< Aws::String > &value)
void SetStaticMembers(Aws::Vector< Aws::String > &&value)
void SetEndpoint(const Aws::String &value)
const ResponseMetadata & GetResponseMetadata() const
DBClusterEndpoint & WithDBClusterEndpointResourceIdentifier(const char *value)
DBClusterEndpoint & WithEndpoint(Aws::String &&value)
bool DBClusterEndpointResourceIdentifierHasBeenSet() const
DBClusterEndpoint & WithCustomEndpointType(const char *value)
void SetDBClusterEndpointArn(const Aws::String &value)
void SetEndpointType(const char *value)
void SetDBClusterIdentifier(const char *value)
DBClusterEndpoint & WithStaticMembers(const Aws::Vector< Aws::String > &value)
DBClusterEndpoint & WithEndpointType(const Aws::String &value)
const Aws::Vector< Aws::String > & GetStaticMembers() const
void SetDBClusterEndpointArn(Aws::String &&value)
const Aws::String & GetCustomEndpointType() const
void SetExcludedMembers(Aws::Vector< Aws::String > &&value)
DBClusterEndpoint & AddExcludedMembers(const Aws::String &value)
DBClusterEndpoint & WithCustomEndpointType(Aws::String &&value)
void SetEndpoint(Aws::String &&value)
DBClusterEndpoint & WithStaticMembers(Aws::Vector< Aws::String > &&value)
DBClusterEndpoint & WithStatus(const char *value)
void SetStaticMembers(const Aws::Vector< Aws::String > &value)
const Aws::String & GetEndpoint() const
void SetResponseMetadata(const ResponseMetadata &value)
DBClusterEndpoint & WithEndpoint(const Aws::String &value)
DBClusterEndpoint & WithEndpoint(const char *value)
void SetDBClusterEndpointResourceIdentifier(const Aws::String &value)
const Aws::String & GetDBClusterEndpointIdentifier() const
DBClusterEndpoint & WithDBClusterIdentifier(const char *value)
DBClusterEndpoint & WithStatus(const Aws::String &value)
AWS_RDS_API DBClusterEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCustomEndpointType(const Aws::String &value)
void SetDBClusterEndpointResourceIdentifier(const char *value)
const Aws::String & GetEndpointType() const
DBClusterEndpoint & WithDBClusterEndpointResourceIdentifier(Aws::String &&value)
void SetCustomEndpointType(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream