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/PendingLogDeliveryConfiguration.h>
13#include <aws/elasticache/model/ScaleConfig.h>
14#include <aws/elasticache/model/TransitEncryptionMode.h>
24namespace ElastiCache {
51 m_numCacheNodesHasBeenSet =
true;
52 m_numCacheNodes = value;
67 template <
typename CacheNodeIdsToRemoveT = Aws::Vector<Aws::String>>
69 m_cacheNodeIdsToRemoveHasBeenSet =
true;
70 m_cacheNodeIdsToRemove = std::forward<CacheNodeIdsToRemoveT>(value);
72 template <
typename CacheNodeIdsToRemoveT = Aws::Vector<Aws::String>>
77 template <
typename CacheNodeIdsToRemoveT = Aws::String>
79 m_cacheNodeIdsToRemoveHasBeenSet =
true;
80 m_cacheNodeIdsToRemove.emplace_back(std::forward<CacheNodeIdsToRemoveT>(value));
91 template <
typename EngineVersionT = Aws::String>
93 m_engineVersionHasBeenSet =
true;
94 m_engineVersion = std::forward<EngineVersionT>(value);
96 template <
typename EngineVersionT = Aws::String>
109 template <
typename CacheNodeTypeT = Aws::String>
111 m_cacheNodeTypeHasBeenSet =
true;
112 m_cacheNodeType = std::forward<CacheNodeTypeT>(value);
114 template <
typename CacheNodeTypeT = Aws::String>
128 m_authTokenStatusHasBeenSet =
true;
129 m_authTokenStatus = value;
143 template <
typename LogDeliveryConfigurationsT = Aws::Vector<PendingLogDeliveryConfiguration>>
145 m_logDeliveryConfigurationsHasBeenSet =
true;
146 m_logDeliveryConfigurations = std::forward<LogDeliveryConfigurationsT>(value);
148 template <
typename LogDeliveryConfigurationsT = Aws::Vector<PendingLogDeliveryConfiguration>>
153 template <
typename LogDeliveryConfigurationsT = PendingLogDeliveryConfiguration>
155 m_logDeliveryConfigurationsHasBeenSet =
true;
156 m_logDeliveryConfigurations.emplace_back(std::forward<LogDeliveryConfigurationsT>(value));
168 m_transitEncryptionEnabledHasBeenSet =
true;
169 m_transitEncryptionEnabled = value;
185 m_transitEncryptionModeHasBeenSet =
true;
186 m_transitEncryptionMode = value;
201 template <
typename ScaleConfigT = ScaleConfig>
203 m_scaleConfigHasBeenSet =
true;
204 m_scaleConfig = std::forward<ScaleConfigT>(value);
206 template <
typename ScaleConfigT = ScaleConfig>
213 int m_numCacheNodes{0};
225 bool m_transitEncryptionEnabled{
false};
229 ScaleConfig m_scaleConfig;
230 bool m_numCacheNodesHasBeenSet =
false;
231 bool m_cacheNodeIdsToRemoveHasBeenSet =
false;
232 bool m_engineVersionHasBeenSet =
false;
233 bool m_cacheNodeTypeHasBeenSet =
false;
234 bool m_authTokenStatusHasBeenSet =
false;
235 bool m_logDeliveryConfigurationsHasBeenSet =
false;
236 bool m_transitEncryptionEnabledHasBeenSet =
false;
237 bool m_transitEncryptionModeHasBeenSet =
false;
238 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