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/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/GlobalReplicationGroupMember.h>
12#include <aws/elasticache/model/GlobalNodeGroup.h>
58 inline void SetGlobalReplicationGroupId(
const char* value) { m_globalReplicationGroupIdHasBeenSet =
true; m_globalReplicationGroupId.assign(value); }
86 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
100 inline void SetCacheNodeType(
const char* value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType.assign(value); }
114 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
128 inline void SetEngineVersion(
const char* value) { m_engineVersionHasBeenSet =
true; m_engineVersion.assign(value); }
154 inline void SetClusterEnabled(
bool value) { m_clusterEnabledHasBeenSet =
true; m_clusterEnabled = value; }
180 inline void SetAuthTokenEnabled(
bool value) { m_authTokenEnabledHasBeenSet =
true; m_authTokenEnabled = value; }
220 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
228 bool m_globalReplicationGroupIdHasBeenSet =
false;
231 bool m_globalReplicationGroupDescriptionHasBeenSet =
false;
234 bool m_statusHasBeenSet =
false;
237 bool m_cacheNodeTypeHasBeenSet =
false;
240 bool m_engineHasBeenSet =
false;
243 bool m_engineVersionHasBeenSet =
false;
246 bool m_membersHasBeenSet =
false;
248 bool m_clusterEnabled;
249 bool m_clusterEnabledHasBeenSet =
false;
252 bool m_globalNodeGroupsHasBeenSet =
false;
254 bool m_authTokenEnabled;
255 bool m_authTokenEnabledHasBeenSet =
false;
257 bool m_transitEncryptionEnabled;
258 bool m_transitEncryptionEnabledHasBeenSet =
false;
260 bool m_atRestEncryptionEnabled;
261 bool m_atRestEncryptionEnabledHasBeenSet =
false;
264 bool m_aRNHasBeenSet =
false;
GlobalReplicationGroup & WithGlobalReplicationGroupId(const char *value)
void SetMembers(Aws::Vector< GlobalReplicationGroupMember > &&value)
void SetAuthTokenEnabled(bool value)
void SetARN(const Aws::String &value)
void SetGlobalReplicationGroupId(const Aws::String &value)
void SetGlobalReplicationGroupDescription(Aws::String &&value)
void SetStatus(Aws::String &&value)
GlobalReplicationGroup & WithAuthTokenEnabled(bool value)
bool GlobalReplicationGroupIdHasBeenSet() const
GlobalReplicationGroup & WithEngineVersion(const Aws::String &value)
void SetAtRestEncryptionEnabled(bool value)
GlobalReplicationGroup & AddMembers(const GlobalReplicationGroupMember &value)
void SetTransitEncryptionEnabled(bool value)
void SetEngine(const Aws::String &value)
GlobalReplicationGroup & WithEngineVersion(const char *value)
void SetGlobalNodeGroups(const Aws::Vector< GlobalNodeGroup > &value)
bool GetAuthTokenEnabled() const
AWS_ELASTICACHE_API GlobalReplicationGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ClusterEnabledHasBeenSet() const
void SetEngineVersion(Aws::String &&value)
void SetEngineVersion(const Aws::String &value)
GlobalReplicationGroup & WithGlobalReplicationGroupId(Aws::String &&value)
void SetARN(Aws::String &&value)
GlobalReplicationGroup & WithARN(const Aws::String &value)
void SetGlobalReplicationGroupDescription(const char *value)
const Aws::String & GetStatus() const
const Aws::String & GetCacheNodeType() const
void SetMembers(const Aws::Vector< GlobalReplicationGroupMember > &value)
bool StatusHasBeenSet() const
GlobalReplicationGroup & WithEngine(Aws::String &&value)
bool TransitEncryptionEnabledHasBeenSet() const
GlobalReplicationGroup & WithARN(Aws::String &&value)
void SetCacheNodeType(const Aws::String &value)
void SetGlobalNodeGroups(Aws::Vector< GlobalNodeGroup > &&value)
const Aws::String & GetGlobalReplicationGroupId() const
GlobalReplicationGroup & WithGlobalReplicationGroupDescription(const Aws::String &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetClusterEnabled(bool value)
bool GetClusterEnabled() const
GlobalReplicationGroup & WithGlobalNodeGroups(Aws::Vector< GlobalNodeGroup > &&value)
AWS_ELASTICACHE_API GlobalReplicationGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< GlobalReplicationGroupMember > & GetMembers() const
void SetStatus(const char *value)
GlobalReplicationGroup & WithARN(const char *value)
GlobalReplicationGroup & AddMembers(GlobalReplicationGroupMember &&value)
const Aws::String & GetGlobalReplicationGroupDescription() const
GlobalReplicationGroup & WithEngineVersion(Aws::String &&value)
GlobalReplicationGroup & WithEngine(const Aws::String &value)
bool AuthTokenEnabledHasBeenSet() const
bool GetAtRestEncryptionEnabled() const
GlobalReplicationGroup & WithGlobalReplicationGroupDescription(const char *value)
void SetStatus(const Aws::String &value)
GlobalReplicationGroup & AddGlobalNodeGroups(const GlobalNodeGroup &value)
GlobalReplicationGroup & WithStatus(Aws::String &&value)
void SetEngine(const char *value)
GlobalReplicationGroup & WithClusterEnabled(bool value)
GlobalReplicationGroup & WithCacheNodeType(Aws::String &&value)
GlobalReplicationGroup & AddGlobalNodeGroups(GlobalNodeGroup &&value)
GlobalReplicationGroup & WithMembers(const Aws::Vector< GlobalReplicationGroupMember > &value)
void SetEngineVersion(const char *value)
GlobalReplicationGroup & WithStatus(const Aws::String &value)
void SetARN(const char *value)
void SetCacheNodeType(const char *value)
bool EngineHasBeenSet() const
GlobalReplicationGroup & WithTransitEncryptionEnabled(bool value)
const Aws::String & GetARN() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool AtRestEncryptionEnabledHasBeenSet() const
GlobalReplicationGroup & WithCacheNodeType(const char *value)
bool CacheNodeTypeHasBeenSet() const
void SetGlobalReplicationGroupDescription(const Aws::String &value)
const Aws::String & GetEngineVersion() const
GlobalReplicationGroup & WithMembers(Aws::Vector< GlobalReplicationGroupMember > &&value)
void SetCacheNodeType(Aws::String &&value)
const Aws::String & GetEngine() const
GlobalReplicationGroup & WithEngine(const char *value)
const Aws::Vector< GlobalNodeGroup > & GetGlobalNodeGroups() const
bool GlobalReplicationGroupDescriptionHasBeenSet() const
bool GlobalNodeGroupsHasBeenSet() const
GlobalReplicationGroup & WithGlobalReplicationGroupId(const Aws::String &value)
GlobalReplicationGroup & WithStatus(const char *value)
bool MembersHasBeenSet() const
AWS_ELASTICACHE_API GlobalReplicationGroup()
GlobalReplicationGroup & WithGlobalNodeGroups(const Aws::Vector< GlobalNodeGroup > &value)
GlobalReplicationGroup & WithAtRestEncryptionEnabled(bool value)
void SetGlobalReplicationGroupId(Aws::String &&value)
void SetGlobalReplicationGroupId(const char *value)
GlobalReplicationGroup & WithCacheNodeType(const Aws::String &value)
bool EngineVersionHasBeenSet() const
bool GetTransitEncryptionEnabled() const
bool ARNHasBeenSet() const
void SetEngine(Aws::String &&value)
GlobalReplicationGroup & WithGlobalReplicationGroupDescription(Aws::String &&value)
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