7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/elasticache/model/AuthTokenUpdateStatus.h>
12#include <aws/elasticache/model/TransitEncryptionMode.h>
13#include <aws/elasticache/model/ScaleConfig.h>
14#include <aws/elasticache/model/PendingLogDeliveryConfiguration.h>
56 inline void SetNumCacheNodes(
int value) { m_numCacheNodesHasBeenSet =
true; m_numCacheNodes = value; }
67 template<
typename CacheNodeIdsToRemoveT = Aws::Vector<Aws::String>>
68 void SetCacheNodeIdsToRemove(CacheNodeIdsToRemoveT&& value) { m_cacheNodeIdsToRemoveHasBeenSet =
true; m_cacheNodeIdsToRemove = std::forward<CacheNodeIdsToRemoveT>(value); }
69 template<
typename CacheNodeIdsToRemoveT = Aws::Vector<Aws::String>>
71 template<
typename CacheNodeIdsToRemoveT = Aws::String>
81 template<
typename EngineVersionT = Aws::String>
82 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
83 template<
typename EngineVersionT = Aws::String>
93 template<
typename CacheNodeTypeT = Aws::String>
94 void SetCacheNodeType(CacheNodeTypeT&& value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType = std::forward<CacheNodeTypeT>(value); }
95 template<
typename CacheNodeTypeT = Aws::String>
115 template<
typename LogDeliveryConfigurationsT = Aws::Vector<PendingLogDeliveryConfiguration>>
116 void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT&& value) { m_logDeliveryConfigurationsHasBeenSet =
true; m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value); }
117 template<
typename LogDeliveryConfigurationsT = Aws::Vector<PendingLogDeliveryConfiguration>>
119 template<
typename LogDeliveryConfigurationsT = PendingLogDeliveryConfiguration>
151 template<
typename ScaleConfigT = ScaleConfig>
152 void SetScaleConfig(ScaleConfigT&& value) { m_scaleConfigHasBeenSet =
true; m_scaleConfig = std::forward<ScaleConfigT>(value); }
153 template<
typename ScaleConfigT = ScaleConfig>
158 int m_numCacheNodes{0};
159 bool m_numCacheNodesHasBeenSet =
false;
162 bool m_cacheNodeIdsToRemoveHasBeenSet =
false;
165 bool m_engineVersionHasBeenSet =
false;
168 bool m_cacheNodeTypeHasBeenSet =
false;
171 bool m_authTokenStatusHasBeenSet =
false;
174 bool m_logDeliveryConfigurationsHasBeenSet =
false;
176 bool m_transitEncryptionEnabled{
false};
177 bool m_transitEncryptionEnabledHasBeenSet =
false;
180 bool m_transitEncryptionModeHasBeenSet =
false;
182 ScaleConfig m_scaleConfig;
183 bool m_scaleConfigHasBeenSet =
false;
const ScaleConfig & GetScaleConfig() const
AuthTokenUpdateStatus GetAuthTokenStatus() const
bool CacheNodeIdsToRemoveHasBeenSet() const
bool GetTransitEncryptionEnabled() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetTransitEncryptionMode(TransitEncryptionMode value)
void SetTransitEncryptionEnabled(bool value)
bool NumCacheNodesHasBeenSet() const
void SetAuthTokenStatus(AuthTokenUpdateStatus value)
bool LogDeliveryConfigurationsHasBeenSet() const
PendingModifiedValues & WithCacheNodeType(CacheNodeTypeT &&value)
TransitEncryptionMode GetTransitEncryptionMode() const
void SetLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
const Aws::Vector< Aws::String > & GetCacheNodeIdsToRemove() const
PendingModifiedValues & AddCacheNodeIdsToRemove(CacheNodeIdsToRemoveT &&value)
PendingModifiedValues & WithAuthTokenStatus(AuthTokenUpdateStatus value)
bool AuthTokenStatusHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PendingModifiedValues & WithLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
void SetNumCacheNodes(int value)
PendingModifiedValues & WithNumCacheNodes(int value)
PendingModifiedValues & AddLogDeliveryConfigurations(LogDeliveryConfigurationsT &&value)
int GetNumCacheNodes() const
const Aws::String & GetEngineVersion() const
AWS_ELASTICACHE_API PendingModifiedValues & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API PendingModifiedValues(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetCacheNodeIdsToRemove(CacheNodeIdsToRemoveT &&value)
bool EngineVersionHasBeenSet() const
void SetEngineVersion(EngineVersionT &&value)
PendingModifiedValues & WithEngineVersion(EngineVersionT &&value)
AWS_ELASTICACHE_API PendingModifiedValues()=default
void SetScaleConfig(ScaleConfigT &&value)
PendingModifiedValues & WithTransitEncryptionMode(TransitEncryptionMode value)
PendingModifiedValues & WithScaleConfig(ScaleConfigT &&value)
bool TransitEncryptionModeHasBeenSet() const
const Aws::String & GetCacheNodeType() const
bool CacheNodeTypeHasBeenSet() const
PendingModifiedValues & WithCacheNodeIdsToRemove(CacheNodeIdsToRemoveT &&value)
PendingModifiedValues & WithTransitEncryptionEnabled(bool value)
bool ScaleConfigHasBeenSet() const
void SetCacheNodeType(CacheNodeTypeT &&value)
const Aws::Vector< PendingLogDeliveryConfiguration > & GetLogDeliveryConfigurations() const
bool TransitEncryptionEnabledHasBeenSet() const
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