7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/elasticache/model/PendingAutomaticFailoverStatus.h>
11#include <aws/elasticache/model/ReshardingStatus.h>
12#include <aws/elasticache/model/AuthTokenUpdateStatus.h>
13#include <aws/elasticache/model/UserGroupsUpdateStatus.h>
14#include <aws/core/utils/memory/stl/AWSVector.h>
15#include <aws/elasticache/model/TransitEncryptionMode.h>
16#include <aws/elasticache/model/ClusterMode.h>
17#include <aws/elasticache/model/PendingLogDeliveryConfiguration.h>
60 template<
typename PrimaryClusterIdT = Aws::String>
61 void SetPrimaryClusterId(PrimaryClusterIdT&& value) { m_primaryClusterIdHasBeenSet =
true; m_primaryClusterId = std::forward<PrimaryClusterIdT>(value); }
62 template<
typename PrimaryClusterIdT = Aws::String>
83 template<
typename ReshardingT = ReshardingStatus>
84 void SetResharding(ReshardingT&& value) { m_reshardingHasBeenSet =
true; m_resharding = std::forward<ReshardingT>(value); }
85 template<
typename ReshardingT = ReshardingStatus>
105 template<
typename UserGroupsT = UserGroupsUpdateStatus>
106 void SetUserGroups(UserGroupsT&& value) { m_userGroupsHasBeenSet =
true; m_userGroups = std::forward<UserGroupsT>(value); }
107 template<
typename UserGroupsT = UserGroupsUpdateStatus>
117 template<
typename LogDeliveryConfigurationsT = Aws::Vector<PendingLogDeliveryConfiguration>>
118 void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) { m_logDeliveryConfigurationsHasBeenSet =
true; m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value); }
119 template<
typename LogDeliveryConfigurationsT = Aws::Vector<PendingLogDeliveryConfiguration>>
121 template<
typename LogDeliveryConfigurationsT = PendingLogDeliveryConfiguration>
163 bool m_primaryClusterIdHasBeenSet =
false;
166 bool m_automaticFailoverStatusHasBeenSet =
false;
168 ReshardingStatus m_resharding;
169 bool m_reshardingHasBeenSet =
false;
172 bool m_authTokenStatusHasBeenSet =
false;
174 UserGroupsUpdateStatus m_userGroups;
175 bool m_userGroupsHasBeenSet =
false;
178 bool m_logDeliveryConfigurationsHasBeenSet =
false;
180 bool m_transitEncryptionEnabled{
false};
181 bool m_transitEncryptionEnabledHasBeenSet =
false;
184 bool m_transitEncryptionModeHasBeenSet =
false;
187 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