AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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{
37 {
38 public:
39 AWS_RDS_API CreateDBShardGroupResult() = default;
42
43
45
49 inline const Aws::String& GetDBShardGroupResourceId() const { return m_dBShardGroupResourceId; }
50 template<typename DBShardGroupResourceIdT = Aws::String>
51 void SetDBShardGroupResourceId(DBShardGroupResourceIdT&& value) { m_dBShardGroupResourceIdHasBeenSet = true; m_dBShardGroupResourceId = std::forward<DBShardGroupResourceIdT>(value); }
52 template<typename DBShardGroupResourceIdT = Aws::String>
53 CreateDBShardGroupResult& WithDBShardGroupResourceId(DBShardGroupResourceIdT&& value) { SetDBShardGroupResourceId(std::forward<DBShardGroupResourceIdT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDBShardGroupIdentifier() const { return m_dBShardGroupIdentifier; }
61 template<typename DBShardGroupIdentifierT = Aws::String>
62 void SetDBShardGroupIdentifier(DBShardGroupIdentifierT&& value) { m_dBShardGroupIdentifierHasBeenSet = true; m_dBShardGroupIdentifier = std::forward<DBShardGroupIdentifierT>(value); }
63 template<typename DBShardGroupIdentifierT = Aws::String>
64 CreateDBShardGroupResult& WithDBShardGroupIdentifier(DBShardGroupIdentifierT&& value) { SetDBShardGroupIdentifier(std::forward<DBShardGroupIdentifierT>(value)); return *this;}
66
68
71 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
72 template<typename DBClusterIdentifierT = Aws::String>
73 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value); }
74 template<typename DBClusterIdentifierT = Aws::String>
75 CreateDBShardGroupResult& WithDBClusterIdentifier(DBClusterIdentifierT&& value) { SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value)); return *this;}
77
79
83 inline double GetMaxACU() const { return m_maxACU; }
84 inline void SetMaxACU(double value) { m_maxACUHasBeenSet = true; 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_minACUHasBeenSet = true; 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_computeRedundancyHasBeenSet = true; 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 template<typename StatusT = Aws::String>
118 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
119 template<typename StatusT = Aws::String>
120 CreateDBShardGroupResult& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
122
124
137 inline bool GetPubliclyAccessible() const { return m_publiclyAccessible; }
138 inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; }
139 inline CreateDBShardGroupResult& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;}
141
143
146 inline const Aws::String& GetEndpoint() const { return m_endpoint; }
147 template<typename EndpointT = Aws::String>
148 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet = true; m_endpoint = std::forward<EndpointT>(value); }
149 template<typename EndpointT = Aws::String>
150 CreateDBShardGroupResult& WithEndpoint(EndpointT&& value) { SetEndpoint(std::forward<EndpointT>(value)); return *this;}
152
154
157 inline const Aws::String& GetDBShardGroupArn() const { return m_dBShardGroupArn; }
158 template<typename DBShardGroupArnT = Aws::String>
159 void SetDBShardGroupArn(DBShardGroupArnT&& value) { m_dBShardGroupArnHasBeenSet = true; m_dBShardGroupArn = std::forward<DBShardGroupArnT>(value); }
160 template<typename DBShardGroupArnT = Aws::String>
161 CreateDBShardGroupResult& WithDBShardGroupArn(DBShardGroupArnT&& value) { SetDBShardGroupArn(std::forward<DBShardGroupArnT>(value)); return *this;}
163
165
166 inline const Aws::Vector<Tag>& GetTagList() const { return m_tagList; }
167 template<typename TagListT = Aws::Vector<Tag>>
168 void SetTagList(TagListT&& value) { m_tagListHasBeenSet = true; m_tagList = std::forward<TagListT>(value); }
169 template<typename TagListT = Aws::Vector<Tag>>
170 CreateDBShardGroupResult& WithTagList(TagListT&& value) { SetTagList(std::forward<TagListT>(value)); return *this;}
171 template<typename TagListT = Tag>
172 CreateDBShardGroupResult& AddTagList(TagListT&& value) { m_tagListHasBeenSet = true; m_tagList.emplace_back(std::forward<TagListT>(value)); return *this; }
174
176
177 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
178 template<typename ResponseMetadataT = ResponseMetadata>
179 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
180 template<typename ResponseMetadataT = ResponseMetadata>
181 CreateDBShardGroupResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
183 private:
184
185 Aws::String m_dBShardGroupResourceId;
186 bool m_dBShardGroupResourceIdHasBeenSet = false;
187
188 Aws::String m_dBShardGroupIdentifier;
189 bool m_dBShardGroupIdentifierHasBeenSet = false;
190
191 Aws::String m_dBClusterIdentifier;
192 bool m_dBClusterIdentifierHasBeenSet = false;
193
194 double m_maxACU{0.0};
195 bool m_maxACUHasBeenSet = false;
196
197 double m_minACU{0.0};
198 bool m_minACUHasBeenSet = false;
199
200 int m_computeRedundancy{0};
201 bool m_computeRedundancyHasBeenSet = false;
202
203 Aws::String m_status;
204 bool m_statusHasBeenSet = false;
205
206 bool m_publiclyAccessible{false};
207 bool m_publiclyAccessibleHasBeenSet = false;
208
209 Aws::String m_endpoint;
210 bool m_endpointHasBeenSet = false;
211
212 Aws::String m_dBShardGroupArn;
213 bool m_dBShardGroupArnHasBeenSet = false;
214
215 Aws::Vector<Tag> m_tagList;
216 bool m_tagListHasBeenSet = false;
217
218 ResponseMetadata m_responseMetadata;
219 bool m_responseMetadataHasBeenSet = false;
220 };
221
222} // namespace Model
223} // namespace RDS
224} // namespace Aws
const ResponseMetadata & GetResponseMetadata() const
AWS_RDS_API CreateDBShardGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateDBShardGroupResult & WithStatus(StatusT &&value)
CreateDBShardGroupResult & WithPubliclyAccessible(bool value)
CreateDBShardGroupResult & WithDBShardGroupArn(DBShardGroupArnT &&value)
CreateDBShardGroupResult & WithDBShardGroupIdentifier(DBShardGroupIdentifierT &&value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
CreateDBShardGroupResult & WithMinACU(double value)
void SetDBShardGroupIdentifier(DBShardGroupIdentifierT &&value)
AWS_RDS_API CreateDBShardGroupResult()=default
CreateDBShardGroupResult & WithEndpoint(EndpointT &&value)
CreateDBShardGroupResult & WithDBShardGroupResourceId(DBShardGroupResourceIdT &&value)
CreateDBShardGroupResult & WithComputeRedundancy(int value)
CreateDBShardGroupResult & WithMaxACU(double value)
CreateDBShardGroupResult & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
CreateDBShardGroupResult & AddTagList(TagListT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_RDS_API CreateDBShardGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateDBShardGroupResult & WithTagList(TagListT &&value)
void SetDBShardGroupResourceId(DBShardGroupResourceIdT &&value)
const Aws::Vector< Tag > & GetTagList() const
CreateDBShardGroupResult & WithResponseMetadata(ResponseMetadataT &&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