7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/memorydb/MemoryDB_EXPORTS.h>
10#include <aws/memorydb/model/ACLsUpdateStatus.h>
11#include <aws/memorydb/model/PendingModifiedServiceUpdate.h>
12#include <aws/memorydb/model/ReshardingStatus.h>
35 AWS_MEMORYDB_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 template <
typename ReshardingT = ReshardingStatus>
45 m_reshardingHasBeenSet =
true;
46 m_resharding = std::forward<ReshardingT>(value);
48 template <
typename ReshardingT = ReshardingStatus>
61 template <
typename ACLsT = ACLsUpdateStatus>
63 m_aCLsHasBeenSet =
true;
64 m_aCLs = std::forward<ACLsT>(value);
66 template <
typename ACLsT = ACLsUpdateStatus>
68 SetACLs(std::forward<ACLsT>(value));
79 template <
typename ServiceUpdatesT = Aws::Vector<PendingModifiedServiceUpdate>>
81 m_serviceUpdatesHasBeenSet =
true;
82 m_serviceUpdates = std::forward<ServiceUpdatesT>(value);
84 template <
typename ServiceUpdatesT = Aws::Vector<PendingModifiedServiceUpdate>>
89 template <
typename ServiceUpdatesT = PendingModifiedServiceUpdate>
91 m_serviceUpdatesHasBeenSet =
true;
92 m_serviceUpdates.emplace_back(std::forward<ServiceUpdatesT>(value));
102 bool m_reshardingHasBeenSet =
false;
103 bool m_aCLsHasBeenSet =
false;
104 bool m_serviceUpdatesHasBeenSet =
false;
bool ACLsHasBeenSet() const
void SetServiceUpdates(ServiceUpdatesT &&value)
const Aws::Vector< PendingModifiedServiceUpdate > & GetServiceUpdates() const
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
ClusterPendingUpdates & AddServiceUpdates(ServiceUpdatesT &&value)
ClusterPendingUpdates & WithServiceUpdates(ServiceUpdatesT &&value)
AWS_MEMORYDB_API ClusterPendingUpdates()=default
ClusterPendingUpdates & WithResharding(ReshardingT &&value)
AWS_MEMORYDB_API ClusterPendingUpdates(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
void SetResharding(ReshardingT &&value)
AWS_MEMORYDB_API ClusterPendingUpdates & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
ClusterPendingUpdates & WithACLs(ACLsT &&value)
bool ServiceUpdatesHasBeenSet() const
bool ReshardingHasBeenSet() const
const ACLsUpdateStatus & GetACLs() const
void SetACLs(ACLsT &&value)
const ReshardingStatus & GetResharding() const
std::vector< T, Aws::Allocator< T > > Vector