AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateDBShardGroupResult.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/rds/model/ResponseMetadata.h>
11#include <aws/rds/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Xml
22{
23 class XmlDocument;
24} // namespace Xml
25} // namespace Utils
26namespace RDS
27{
28namespace Model
29{
31 {
32 public:
36
37
39
43 inline const Aws::String& GetDBShardGroupResourceId() const{ return m_dBShardGroupResourceId; }
44 inline void SetDBShardGroupResourceId(const Aws::String& value) { m_dBShardGroupResourceId = value; }
45 inline void SetDBShardGroupResourceId(Aws::String&& value) { m_dBShardGroupResourceId = std::move(value); }
46 inline void SetDBShardGroupResourceId(const char* value) { m_dBShardGroupResourceId.assign(value); }
49 inline CreateDBShardGroupResult& WithDBShardGroupResourceId(const char* value) { SetDBShardGroupResourceId(value); return *this;}
51
53
56 inline const Aws::String& GetDBShardGroupIdentifier() const{ return m_dBShardGroupIdentifier; }
57 inline void SetDBShardGroupIdentifier(const Aws::String& value) { m_dBShardGroupIdentifier = value; }
58 inline void SetDBShardGroupIdentifier(Aws::String&& value) { m_dBShardGroupIdentifier = std::move(value); }
59 inline void SetDBShardGroupIdentifier(const char* value) { m_dBShardGroupIdentifier.assign(value); }
62 inline CreateDBShardGroupResult& WithDBShardGroupIdentifier(const char* value) { SetDBShardGroupIdentifier(value); return *this;}
64
66
69 inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; }
70 inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifier = value; }
71 inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifier = std::move(value); }
72 inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifier.assign(value); }
74 inline CreateDBShardGroupResult& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;}
75 inline CreateDBShardGroupResult& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;}
77
79
83 inline double GetMaxACU() const{ return m_maxACU; }
84 inline void SetMaxACU(double value) { m_maxACU = value; }
85 inline CreateDBShardGroupResult& WithMaxACU(double value) { SetMaxACU(value); return *this;}
87
89
93 inline double GetMinACU() const{ return m_minACU; }
94 inline void SetMinACU(double value) { m_minACU = value; }
95 inline CreateDBShardGroupResult& WithMinACU(double value) { SetMinACU(value); return *this;}
97
99
107 inline int GetComputeRedundancy() const{ return m_computeRedundancy; }
108 inline void SetComputeRedundancy(int value) { m_computeRedundancy = value; }
109 inline CreateDBShardGroupResult& WithComputeRedundancy(int value) { SetComputeRedundancy(value); return *this;}
111
113
116 inline const Aws::String& GetStatus() const{ return m_status; }
117 inline void SetStatus(const Aws::String& value) { m_status = value; }
118 inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
119 inline void SetStatus(const char* value) { m_status.assign(value); }
120 inline CreateDBShardGroupResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
121 inline CreateDBShardGroupResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
122 inline CreateDBShardGroupResult& WithStatus(const char* value) { SetStatus(value); return *this;}
124
126
139 inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; }
140 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessible = value; }
141 inline CreateDBShardGroupResult& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
143
145
148 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
149 inline void SetEndpoint(const Aws::String& value) { m_endpoint = value; }
150 inline void SetEndpoint(Aws::String&& value) { m_endpoint = std::move(value); }
151 inline void SetEndpoint(const char* value) { m_endpoint.assign(value); }
152 inline CreateDBShardGroupResult& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
153 inline CreateDBShardGroupResult& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
154 inline CreateDBShardGroupResult& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
156
158
161 inline const Aws::String& GetDBShardGroupArn() const{ return m_dBShardGroupArn; }
162 inline void SetDBShardGroupArn(const Aws::String& value) { m_dBShardGroupArn = value; }
163 inline void SetDBShardGroupArn(Aws::String&& value) { m_dBShardGroupArn = std::move(value); }
164 inline void SetDBShardGroupArn(const char* value) { m_dBShardGroupArn.assign(value); }
165 inline CreateDBShardGroupResult& WithDBShardGroupArn(const Aws::String& value) { SetDBShardGroupArn(value); return *this;}
166 inline CreateDBShardGroupResult& WithDBShardGroupArn(Aws::String&& value) { SetDBShardGroupArn(std::move(value)); return *this;}
167 inline CreateDBShardGroupResult& WithDBShardGroupArn(const char* value) { SetDBShardGroupArn(value); return *this;}
169
171
172 inline const Aws::Vector<Tag>& GetTagList() const{ return m_tagList; }
173 inline void SetTagList(const Aws::Vector<Tag>& value) { m_tagList = value; }
174 inline void SetTagList(Aws::Vector<Tag>&& value) { m_tagList = std::move(value); }
175 inline CreateDBShardGroupResult& WithTagList(const Aws::Vector<Tag>& value) { SetTagList(value); return *this;}
176 inline CreateDBShardGroupResult& WithTagList(Aws::Vector<Tag>&& value) { SetTagList(std::move(value)); return *this;}
177 inline CreateDBShardGroupResult& AddTagList(const Tag& value) { m_tagList.push_back(value); return *this; }
178 inline CreateDBShardGroupResult& AddTagList(Tag&& value) { m_tagList.push_back(std::move(value)); return *this; }
180
182
183 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
184 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
185 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
187 inline CreateDBShardGroupResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
189 private:
190
191 Aws::String m_dBShardGroupResourceId;
192
193 Aws::String m_dBShardGroupIdentifier;
194
195 Aws::String m_dBClusterIdentifier;
196
197 double m_maxACU;
198
199 double m_minACU;
200
201 int m_computeRedundancy;
202
203 Aws::String m_status;
204
205 bool m_publiclyAccessible;
206
207 Aws::String m_endpoint;
208
209 Aws::String m_dBShardGroupArn;
210
211 Aws::Vector<Tag> m_tagList;
212
213 ResponseMetadata m_responseMetadata;
214 };
215
216} // namespace Model
217} // namespace RDS
218} // namespace Aws
CreateDBShardGroupResult & WithTagList(const Aws::Vector< Tag > &value)
const ResponseMetadata & GetResponseMetadata() const
AWS_RDS_API CreateDBShardGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetResponseMetadata(const ResponseMetadata &value)
CreateDBShardGroupResult & WithDBClusterIdentifier(const Aws::String &value)
CreateDBShardGroupResult & WithPubliclyAccessible(bool value)
CreateDBShardGroupResult & WithStatus(const char *value)
CreateDBShardGroupResult & WithDBClusterIdentifier(const char *value)
CreateDBShardGroupResult & WithDBShardGroupIdentifier(const char *value)
CreateDBShardGroupResult & WithTagList(Aws::Vector< Tag > &&value)
CreateDBShardGroupResult & WithEndpoint(const Aws::String &value)
CreateDBShardGroupResult & WithResponseMetadata(ResponseMetadata &&value)
CreateDBShardGroupResult & AddTagList(const Tag &value)
void SetDBShardGroupResourceId(const Aws::String &value)
CreateDBShardGroupResult & AddTagList(Tag &&value)
CreateDBShardGroupResult & WithStatus(Aws::String &&value)
CreateDBShardGroupResult & WithDBShardGroupResourceId(const Aws::String &value)
CreateDBShardGroupResult & WithDBClusterIdentifier(Aws::String &&value)
CreateDBShardGroupResult & WithDBShardGroupArn(Aws::String &&value)
CreateDBShardGroupResult & WithMinACU(double value)
CreateDBShardGroupResult & WithEndpoint(const char *value)
CreateDBShardGroupResult & WithComputeRedundancy(int value)
CreateDBShardGroupResult & WithMaxACU(double value)
CreateDBShardGroupResult & WithDBShardGroupArn(const char *value)
CreateDBShardGroupResult & WithDBShardGroupIdentifier(Aws::String &&value)
CreateDBShardGroupResult & WithEndpoint(Aws::String &&value)
CreateDBShardGroupResult & WithDBShardGroupResourceId(const char *value)
CreateDBShardGroupResult & WithStatus(const Aws::String &value)
CreateDBShardGroupResult & WithDBShardGroupIdentifier(const Aws::String &value)
AWS_RDS_API CreateDBShardGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
void SetTagList(const Aws::Vector< Tag > &value)
const Aws::Vector< Tag > & GetTagList() const
CreateDBShardGroupResult & WithDBShardGroupResourceId(Aws::String &&value)
void SetDBShardGroupIdentifier(const Aws::String &value)
CreateDBShardGroupResult & WithDBShardGroupArn(const Aws::String &value)
void SetDBClusterIdentifier(const Aws::String &value)
CreateDBShardGroupResult & WithResponseMetadata(const ResponseMetadata &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument