7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/AuthTokenUpdateStatus.h>
12#include <aws/elasticache/model/ClusterMode.h>
13#include <aws/elasticache/model/PendingAutomaticFailoverStatus.h>
14#include <aws/elasticache/model/PendingLogDeliveryConfiguration.h>
15#include <aws/elasticache/model/ReshardingStatus.h>
16#include <aws/elasticache/model/TransitEncryptionMode.h>
17#include <aws/elasticache/model/UserGroupsUpdateStatus.h>
27namespace ElastiCache {
54 template <
typename PrimaryClusterIdT = Aws::String>
56 m_primaryClusterIdHasBeenSet =
true;
57 m_primaryClusterId = std::forward<PrimaryClusterIdT>(value);
59 template <
typename PrimaryClusterIdT = Aws::String>
74 m_automaticFailoverStatusHasBeenSet =
true;
75 m_automaticFailoverStatus = value;
89 template <
typename ReshardingT = ReshardingStatus>
91 m_reshardingHasBeenSet =
true;
92 m_resharding = std::forward<ReshardingT>(value);
94 template <
typename ReshardingT = ReshardingStatus>
108 m_authTokenStatusHasBeenSet =
true;
109 m_authTokenStatus = value;
123 template <
typename UserGroupsT = UserGroupsUpdateStatus>
125 m_userGroupsHasBeenSet =
true;
126 m_userGroups = std::forward<UserGroupsT>(value);
128 template <
typename UserGroupsT = UserGroupsUpdateStatus>
141 template <
typename LogDeliveryConfigurationsT = Aws::Vector<PendingLogDeliveryConfiguration>>
143 m_logDeliveryConfigurationsHasBeenSet =
true;
144 m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value);
146 template <
typename LogDeliveryConfigurationsT = Aws::Vector<PendingLogDeliveryConfiguration>>
151 template <
typename LogDeliveryConfigurationsT = PendingLogDeliveryConfiguration>
153 m_logDeliveryConfigurationsHasBeenSet =
true;
154 m_logDeliveryConfigurations.emplace_back(std::forward<LogDeliveryConfigurationsT>(value));
166 m_transitEncryptionEnabledHasBeenSet =
true;
167 m_transitEncryptionEnabled = value;
183 m_transitEncryptionModeHasBeenSet =
true;
184 m_transitEncryptionMode = value;
204 m_clusterModeHasBeenSet =
true;
205 m_clusterMode = value;
217 ReshardingStatus m_resharding;
221 UserGroupsUpdateStatus m_userGroups;
225 bool m_transitEncryptionEnabled{
false};
230 bool m_primaryClusterIdHasBeenSet =
false;
231 bool m_automaticFailoverStatusHasBeenSet =
false;
232 bool m_reshardingHasBeenSet =
false;
233 bool m_authTokenStatusHasBeenSet =
false;
234 bool m_userGroupsHasBeenSet =
false;
235 bool m_logDeliveryConfigurationsHasBeenSet =
false;
236 bool m_transitEncryptionEnabledHasBeenSet =
false;
237 bool m_transitEncryptionModeHasBeenSet =
false;
238 bool m_clusterModeHasBeenSet =
false;
void SetResharding(ReshardingT &&value)
ReplicationGroupPendingModifiedValues & WithAuthTokenStatus(AuthTokenUpdateStatus value)
bool PrimaryClusterIdHasBeenSet() const
void SetPrimaryClusterId(PrimaryClusterIdT &&value)
void SetUserGroups(UserGroupsT &&value)
ReplicationGroupPendingModifiedValues & WithUserGroups(UserGroupsT &&value)
ClusterMode GetClusterMode() const
ReplicationGroupPendingModifiedValues & WithPrimaryClusterId(PrimaryClusterIdT &&value)
const ReshardingStatus & GetResharding() const
AWS_ELASTICACHE_API ReplicationGroupPendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
bool UserGroupsHasBeenSet() const
PendingAutomaticFailoverStatus GetAutomaticFailoverStatus() const
AuthTokenUpdateStatus GetAuthTokenStatus() const
bool AuthTokenStatusHasBeenSet() const
ReplicationGroupPendingModifiedValues & WithResharding(ReshardingT &&value)
void SetAuthTokenStatus(AuthTokenUpdateStatus value)
bool ReshardingHasBeenSet() const
const Aws::String & GetPrimaryClusterId() const
ReplicationGroupPendingModifiedValues & WithTransitEncryptionEnabled(bool value)
bool LogDeliveryConfigurationsHasBeenSet() const
TransitEncryptionMode GetTransitEncryptionMode() const
void SetAutomaticFailoverStatus(PendingAutomaticFailoverStatus value)
ReplicationGroupPendingModifiedValues & WithAutomaticFailoverStatus(PendingAutomaticFailoverStatus value)
AWS_ELASTICACHE_API ReplicationGroupPendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AutomaticFailoverStatusHasBeenSet() const
const Aws::Vector< PendingLogDeliveryConfiguration > & GetLogDeliveryConfigurations() const
ReplicationGroupPendingModifiedValues & AddLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
void SetTransitEncryptionMode(TransitEncryptionMode value)
bool TransitEncryptionModeHasBeenSet() const
const UserGroupsUpdateStatus & GetUserGroups() const
void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
bool TransitEncryptionEnabledHasBeenSet() const
bool GetTransitEncryptionEnabled() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ReplicationGroupPendingModifiedValues & WithTransitEncryptionMode(TransitEncryptionMode value)
void SetClusterMode(ClusterMode value)
void SetTransitEncryptionEnabled(bool value)
ReplicationGroupPendingModifiedValues & WithClusterMode(ClusterMode value)
AWS_ELASTICACHE_API ReplicationGroupPendingModifiedValues()=default
ReplicationGroupPendingModifiedValues & WithLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
bool ClusterModeHasBeenSet() const
PendingAutomaticFailoverStatus
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