7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/memorydb/MemoryDB_EXPORTS.h>
11#include <aws/memorydb/model/RegionalCluster.h>
32 AWS_MEMORYDB_API
MultiRegionCluster(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_MEMORYDB_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 template <
typename MultiRegionClusterNameT = Aws::String>
44 m_multiRegionClusterNameHasBeenSet =
true;
45 m_multiRegionClusterName = std::forward<MultiRegionClusterNameT>(value);
47 template <
typename MultiRegionClusterNameT = Aws::String>
60 template <
typename DescriptionT = Aws::String>
62 m_descriptionHasBeenSet =
true;
63 m_description = std::forward<DescriptionT>(value);
65 template <
typename DescriptionT = Aws::String>
78 template <
typename StatusT = Aws::String>
80 m_statusHasBeenSet =
true;
81 m_status = std::forward<StatusT>(value);
83 template <
typename StatusT = Aws::String>
96 template <
typename NodeTypeT = Aws::String>
98 m_nodeTypeHasBeenSet =
true;
99 m_nodeType = std::forward<NodeTypeT>(value);
101 template <
typename NodeTypeT = Aws::String>
114 template <
typename EngineT = Aws::String>
116 m_engineHasBeenSet =
true;
117 m_engine = std::forward<EngineT>(value);
119 template <
typename EngineT = Aws::String>
132 template <
typename EngineVersionT = Aws::String>
134 m_engineVersionHasBeenSet =
true;
135 m_engineVersion = std::forward<EngineVersionT>(value);
137 template <
typename EngineVersionT = Aws::String>
151 m_numberOfShardsHasBeenSet =
true;
152 m_numberOfShards = value;
166 template <
typename ClustersT = Aws::Vector<RegionalCluster>>
168 m_clustersHasBeenSet =
true;
169 m_clusters = std::forward<ClustersT>(value);
171 template <
typename ClustersT = Aws::Vector<RegionalCluster>>
176 template <
typename ClustersT = RegionalCluster>
178 m_clustersHasBeenSet =
true;
179 m_clusters.emplace_back(std::forward<ClustersT>(value));
190 template <
typename MultiRegionParameterGroupNameT = Aws::String>
192 m_multiRegionParameterGroupNameHasBeenSet =
true;
193 m_multiRegionParameterGroupName = std::forward<MultiRegionParameterGroupNameT>(value);
195 template <
typename MultiRegionParameterGroupNameT = Aws::String>
209 m_tLSEnabledHasBeenSet =
true;
210 m_tLSEnabled = value;
224 template <
typename ARNT = Aws::String>
226 m_aRNHasBeenSet =
true;
227 m_aRN = std::forward<ARNT>(value);
229 template <
typename ARNT = Aws::String>
231 SetARN(std::forward<ARNT>(value));
248 int64_t m_numberOfShards{0};
254 bool m_tLSEnabled{
false};
257 bool m_multiRegionClusterNameHasBeenSet =
false;
258 bool m_descriptionHasBeenSet =
false;
259 bool m_statusHasBeenSet =
false;
260 bool m_nodeTypeHasBeenSet =
false;
261 bool m_engineHasBeenSet =
false;
262 bool m_engineVersionHasBeenSet =
false;
263 bool m_numberOfShardsHasBeenSet =
false;
264 bool m_clustersHasBeenSet =
false;
265 bool m_multiRegionParameterGroupNameHasBeenSet =
false;
266 bool m_tLSEnabledHasBeenSet =
false;
267 bool m_aRNHasBeenSet =
false;
MultiRegionCluster & WithStatus(StatusT &&value)
MultiRegionCluster & WithDescription(DescriptionT &&value)
const Aws::String & GetEngine() const
MultiRegionCluster & WithEngine(EngineT &&value)
bool EngineVersionHasBeenSet() const
AWS_MEMORYDB_API MultiRegionCluster & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool NodeTypeHasBeenSet() const
const Aws::String & GetMultiRegionParameterGroupName() const
MultiRegionCluster & WithARN(ARNT &&value)
void SetDescription(DescriptionT &&value)
void SetEngine(EngineT &&value)
bool MultiRegionParameterGroupNameHasBeenSet() const
MultiRegionCluster & WithNodeType(NodeTypeT &&value)
bool MultiRegionClusterNameHasBeenSet() const
const Aws::Vector< RegionalCluster > & GetClusters() const
int64_t GetNumberOfShards() const
MultiRegionCluster & WithNumberOfShards(int64_t value)
void SetNumberOfShards(int64_t value)
AWS_MEMORYDB_API MultiRegionCluster(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetClusters(ClustersT &&value)
bool StatusHasBeenSet() const
MultiRegionCluster & AddClusters(ClustersT &&value)
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::String & GetStatus() const
MultiRegionCluster & WithEngineVersion(EngineVersionT &&value)
bool TLSEnabledHasBeenSet() const
MultiRegionCluster & WithClusters(ClustersT &&value)
MultiRegionCluster & WithMultiRegionClusterName(MultiRegionClusterNameT &&value)
bool EngineHasBeenSet() const
const Aws::String & GetMultiRegionClusterName() const
void SetARN(ARNT &&value)
void SetMultiRegionClusterName(MultiRegionClusterNameT &&value)
MultiRegionCluster & WithTLSEnabled(bool value)
void SetNodeType(NodeTypeT &&value)
const Aws::String & GetDescription() const
void SetEngineVersion(EngineVersionT &&value)
bool DescriptionHasBeenSet() const
void SetMultiRegionParameterGroupName(MultiRegionParameterGroupNameT &&value)
bool GetTLSEnabled() const
bool NumberOfShardsHasBeenSet() const
AWS_MEMORYDB_API MultiRegionCluster()=default
bool ClustersHasBeenSet() const
const Aws::String & GetARN() const
MultiRegionCluster & WithMultiRegionParameterGroupName(MultiRegionParameterGroupNameT &&value)
void SetTLSEnabled(bool value)
bool ARNHasBeenSet() const
const Aws::String & GetNodeType() const
void SetStatus(StatusT &&value)
const Aws::String & GetEngineVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector