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/UserGroupPendingChanges.h>
12#include <aws/elasticache/model/ResponseMetadata.h>
46 template<
typename UserGroupIdT = Aws::String>
47 void SetUserGroupId(UserGroupIdT&& value) { m_userGroupIdHasBeenSet =
true; m_userGroupId = std::forward<UserGroupIdT>(value); }
48 template<
typename UserGroupIdT = Aws::String>
59 template<
typename StatusT = Aws::String>
60 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
61 template<
typename StatusT = Aws::String>
71 template<
typename EngineT = Aws::String>
72 void SetEngine(EngineT&& value) { m_engineHasBeenSet =
true; m_engine = std::forward<EngineT>(value); }
73 template<
typename EngineT = Aws::String>
83 template<
typename UserIdsT = Aws::Vector<Aws::String>>
84 void SetUserIds(UserIdsT&& value) { m_userIdsHasBeenSet =
true; m_userIds = std::forward<UserIdsT>(value); }
85 template<
typename UserIdsT = Aws::Vector<Aws::String>>
87 template<
typename UserIdsT = Aws::String>
88 UserGroup&
AddUserIds(UserIdsT&& value) { m_userIdsHasBeenSet =
true; m_userIds.emplace_back(std::forward<UserIdsT>(value));
return *
this; }
97 template<
typename MinimumEngineVersionT = Aws::String>
98 void SetMinimumEngineVersion(MinimumEngineVersionT&& value) { m_minimumEngineVersionHasBeenSet =
true; m_minimumEngineVersion = std::forward<MinimumEngineVersionT>(value); }
99 template<
typename MinimumEngineVersionT = Aws::String>
109 template<
typename PendingChangesT = UserGroupPendingChanges>
110 void SetPendingChanges(PendingChangesT&& value) { m_pendingChangesHasBeenSet =
true; m_pendingChanges = std::forward<PendingChangesT>(value); }
111 template<
typename PendingChangesT = UserGroupPendingChanges>
121 template<
typename ReplicationGroupsT = Aws::Vector<Aws::String>>
122 void SetReplicationGroups(ReplicationGroupsT&& value) { m_replicationGroupsHasBeenSet =
true; m_replicationGroups = std::forward<ReplicationGroupsT>(value); }
123 template<
typename ReplicationGroupsT = Aws::Vector<Aws::String>>
125 template<
typename ReplicationGroupsT = Aws::String>
126 UserGroup&
AddReplicationGroups(ReplicationGroupsT&& value) { m_replicationGroupsHasBeenSet =
true; m_replicationGroups.emplace_back(std::forward<ReplicationGroupsT>(value));
return *
this; }
136 template<
typename ServerlessCachesT = Aws::Vector<Aws::String>>
137 void SetServerlessCaches(ServerlessCachesT&& value) { m_serverlessCachesHasBeenSet =
true; m_serverlessCaches = std::forward<ServerlessCachesT>(value); }
138 template<
typename ServerlessCachesT = Aws::Vector<Aws::String>>
140 template<
typename ServerlessCachesT = Aws::String>
141 UserGroup&
AddServerlessCaches(ServerlessCachesT&& value) { m_serverlessCachesHasBeenSet =
true; m_serverlessCaches.emplace_back(std::forward<ServerlessCachesT>(value));
return *
this; }
150 template<
typename ARNT = Aws::String>
151 void SetARN(ARNT&& value) { m_aRNHasBeenSet =
true; m_aRN = std::forward<ARNT>(value); }
152 template<
typename ARNT = Aws::String>
159 template<
typename ResponseMetadataT = ResponseMetadata>
160 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet =
true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
161 template<
typename ResponseMetadataT = ResponseMetadata>
167 bool m_userGroupIdHasBeenSet =
false;
170 bool m_statusHasBeenSet =
false;
173 bool m_engineHasBeenSet =
false;
176 bool m_userIdsHasBeenSet =
false;
179 bool m_minimumEngineVersionHasBeenSet =
false;
182 bool m_pendingChangesHasBeenSet =
false;
185 bool m_replicationGroupsHasBeenSet =
false;
188 bool m_serverlessCachesHasBeenSet =
false;
191 bool m_aRNHasBeenSet =
false;
194 bool m_responseMetadataHasBeenSet =
true;
bool PendingChangesHasBeenSet() const
bool EngineHasBeenSet() const
bool UserIdsHasBeenSet() const
UserGroup & WithPendingChanges(PendingChangesT &&value)
const Aws::Vector< Aws::String > & GetReplicationGroups() const
bool StatusHasBeenSet() const
void SetServerlessCaches(ServerlessCachesT &&value)
void SetARN(ARNT &&value)
UserGroup & AddReplicationGroups(ReplicationGroupsT &&value)
UserGroup & AddServerlessCaches(ServerlessCachesT &&value)
void SetEngine(EngineT &&value)
const Aws::String & GetStatus() const
void SetUserIds(UserIdsT &&value)
bool ServerlessCachesHasBeenSet() const
UserGroup & WithEngine(EngineT &&value)
const Aws::Vector< Aws::String > & GetUserIds() const
const Aws::Vector< Aws::String > & GetServerlessCaches() const
bool MinimumEngineVersionHasBeenSet() const
AWS_ELASTICACHE_API UserGroup()=default
void SetUserGroupId(UserGroupIdT &&value)
UserGroup & AddUserIds(UserIdsT &&value)
UserGroup & WithUserGroupId(UserGroupIdT &&value)
AWS_ELASTICACHE_API UserGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_ELASTICACHE_API UserGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetUserGroupId() const
const Aws::String & GetARN() const
UserGroup & WithStatus(StatusT &&value)
UserGroup & WithResponseMetadata(ResponseMetadataT &&value)
void SetMinimumEngineVersion(MinimumEngineVersionT &&value)
void SetStatus(StatusT &&value)
bool ReplicationGroupsHasBeenSet() const
UserGroup & WithARN(ARNT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetEngine() const
bool UserGroupIdHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetMinimumEngineVersion() const
UserGroup & WithUserIds(UserIdsT &&value)
UserGroup & WithReplicationGroups(ReplicationGroupsT &&value)
UserGroup & WithMinimumEngineVersion(MinimumEngineVersionT &&value)
UserGroup & WithServerlessCaches(ServerlessCachesT &&value)
void SetPendingChanges(PendingChangesT &&value)
bool ARNHasBeenSet() const
void SetReplicationGroups(ReplicationGroupsT &&value)
const ResponseMetadata & GetResponseMetadata() const
const UserGroupPendingChanges & GetPendingChanges() 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