AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DBShardGroup.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 <aws/rds/model/Tag.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Xml
20{
21 class XmlNode;
22} // namespace Xml
23} // namespace Utils
24namespace RDS
25{
26namespace Model
27{
28
30 {
31 public:
32 AWS_RDS_API DBShardGroup();
33 AWS_RDS_API DBShardGroup(const Aws::Utils::Xml::XmlNode& xmlNode);
34 AWS_RDS_API DBShardGroup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
35
36 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
37 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
38
39
41
45 inline const Aws::String& GetDBShardGroupResourceId() const{ return m_dBShardGroupResourceId; }
46 inline bool DBShardGroupResourceIdHasBeenSet() const { return m_dBShardGroupResourceIdHasBeenSet; }
47 inline void SetDBShardGroupResourceId(const Aws::String& value) { m_dBShardGroupResourceIdHasBeenSet = true; m_dBShardGroupResourceId = value; }
48 inline void SetDBShardGroupResourceId(Aws::String&& value) { m_dBShardGroupResourceIdHasBeenSet = true; m_dBShardGroupResourceId = std::move(value); }
49 inline void SetDBShardGroupResourceId(const char* value) { m_dBShardGroupResourceIdHasBeenSet = true; m_dBShardGroupResourceId.assign(value); }
51 inline DBShardGroup& WithDBShardGroupResourceId(Aws::String&& value) { SetDBShardGroupResourceId(std::move(value)); return *this;}
52 inline DBShardGroup& WithDBShardGroupResourceId(const char* value) { SetDBShardGroupResourceId(value); return *this;}
54
56
59 inline const Aws::String& GetDBShardGroupIdentifier() const{ return m_dBShardGroupIdentifier; }
60 inline bool DBShardGroupIdentifierHasBeenSet() const { return m_dBShardGroupIdentifierHasBeenSet; }
61 inline void SetDBShardGroupIdentifier(const Aws::String& value) { m_dBShardGroupIdentifierHasBeenSet = true; m_dBShardGroupIdentifier = value; }
62 inline void SetDBShardGroupIdentifier(Aws::String&& value) { m_dBShardGroupIdentifierHasBeenSet = true; m_dBShardGroupIdentifier = std::move(value); }
63 inline void SetDBShardGroupIdentifier(const char* value) { m_dBShardGroupIdentifierHasBeenSet = true; m_dBShardGroupIdentifier.assign(value); }
65 inline DBShardGroup& WithDBShardGroupIdentifier(Aws::String&& value) { SetDBShardGroupIdentifier(std::move(value)); return *this;}
66 inline DBShardGroup& WithDBShardGroupIdentifier(const char* value) { SetDBShardGroupIdentifier(value); return *this;}
68
70
73 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
74 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
75 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; }
76 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); }
77 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); }
78 inline DBShardGroup& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;}
79 inline DBShardGroup& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
80 inline DBShardGroup& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
82
84
88 inline double GetMaxACU() const{ return m_maxACU; }
89 inline bool MaxACUHasBeenSet() const { return m_maxACUHasBeenSet; }
90 inline void SetMaxACU(double value) { m_maxACUHasBeenSet = true; m_maxACU = value; }
91 inline DBShardGroup& WithMaxACU(double value) { SetMaxACU(value); return *this;}
93
95
99 inline double GetMinACU() const{ return m_minACU; }
100 inline bool MinACUHasBeenSet() const { return m_minACUHasBeenSet; }
101 inline void SetMinACU(double value) { m_minACUHasBeenSet = true; m_minACU = value; }
102 inline DBShardGroup& WithMinACU(double value) { SetMinACU(value); return *this;}
104
106
114 inline int GetComputeRedundancy() const{ return m_computeRedundancy; }
115 inline bool ComputeRedundancyHasBeenSet() const { return m_computeRedundancyHasBeenSet; }
116 inline void SetComputeRedundancy(int value) { m_computeRedundancyHasBeenSet = true; m_computeRedundancy = value; }
117 inline DBShardGroup& WithComputeRedundancy(int value) { SetComputeRedundancy(value); return *this;}
119
121
124 inline const Aws::String& GetStatus() const{ return m_status; }
125 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
126 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
127 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
128 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
129 inline DBShardGroup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
130 inline DBShardGroup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
131 inline DBShardGroup& WithStatus(const char* value) { SetStatus(value); return *this;}
133
135
148 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
149 inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; }
150 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
151 inline DBShardGroup& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
153
155
158 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
159 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
160 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
161 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
162 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
163 inline DBShardGroup& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
164 inline DBShardGroup& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
165 inline DBShardGroup& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
167
169
172 inline const Aws::String& GetDBShardGroupArn() const{ return m_dBShardGroupArn; }
173 inline bool DBShardGroupArnHasBeenSet() const { return m_dBShardGroupArnHasBeenSet; }
174 inline void SetDBShardGroupArn(const Aws::String& value) { m_dBShardGroupArnHasBeenSet = true; m_dBShardGroupArn = value; }
175 inline void SetDBShardGroupArn(Aws::String&& value) { m_dBShardGroupArnHasBeenSet = true; m_dBShardGroupArn = std::move(value); }
176 inline void SetDBShardGroupArn(const char* value) { m_dBShardGroupArnHasBeenSet = true; m_dBShardGroupArn.assign(value); }
177 inline DBShardGroup& WithDBShardGroupArn(const Aws::String& value) { SetDBShardGroupArn(value); return *this;}
178 inline DBShardGroup& WithDBShardGroupArn(Aws::String&& value) { SetDBShardGroupArn(std::move(value)); return *this;}
179 inline DBShardGroup& WithDBShardGroupArn(const char* value) { SetDBShardGroupArn(value); return *this;}
181
183
184 inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
185 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
186 inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagListHasBeenSet = true; m_tagList = value; }
187 inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagListHasBeenSet = true; m_tagList = std::move(value); }
188 inline DBShardGroup& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
189 inline DBShardGroup& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
190 inline DBShardGroup& AddTagList(const Tag& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; }
191 inline DBShardGroup& AddTagList(Tag&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(std::move(value)); return *this; }
193
195
196 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
197 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
198 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
199 inline DBShardGroup& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
200 inline DBShardGroup& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
202 private:
203
204 Aws::String m_dBShardGroupResourceId;
205 bool m_dBShardGroupResourceIdHasBeenSet = false;
206
207 Aws::String m_dBShardGroupIdentifier;
208 bool m_dBShardGroupIdentifierHasBeenSet = false;
209
210 Aws::String m_dBClusterIdentifier;
211 bool m_dBClusterIdentifierHasBeenSet = false;
212
213 double m_maxACU;
214 bool m_maxACUHasBeenSet = false;
215
216 double m_minACU;
217 bool m_minACUHasBeenSet = false;
218
219 int m_computeRedundancy;
220 bool m_computeRedundancyHasBeenSet = false;
221
222 Aws::String m_status;
223 bool m_statusHasBeenSet = false;
224
225 bool m_publiclyAccessible;
226 bool m_publiclyAccessibleHasBeenSet = false;
227
228 Aws::String m_endpoint;
229 bool m_endpointHasBeenSet = false;
230
231 Aws::String m_dBShardGroupArn;
232 bool m_dBShardGroupArnHasBeenSet = false;
233
234 Aws::Vector<Tag> m_tagList;
235 bool m_tagListHasBeenSet = false;
236
237 ResponseMetadata m_responseMetadata;
238 };
239
240} // namespace Model
241} // namespace RDS
242} // namespace Aws
DBShardGroup & WithMaxACU(double value)
DBShardGroup & WithDBClusterIdentifier(const char *value)
bool DBShardGroupResourceIdHasBeenSet() const
DBShardGroup & WithStatus(const char *value)
void SetEndpoint(const char *value)
DBShardGroup & WithEndpoint(const Aws::String &value)
AWS_RDS_API DBShardGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBShardGroup & WithDBShardGroupArn(const Aws::String &value)
void SetDBClusterIdentifier(const char *value)
void SetDBShardGroupArn(const char *value)
DBShardGroup & WithDBShardGroupArn(Aws::String &&value)
bool PubliclyAccessibleHasBeenSet() const
const Aws::String & GetDBShardGroupIdentifier() const
DBShardGroup & WithDBClusterIdentifier(Aws::String &&value)
bool ComputeRedundancyHasBeenSet() const
DBShardGroup & WithPubliclyAccessible(bool value)
DBShardGroup & WithMinACU(double value)
void SetDBClusterIdentifier(const Aws::String &value)
DBShardGroup & WithDBShardGroupResourceId(Aws::String &&value)
bool DBShardGroupIdentifierHasBeenSet() const
void SetStatus(const Aws::String &value)
void SetDBShardGroupResourceId(const Aws::String &value)
DBShardGroup & WithEndpoint(const char *value)
const ResponseMetadata & GetResponseMetadata() const
void SetResponseMetadata(const ResponseMetadata &value)
DBShardGroup & AddTagList(Tag &&value)
void SetDBShardGroupArn(const Aws::String &value)
void SetPubliclyAccessible(bool value)
void SetDBShardGroupIdentifier(Aws::String &&value)
void SetMaxACU(double value)
const Aws::String & GetEndpoint() const
DBShardGroup & WithComputeRedundancy(int value)
DBShardGroup & WithStatus(Aws::String &&value)
void SetDBShardGroupIdentifier(const Aws::String &value)
void SetEndpoint(const Aws::String &value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetDBClusterIdentifier() const
DBShardGroup & WithDBShardGroupResourceId(const char *value)
bool DBClusterIdentifierHasBeenSet() const
void SetDBShardGroupResourceId(const char *value)
DBShardGroup & WithDBShardGroupResourceId(const Aws::String &value)
const Aws::String & GetDBShardGroupArn() const
DBShardGroup & WithStatus(const Aws::String &value)
void SetTagList(const Aws::Vector< Tag > &value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetResponseMetadata(ResponseMetadata &&value)
void SetEndpoint(Aws::String &&value)
void SetTagList(Aws::Vector< Tag > &&value)
DBShardGroup & AddTagList(const Tag &value)
const Aws::String & GetStatus() const
void SetStatus(Aws::String &&value)
DBShardGroup & WithResponseMetadata(ResponseMetadata &&value)
const Aws::Vector< Tag > & GetTagList() const
DBShardGroup & WithResponseMetadata(const ResponseMetadata &value)
AWS_RDS_API DBShardGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetDBShardGroupIdentifier(const char *value)
DBShardGroup & WithDBShardGroupIdentifier(const Aws::String &value)
void SetDBShardGroupArn(Aws::String &&value)
DBShardGroup & WithDBShardGroupArn(const char *value)
void SetMinACU(double value)
DBShardGroup & WithDBShardGroupIdentifier(const char *value)
void SetComputeRedundancy(int value)
DBShardGroup & WithEndpoint(Aws::String &&value)
DBShardGroup & WithTagList(Aws::Vector< Tag > &&value)
void SetDBShardGroupResourceId(Aws::String &&value)
DBShardGroup & WithDBShardGroupIdentifier(Aws::String &&value)
void SetStatus(const char *value)
const Aws::String & GetDBShardGroupResourceId() const
void SetDBClusterIdentifier(Aws::String &&value)
DBShardGroup & WithTagList(const Aws::Vector< Tag > &value)
DBShardGroup & WithDBClusterIdentifier(const 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