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>
48 inline void SetUserGroupId(
const char* value) { m_userGroupIdHasBeenSet =
true; m_userGroupId.assign(value); }
63 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
77 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
95 inline UserGroup&
AddUserIds(
const char* value) { m_userIdsHasBeenSet =
true; m_userIds.push_back(value);
return *
this; }
106 inline void SetMinimumEngineVersion(
const char* value) { m_minimumEngineVersionHasBeenSet =
true; m_minimumEngineVersion.assign(value); }
163 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
180 bool m_userGroupIdHasBeenSet =
false;
183 bool m_statusHasBeenSet =
false;
186 bool m_engineHasBeenSet =
false;
189 bool m_userIdsHasBeenSet =
false;
192 bool m_minimumEngineVersionHasBeenSet =
false;
195 bool m_pendingChangesHasBeenSet =
false;
198 bool m_replicationGroupsHasBeenSet =
false;
201 bool m_serverlessCachesHasBeenSet =
false;
204 bool m_aRNHasBeenSet =
false;
void SetARN(const char *value)
bool PendingChangesHasBeenSet() const
UserGroup & WithStatus(Aws::String &&value)
UserGroup & WithPendingChanges(UserGroupPendingChanges &&value)
bool EngineHasBeenSet() const
bool UserIdsHasBeenSet() const
void SetARN(const Aws::String &value)
UserGroup & AddUserIds(const char *value)
UserGroup & AddServerlessCaches(const Aws::String &value)
void SetUserGroupId(const Aws::String &value)
const Aws::Vector< Aws::String > & GetReplicationGroups() const
bool StatusHasBeenSet() const
UserGroup & AddServerlessCaches(Aws::String &&value)
UserGroup & WithStatus(const Aws::String &value)
UserGroup & AddUserIds(Aws::String &&value)
UserGroup & WithUserGroupId(Aws::String &&value)
UserGroup & WithReplicationGroups(Aws::Vector< Aws::String > &&value)
UserGroup & WithResponseMetadata(const ResponseMetadata &value)
void SetMinimumEngineVersion(const Aws::String &value)
UserGroup & WithUserGroupId(const Aws::String &value)
void SetMinimumEngineVersion(Aws::String &&value)
UserGroup & AddServerlessCaches(const char *value)
const Aws::String & GetStatus() const
bool ServerlessCachesHasBeenSet() const
void SetStatus(Aws::String &&value)
UserGroup & WithPendingChanges(const UserGroupPendingChanges &value)
const Aws::Vector< Aws::String > & GetUserIds() const
const Aws::Vector< Aws::String > & GetServerlessCaches() const
UserGroup & WithARN(const char *value)
UserGroup & WithServerlessCaches(const Aws::Vector< Aws::String > &value)
void SetUserGroupId(Aws::String &&value)
bool MinimumEngineVersionHasBeenSet() const
UserGroup & AddReplicationGroups(const char *value)
UserGroup & WithResponseMetadata(ResponseMetadata &&value)
UserGroup & WithUserIds(Aws::Vector< Aws::String > &&value)
UserGroup & WithUserIds(const Aws::Vector< Aws::String > &value)
void SetServerlessCaches(Aws::Vector< Aws::String > &&value)
void SetMinimumEngineVersion(const char *value)
UserGroup & WithReplicationGroups(const Aws::Vector< Aws::String > &value)
void SetResponseMetadata(const ResponseMetadata &value)
void SetReplicationGroups(Aws::Vector< Aws::String > &&value)
AWS_ELASTICACHE_API UserGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPendingChanges(UserGroupPendingChanges &&value)
void SetPendingChanges(const UserGroupPendingChanges &value)
UserGroup & WithEngine(const Aws::String &value)
AWS_ELASTICACHE_API UserGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEngine(const char *value)
const Aws::String & GetUserGroupId() const
const Aws::String & GetARN() const
UserGroup & WithMinimumEngineVersion(const char *value)
UserGroup & AddUserIds(const Aws::String &value)
UserGroup & WithARN(Aws::String &&value)
void SetUserIds(Aws::Vector< Aws::String > &&value)
bool ReplicationGroupsHasBeenSet() const
void SetStatus(const Aws::String &value)
void SetStatus(const char *value)
void SetEngine(Aws::String &&value)
UserGroup & WithMinimumEngineVersion(const Aws::String &value)
void SetARN(Aws::String &&value)
UserGroup & WithServerlessCaches(Aws::Vector< Aws::String > &&value)
UserGroup & AddReplicationGroups(Aws::String &&value)
UserGroup & AddReplicationGroups(const Aws::String &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetEngine() const
void SetUserGroupId(const char *value)
bool UserGroupIdHasBeenSet() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
UserGroup & WithStatus(const char *value)
const Aws::String & GetMinimumEngineVersion() const
void SetEngine(const Aws::String &value)
UserGroup & WithEngine(const char *value)
UserGroup & WithUserGroupId(const char *value)
void SetServerlessCaches(const Aws::Vector< Aws::String > &value)
bool ARNHasBeenSet() const
UserGroup & WithEngine(Aws::String &&value)
void SetResponseMetadata(ResponseMetadata &&value)
UserGroup & WithMinimumEngineVersion(Aws::String &&value)
void SetReplicationGroups(const Aws::Vector< Aws::String > &value)
AWS_ELASTICACHE_API UserGroup()
const ResponseMetadata & GetResponseMetadata() const
void SetUserIds(const Aws::Vector< Aws::String > &value)
UserGroup & WithARN(const Aws::String &value)
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