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/neptune/Neptune_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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace Neptune
23{
24namespace Model
25{
26
40 {
41 public:
42 AWS_NEPTUNE_API DBClusterEndpoint();
43 AWS_NEPTUNE_API DBClusterEndpoint(const Aws::Utils::Xml::XmlNode& xmlNode);
44 AWS_NEPTUNE_API DBClusterEndpoint& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
45
46 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_NEPTUNE_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
55 inline const Aws::String& GetDBClusterEndpointIdentifier() const{ return m_dBClusterEndpointIdentifier; }
56 inline bool DBClusterEndpointIdentifierHasBeenSet() const { return m_dBClusterEndpointIdentifierHasBeenSet; }
57 inline void SetDBClusterEndpointIdentifier(const Aws::String& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = value; }
58 inline void SetDBClusterEndpointIdentifier(Aws::String&& value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier = std::move(value); }
59 inline void SetDBClusterEndpointIdentifier(const char* value) { m_dBClusterEndpointIdentifierHasBeenSet = true; m_dBClusterEndpointIdentifier.assign(value); }
62 inline DBClusterEndpoint& WithDBClusterEndpointIdentifier(const char* value) { SetDBClusterEndpointIdentifier(value); return *this;}
64
66
70 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
71 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
72 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
73 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
74 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
75 inline DBClusterEndpoint& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
76 inline DBClusterEndpoint& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
77 inline DBClusterEndpoint& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
79
81
85 inline const Aws::String& GetDBClusterEndpointResourceIdentifier() const{ return m_dBClusterEndpointResourceIdentifier; }
86 inline bool DBClusterEndpointResourceIdentifierHasBeenSet() const { return m_dBClusterEndpointResourceIdentifierHasBeenSet; }
87 inline void SetDBClusterEndpointResourceIdentifier(const Aws::String& value) { m_dBClusterEndpointResourceIdentifierHasBeenSet = true; m_dBClusterEndpointResourceIdentifier = value; }
88 inline void SetDBClusterEndpointResourceIdentifier(Aws::String&& value) { m_dBClusterEndpointResourceIdentifierHasBeenSet = true; m_dBClusterEndpointResourceIdentifier = std::move(value); }
89 inline void SetDBClusterEndpointResourceIdentifier(const char* value) { m_dBClusterEndpointResourceIdentifierHasBeenSet = true; m_dBClusterEndpointResourceIdentifier.assign(value); }
94
96
99 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
100 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
101 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
102 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
103 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
104 inline DBClusterEndpoint& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
105 inline DBClusterEndpoint& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
106 inline DBClusterEndpoint& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
108
110
117 inline const Aws::String& GetStatus() const{ return m_status; }
118 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
119 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
120 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
121 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
122 inline DBClusterEndpoint& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
123 inline DBClusterEndpoint& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
124 inline DBClusterEndpoint& WithStatus(const char* value) { SetStatus(value); return *this;}
126
128
132 inline const Aws::String& GetEndpointType() const{ return m_endpointType; }
133 inline bool EndpointTypeHasBeenSet() const { return m_endpointTypeHasBeenSet; }
134 inline void SetEndpointType(const Aws::String& value) { m_endpointTypeHasBeenSet = true; m_endpointType = value; }
135 inline void SetEndpointType(Aws::String&& value) { m_endpointTypeHasBeenSet = true; m_endpointType = std::move(value); }
136 inline void SetEndpointType(const char* value) { m_endpointTypeHasBeenSet = true; m_endpointType.assign(value); }
137 inline DBClusterEndpoint& WithEndpointType(const Aws::String& value) { SetEndpointType(value); return *this;}
138 inline DBClusterEndpoint& WithEndpointType(Aws::String&& value) { SetEndpointType(std::move(value)); return *this;}
139 inline DBClusterEndpoint& WithEndpointType(const char* value) { SetEndpointType(value); return *this;}
141
143
147 inline const Aws::String& GetCustomEndpointType() const{ return m_customEndpointType; }
148 inline bool CustomEndpointTypeHasBeenSet() const { return m_customEndpointTypeHasBeenSet; }
149 inline void SetCustomEndpointType(const Aws::String& value) { m_customEndpointTypeHasBeenSet = true; m_customEndpointType = value; }
150 inline void SetCustomEndpointType(Aws::String&& value) { m_customEndpointTypeHasBeenSet = true; m_customEndpointType = std::move(value); }
151 inline void SetCustomEndpointType(const char* value) { m_customEndpointTypeHasBeenSet = true; m_customEndpointType.assign(value); }
152 inline DBClusterEndpoint& WithCustomEndpointType(const Aws::String& value) { SetCustomEndpointType(value); return *this;}
153 inline DBClusterEndpoint& WithCustomEndpointType(Aws::String&& value) { SetCustomEndpointType(std::move(value)); return *this;}
154 inline DBClusterEndpoint& WithCustomEndpointType(const char* value) { SetCustomEndpointType(value); return *this;}
156
158
162 inline const Aws::Vector<Aws::String>& GetStaticMembers() const{ return m_staticMembers; }
163 inline bool StaticMembersHasBeenSet() const { return m_staticMembersHasBeenSet; }
164 inline void SetStaticMembers(const Aws::Vector<Aws::String>& value) { m_staticMembersHasBeenSet = true; m_staticMembers = value; }
165 inline void SetStaticMembers(Aws::Vector<Aws::String>&& value) { m_staticMembersHasBeenSet = true; m_staticMembers = std::move(value); }
167 inline DBClusterEndpoint& WithStaticMembers(Aws::Vector<Aws::String>&& value) { SetStaticMembers(std::move(value)); return *this;}
168 inline DBClusterEndpoint& AddStaticMembers(const Aws::String& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
169 inline DBClusterEndpoint& AddStaticMembers(Aws::String&& value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(std::move(value)); return *this; }
170 inline DBClusterEndpoint& AddStaticMembers(const char* value) { m_staticMembersHasBeenSet = true; m_staticMembers.push_back(value); return *this; }
172
174
179 inline const Aws::Vector<Aws::String>& GetExcludedMembers() const{ return m_excludedMembers; }
180 inline bool ExcludedMembersHasBeenSet() const { return m_excludedMembersHasBeenSet; }
181 inline void SetExcludedMembers(const Aws::Vector<Aws::String>& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = value; }
182 inline void SetExcludedMembers(Aws::Vector<Aws::String>&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers = std::move(value); }
184 inline DBClusterEndpoint& WithExcludedMembers(Aws::Vector<Aws::String>&& value) { SetExcludedMembers(std::move(value)); return *this;}
185 inline DBClusterEndpoint& AddExcludedMembers(const Aws::String& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
186 inline DBClusterEndpoint& AddExcludedMembers(Aws::String&& value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(std::move(value)); return *this; }
187 inline DBClusterEndpoint& AddExcludedMembers(const char* value) { m_excludedMembersHasBeenSet = true; m_excludedMembers.push_back(value); return *this; }
189
191
194 inline const Aws::String& GetDBClusterEndpointArn() const{ return m_dBClusterEndpointArn; }
195 inline bool DBClusterEndpointArnHasBeenSet() const { return m_dBClusterEndpointArnHasBeenSet; }
196 inline void SetDBClusterEndpointArn(const Aws::String& value) { m_dBClusterEndpointArnHasBeenSet = true; m_dBClusterEndpointArn = value; }
197 inline void SetDBClusterEndpointArn(Aws::String&& value) { m_dBClusterEndpointArnHasBeenSet = true; m_dBClusterEndpointArn = std::move(value); }
198 inline void SetDBClusterEndpointArn(const char* value) { m_dBClusterEndpointArnHasBeenSet = true; m_dBClusterEndpointArn.assign(value); }
200 inline DBClusterEndpoint& WithDBClusterEndpointArn(Aws::String&& value) { SetDBClusterEndpointArn(std::move(value)); return *this;}
201 inline DBClusterEndpoint& WithDBClusterEndpointArn(const char* value) { SetDBClusterEndpointArn(value); return *this;}
203 private:
204
205 Aws::String m_dBClusterEndpointIdentifier;
206 bool m_dBClusterEndpointIdentifierHasBeenSet = false;
207
208 Aws::String m_dBClusterIdentifier;
209 bool m_dBClusterIdentifierHasBeenSet = false;
210
211 Aws::String m_dBClusterEndpointResourceIdentifier;
212 bool m_dBClusterEndpointResourceIdentifierHasBeenSet = false;
213
214 Aws::String m_endpoint;
215 bool m_endpointHasBeenSet = false;
216
217 Aws::String m_status;
218 bool m_statusHasBeenSet = false;
219
220 Aws::String m_endpointType;
221 bool m_endpointTypeHasBeenSet = false;
222
223 Aws::String m_customEndpointType;
224 bool m_customEndpointTypeHasBeenSet = false;
225
226 Aws::Vector<Aws::String> m_staticMembers;
227 bool m_staticMembersHasBeenSet = false;
228
229 Aws::Vector<Aws::String> m_excludedMembers;
230 bool m_excludedMembersHasBeenSet = false;
231
232 Aws::String m_dBClusterEndpointArn;
233 bool m_dBClusterEndpointArnHasBeenSet = false;
234 };
235
236} // namespace Model
237} // namespace Neptune
238} // namespace Aws
void SetDBClusterEndpointIdentifier(const Aws::String &value)
DBClusterEndpoint & WithEndpointType(const Aws::String &value)
DBClusterEndpoint & WithCustomEndpointType(const Aws::String &value)
DBClusterEndpoint & WithDBClusterEndpointIdentifier(const Aws::String &value)
const Aws::Vector< Aws::String > & GetExcludedMembers() const
DBClusterEndpoint & WithEndpoint(const Aws::String &value)
const Aws::String & GetDBClusterEndpointArn() const
void SetDBClusterEndpointArn(Aws::String &&value)
void SetEndpoint(const Aws::String &value)
void SetDBClusterEndpointResourceIdentifier(Aws::String &&value)
DBClusterEndpoint & AddExcludedMembers(Aws::String &&value)
AWS_NEPTUNE_API DBClusterEndpoint & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBClusterEndpoint & WithDBClusterEndpointArn(Aws::String &&value)
void SetDBClusterEndpointIdentifier(const char *value)
DBClusterEndpoint & WithDBClusterIdentifier(const char *value)
const Aws::String & GetDBClusterEndpointIdentifier() const
void SetExcludedMembers(const Aws::Vector< Aws::String > &value)
DBClusterEndpoint & WithExcludedMembers(Aws::Vector< Aws::String > &&value)
DBClusterEndpoint & WithEndpoint(Aws::String &&value)
DBClusterEndpoint & WithEndpoint(const char *value)
DBClusterEndpoint & AddExcludedMembers(const Aws::String &value)
void SetDBClusterEndpointResourceIdentifier(const Aws::String &value)
const Aws::String & GetCustomEndpointType() const
void SetCustomEndpointType(const Aws::String &value)
DBClusterEndpoint & WithDBClusterIdentifier(const Aws::String &value)
DBClusterEndpoint & AddStaticMembers(const char *value)
DBClusterEndpoint & WithDBClusterEndpointIdentifier(Aws::String &&value)
void SetDBClusterIdentifier(const Aws::String &value)
AWS_NEPTUNE_API DBClusterEndpoint(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterEndpoint & AddStaticMembers(const Aws::String &value)
void SetDBClusterEndpointIdentifier(Aws::String &&value)
DBClusterEndpoint & WithCustomEndpointType(const char *value)
void SetStaticMembers(const Aws::Vector< Aws::String > &value)
DBClusterEndpoint & WithStaticMembers(Aws::Vector< Aws::String > &&value)
void SetEndpointType(const Aws::String &value)
DBClusterEndpoint & WithDBClusterIdentifier(Aws::String &&value)
const Aws::String & GetDBClusterIdentifier() const
DBClusterEndpoint & WithStatus(const Aws::String &value)
DBClusterEndpoint & WithStatus(const char *value)
void SetDBClusterEndpointResourceIdentifier(const char *value)
void SetCustomEndpointType(const char *value)
void SetEndpointType(Aws::String &&value)
DBClusterEndpoint & AddStaticMembers(Aws::String &&value)
void SetDBClusterEndpointArn(const char *value)
DBClusterEndpoint & WithDBClusterEndpointIdentifier(const char *value)
DBClusterEndpoint & WithEndpointType(Aws::String &&value)
void SetStatus(const Aws::String &value)
DBClusterEndpoint & WithDBClusterEndpointResourceIdentifier(const char *value)
DBClusterEndpoint & WithStatus(Aws::String &&value)
const Aws::String & GetDBClusterEndpointResourceIdentifier() const
const Aws::Vector< Aws::String > & GetStaticMembers() const
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDBClusterIdentifier(const char *value)
void SetExcludedMembers(Aws::Vector< Aws::String > &&value)
DBClusterEndpoint & WithDBClusterEndpointArn(const Aws::String &value)
void SetStaticMembers(Aws::Vector< Aws::String > &&value)
const Aws::String & GetEndpoint() const
void SetDBClusterIdentifier(Aws::String &&value)
DBClusterEndpoint & AddExcludedMembers(const char *value)
DBClusterEndpoint & WithStaticMembers(const Aws::Vector< Aws::String > &value)
DBClusterEndpoint & WithDBClusterEndpointArn(const char *value)
const Aws::String & GetStatus() const
DBClusterEndpoint & WithExcludedMembers(const Aws::Vector< Aws::String > &value)
DBClusterEndpoint & WithDBClusterEndpointResourceIdentifier(Aws::String &&value)
const Aws::String & GetEndpointType() const
void SetCustomEndpointType(Aws::String &&value)
void SetDBClusterEndpointArn(const Aws::String &value)
DBClusterEndpoint & WithDBClusterEndpointResourceIdentifier(const Aws::String &value)
DBClusterEndpoint & WithCustomEndpointType(Aws::String &&value)
DBClusterEndpoint & WithEndpointType(const char *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