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>
56 template<
typename GlobalReplicationGroupIdT = Aws::String>
57 void SetGlobalReplicationGroupId(GlobalReplicationGroupIdT&& value) { m_globalReplicationGroupIdHasBeenSet =
true; m_globalReplicationGroupId = std::forward<GlobalReplicationGroupIdT>(value); }
58 template<
typename GlobalReplicationGroupIdT = Aws::String>
68 template<
typename GlobalReplicationGroupDescriptionT = Aws::String>
69 void SetGlobalReplicationGroupDescription(GlobalReplicationGroupDescriptionT&& value) { m_globalReplicationGroupDescriptionHasBeenSet =
true; m_globalReplicationGroupDescription = std::forward<GlobalReplicationGroupDescriptionT>(value); }
70 template<
typename GlobalReplicationGroupDescriptionT = Aws::String>
80 template<
typename StatusT = Aws::String>
81 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
82 template<
typename StatusT = Aws::String>
92 template<
typename CacheNodeTypeT = Aws::String>
93 void SetCacheNodeType(CacheNodeTypeT&& value) { m_cacheNodeTypeHasBeenSet =
true; m_cacheNodeType = std::forward<CacheNodeTypeT>(value); }
94 template<
typename CacheNodeTypeT = Aws::String>
104 template<
typename EngineT = Aws::String>
105 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
106 template<
typename EngineT = Aws::String>
116 template<
typename EngineVersionT = Aws::String>
117 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet =
true; m_engineVersion = std::forward<EngineVersionT>(value); }
118 template<
typename EngineVersionT = Aws::String>
128 template<
typename MembersT = Aws::Vector<GlobalReplicationGroupMember>>
129 void SetMembers(MembersT&& value) { m_membersHasBeenSet =
true; m_members = std::forward<MembersT>(value); }
130 template<
typename MembersT = Aws::Vector<GlobalReplicationGroupMember>>
132 template<
typename MembersT = GlobalReplicationGroupMember>
142 inline void SetClusterEnabled(
bool value) { m_clusterEnabledHasBeenSet =
true; m_clusterEnabled = value; }
153 template<
typename GlobalNodeGroupsT = Aws::Vector<GlobalNodeGroup>>
154 void SetGlobalNodeGroups(GlobalNodeGroupsT&& value) { m_globalNodeGroupsHasBeenSet =
true; m_globalNodeGroups = std::forward<GlobalNodeGroupsT>(value); }
155 template<
typename GlobalNodeGroupsT = Aws::Vector<GlobalNodeGroup>>
157 template<
typename GlobalNodeGroupsT = GlobalNodeGroup>
168 inline void SetAuthTokenEnabled(
bool value) { m_authTokenEnabledHasBeenSet =
true; m_authTokenEnabled = value; }
206 template<
typename ARNT = Aws::String>
207 void SetARN(ARNT&& value) { m_aRNHasBeenSet =
true; m_aRN = std::forward<ARNT>(value); }
208 template<
typename ARNT = Aws::String>
214 bool m_globalReplicationGroupIdHasBeenSet =
false;
217 bool m_globalReplicationGroupDescriptionHasBeenSet =
false;
220 bool m_statusHasBeenSet =
false;
223 bool m_cacheNodeTypeHasBeenSet =
false;
226 bool m_engineHasBeenSet =
false;
229 bool m_engineVersionHasBeenSet =
false;
232 bool m_membersHasBeenSet =
false;
234 bool m_clusterEnabled{
false};
235 bool m_clusterEnabledHasBeenSet =
false;
238 bool m_globalNodeGroupsHasBeenSet =
false;
240 bool m_authTokenEnabled{
false};
241 bool m_authTokenEnabledHasBeenSet =
false;
243 bool m_transitEncryptionEnabled{
false};
244 bool m_transitEncryptionEnabledHasBeenSet =
false;
246 bool m_atRestEncryptionEnabled{
false};
247 bool m_atRestEncryptionEnabledHasBeenSet =
false;
250 bool m_aRNHasBeenSet =
false;
GlobalReplicationGroup & WithGlobalReplicationGroupId(GlobalReplicationGroupIdT &&value)
void SetAuthTokenEnabled(bool value)
void SetGlobalReplicationGroupId(GlobalReplicationGroupIdT &&value)
AWS_ELASTICACHE_API GlobalReplicationGroup()=default
GlobalReplicationGroup & WithGlobalNodeGroups(GlobalNodeGroupsT &&value)
GlobalReplicationGroup & WithAuthTokenEnabled(bool value)
bool GlobalReplicationGroupIdHasBeenSet() const
void SetAtRestEncryptionEnabled(bool value)
void SetTransitEncryptionEnabled(bool value)
void SetARN(ARNT &&value)
void SetMembers(MembersT &&value)
bool GetAuthTokenEnabled() const
AWS_ELASTICACHE_API GlobalReplicationGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool ClusterEnabledHasBeenSet() const
const Aws::String & GetStatus() const
const Aws::String & GetCacheNodeType() const
bool StatusHasBeenSet() const
GlobalReplicationGroup & AddMembers(MembersT &&value)
bool TransitEncryptionEnabledHasBeenSet() const
void SetEngineVersion(EngineVersionT &&value)
GlobalReplicationGroup & WithMembers(MembersT &&value)
const Aws::String & GetGlobalReplicationGroupId() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetClusterEnabled(bool value)
bool GetClusterEnabled() const
void SetGlobalNodeGroups(GlobalNodeGroupsT &&value)
AWS_ELASTICACHE_API GlobalReplicationGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< GlobalReplicationGroupMember > & GetMembers() const
GlobalReplicationGroup & WithCacheNodeType(CacheNodeTypeT &&value)
void SetCacheNodeType(CacheNodeTypeT &&value)
GlobalReplicationGroup & WithGlobalReplicationGroupDescription(GlobalReplicationGroupDescriptionT &&value)
const Aws::String & GetGlobalReplicationGroupDescription() const
bool AuthTokenEnabledHasBeenSet() const
bool GetAtRestEncryptionEnabled() const
GlobalReplicationGroup & AddGlobalNodeGroups(GlobalNodeGroupsT &&value)
void SetEngine(EngineT &&value)
GlobalReplicationGroup & WithStatus(StatusT &&value)
GlobalReplicationGroup & WithClusterEnabled(bool value)
bool EngineHasBeenSet() const
void SetStatus(StatusT &&value)
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
void SetGlobalReplicationGroupDescription(GlobalReplicationGroupDescriptionT &&value)
bool CacheNodeTypeHasBeenSet() const
GlobalReplicationGroup & WithEngineVersion(EngineVersionT &&value)
const Aws::String & GetEngineVersion() const
const Aws::String & GetEngine() const
GlobalReplicationGroup & WithARN(ARNT &&value)
const Aws::Vector< GlobalNodeGroup > & GetGlobalNodeGroups() const
bool GlobalReplicationGroupDescriptionHasBeenSet() const
bool GlobalNodeGroupsHasBeenSet() const
bool MembersHasBeenSet() const
GlobalReplicationGroup & WithAtRestEncryptionEnabled(bool value)
bool EngineVersionHasBeenSet() const
bool GetTransitEncryptionEnabled() const
GlobalReplicationGroup & WithEngine(EngineT &&value)
bool ARNHasBeenSet() 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