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/ResponseMetadata.h>
12#include <aws/elasticache/model/UserGroupPendingChanges.h>
22namespace ElastiCache {
40 template <
typename UserGroupIdT = Aws::String>
42 m_userGroupIdHasBeenSet =
true;
43 m_userGroupId = std::forward<UserGroupIdT>(value);
45 template <
typename UserGroupIdT = Aws::String>
59 template <
typename StatusT = Aws::String>
61 m_statusHasBeenSet =
true;
62 m_status = std::forward<StatusT>(value);
64 template <
typename StatusT = Aws::String>
77 template <
typename EngineT = Aws::String>
79 m_engineHasBeenSet =
true;
80 m_engine = std::forward<EngineT>(value);
82 template <
typename EngineT = Aws::String>
95 template <
typename UserIdsT = Aws::Vector<Aws::String>>
97 m_userIdsHasBeenSet =
true;
98 m_userIds = std::forward<UserIdsT>(value);
100 template <
typename UserIdsT = Aws::Vector<Aws::String>>
105 template <
typename UserIdsT = Aws::String>
107 m_userIdsHasBeenSet =
true;
108 m_userIds.emplace_back(std::forward<UserIdsT>(value));
119 template <
typename MinimumEngineVersionT = Aws::String>
121 m_minimumEngineVersionHasBeenSet =
true;
122 m_minimumEngineVersion = std::forward<MinimumEngineVersionT>(value);
124 template <
typename MinimumEngineVersionT = Aws::String>
137 template <
typename PendingChangesT = UserGroupPendingChanges>
139 m_pendingChangesHasBeenSet =
true;
140 m_pendingChanges = std::forward<PendingChangesT>(value);
142 template <
typename PendingChangesT = UserGroupPendingChanges>
155 template <
typename ReplicationGroupsT = Aws::Vector<Aws::String>>
157 m_replicationGroupsHasBeenSet =
true;
158 m_replicationGroups = std::forward<ReplicationGroupsT>(value);
160 template <
typename ReplicationGroupsT = Aws::Vector<Aws::String>>
165 template <
typename ReplicationGroupsT = Aws::String>
167 m_replicationGroupsHasBeenSet =
true;
168 m_replicationGroups.emplace_back(std::forward<ReplicationGroupsT>(value));
180 template <
typename ServerlessCachesT = Aws::Vector<Aws::String>>
182 m_serverlessCachesHasBeenSet =
true;
183 m_serverlessCaches = std::forward<ServerlessCachesT>(value);
185 template <
typename ServerlessCachesT = Aws::Vector<Aws::String>>
190 template <
typename ServerlessCachesT = Aws::String>
192 m_serverlessCachesHasBeenSet =
true;
193 m_serverlessCaches.emplace_back(std::forward<ServerlessCachesT>(value));
204 template <
typename ARNT = Aws::String>
206 m_aRNHasBeenSet =
true;
207 m_aRN = std::forward<ARNT>(value);
209 template <
typename ARNT = Aws::String>
211 SetARN(std::forward<ARNT>(value));
219 template <
typename ResponseMetadataT = ResponseMetadata>
221 m_responseMetadataHasBeenSet =
true;
222 m_responseMetadata = std::forward<ResponseMetadataT>(value);
224 template <
typename ResponseMetadataT = ResponseMetadata>
250 bool m_userGroupIdHasBeenSet =
false;
251 bool m_statusHasBeenSet =
false;
252 bool m_engineHasBeenSet =
false;
253 bool m_userIdsHasBeenSet =
false;
254 bool m_minimumEngineVersionHasBeenSet =
false;
255 bool m_pendingChangesHasBeenSet =
false;
256 bool m_replicationGroupsHasBeenSet =
false;
257 bool m_serverlessCachesHasBeenSet =
false;
258 bool m_aRNHasBeenSet =
false;
259 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