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/DateTime.h>
11#include <aws/elasticache/model/CacheUsageLimits.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/elasticache/model/Endpoint.h>
54 inline void SetServerlessCacheName(
const char* value) { m_serverlessCacheNameHasBeenSet =
true; m_serverlessCacheName.assign(value); }
68 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
95 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
109 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
123 inline void SetMajorEngineVersion(
const char* value) { m_majorEngineVersionHasBeenSet =
true; m_majorEngineVersion.assign(value); }
138 inline void SetFullEngineVersion(
const char* value) { m_fullEngineVersionHasBeenSet =
true; m_fullEngineVersion.assign(value); }
165 inline void SetKmsKeyId(
const char* value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId.assign(value); }
214 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
229 inline void SetUserGroupId(
const char* value) { m_userGroupIdHasBeenSet =
true; m_userGroupId.assign(value); }
274 inline void SetDailySnapshotTime(
const char* value) { m_dailySnapshotTimeHasBeenSet =
true; m_dailySnapshotTime.assign(value); }
282 bool m_serverlessCacheNameHasBeenSet =
false;
285 bool m_descriptionHasBeenSet =
false;
288 bool m_createTimeHasBeenSet =
false;
291 bool m_statusHasBeenSet =
false;
294 bool m_engineHasBeenSet =
false;
297 bool m_majorEngineVersionHasBeenSet =
false;
300 bool m_fullEngineVersionHasBeenSet =
false;
303 bool m_cacheUsageLimitsHasBeenSet =
false;
306 bool m_kmsKeyIdHasBeenSet =
false;
309 bool m_securityGroupIdsHasBeenSet =
false;
312 bool m_endpointHasBeenSet =
false;
315 bool m_readerEndpointHasBeenSet =
false;
318 bool m_aRNHasBeenSet =
false;
321 bool m_userGroupIdHasBeenSet =
false;
324 bool m_subnetIdsHasBeenSet =
false;
326 int m_snapshotRetentionLimit;
327 bool m_snapshotRetentionLimitHasBeenSet =
false;
330 bool m_dailySnapshotTimeHasBeenSet =
false;
ServerlessCache & WithMajorEngineVersion(const Aws::String &value)
void SetReaderEndpoint(const Endpoint &value)
void SetMajorEngineVersion(const char *value)
ServerlessCache & AddSecurityGroupIds(const Aws::String &value)
ServerlessCache & WithEngine(const char *value)
void SetMajorEngineVersion(const Aws::String &value)
void SetDailySnapshotTime(const char *value)
void SetSecurityGroupIds(Aws::Vector< Aws::String > &&value)
ServerlessCache & WithFullEngineVersion(const char *value)
void SetDescription(const char *value)
ServerlessCache & AddSubnetIds(const Aws::String &value)
const Aws::String & GetDescription() const
ServerlessCache & WithStatus(const char *value)
ServerlessCache & WithSecurityGroupIds(const Aws::Vector< Aws::String > &value)
bool SubnetIdsHasBeenSet() const
void SetCacheUsageLimits(const CacheUsageLimits &value)
void SetFullEngineVersion(const char *value)
ServerlessCache & WithCreateTime(Aws::Utils::DateTime &&value)
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
bool EngineHasBeenSet() const
AWS_ELASTICACHE_API ServerlessCache(const Aws::Utils::Xml::XmlNode &xmlNode)
ServerlessCache & AddSecurityGroupIds(Aws::String &&value)
void SetARN(Aws::String &&value)
ServerlessCache & AddSecurityGroupIds(const char *value)
ServerlessCache & WithEndpoint(const Endpoint &value)
void SetDailySnapshotTime(const Aws::String &value)
const Aws::Utils::DateTime & GetCreateTime() const
ServerlessCache & WithSubnetIds(const Aws::Vector< Aws::String > &value)
ServerlessCache & WithFullEngineVersion(Aws::String &&value)
const Aws::String & GetEngine() const
ServerlessCache & WithUserGroupId(const Aws::String &value)
void SetUserGroupId(const char *value)
ServerlessCache & WithReaderEndpoint(Endpoint &&value)
bool EndpointHasBeenSet() const
void SetKmsKeyId(const Aws::String &value)
void SetCacheUsageLimits(CacheUsageLimits &&value)
void SetCreateTime(Aws::Utils::DateTime &&value)
void SetFullEngineVersion(Aws::String &&value)
ServerlessCache & WithDailySnapshotTime(Aws::String &&value)
void SetUserGroupId(Aws::String &&value)
void SetEndpoint(Endpoint &&value)
ServerlessCache & WithCacheUsageLimits(const CacheUsageLimits &value)
void SetARN(const char *value)
ServerlessCache & WithARN(const Aws::String &value)
const Endpoint & GetEndpoint() const
const Aws::Vector< Aws::String > & GetSubnetIds() const
int GetSnapshotRetentionLimit() const
void SetARN(const Aws::String &value)
void SetStatus(const char *value)
void SetEngine(Aws::String &&value)
void SetServerlessCacheName(Aws::String &&value)
const Aws::String & GetARN() const
void SetEngine(const Aws::String &value)
const CacheUsageLimits & GetCacheUsageLimits() const
ServerlessCache & WithEngine(Aws::String &&value)
void SetSubnetIds(const Aws::Vector< Aws::String > &value)
bool CreateTimeHasBeenSet() const
ServerlessCache & WithEndpoint(Endpoint &&value)
ServerlessCache & WithStatus(Aws::String &&value)
void SetSecurityGroupIds(const Aws::Vector< Aws::String > &value)
ServerlessCache & WithDailySnapshotTime(const char *value)
ServerlessCache & WithDescription(const Aws::String &value)
bool DescriptionHasBeenSet() const
ServerlessCache & WithFullEngineVersion(const Aws::String &value)
bool DailySnapshotTimeHasBeenSet() const
void SetFullEngineVersion(const Aws::String &value)
ServerlessCache & WithSnapshotRetentionLimit(int value)
ServerlessCache & WithStatus(const Aws::String &value)
void SetServerlessCacheName(const char *value)
bool CacheUsageLimitsHasBeenSet() const
AWS_ELASTICACHE_API ServerlessCache & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetEngine(const char *value)
bool FullEngineVersionHasBeenSet() const
ServerlessCache & WithARN(Aws::String &&value)
const Aws::String & GetServerlessCacheName() const
bool ServerlessCacheNameHasBeenSet() const
ServerlessCache & WithKmsKeyId(Aws::String &&value)
void SetSubnetIds(Aws::Vector< Aws::String > &&value)
void SetStatus(Aws::String &&value)
ServerlessCache & WithReaderEndpoint(const Endpoint &value)
ServerlessCache & WithCacheUsageLimits(CacheUsageLimits &&value)
bool UserGroupIdHasBeenSet() const
void SetReaderEndpoint(Endpoint &&value)
ServerlessCache & WithMajorEngineVersion(const char *value)
bool ReaderEndpointHasBeenSet() const
ServerlessCache & WithSubnetIds(Aws::Vector< Aws::String > &&value)
ServerlessCache & AddSubnetIds(Aws::String &&value)
void SetEndpoint(const Endpoint &value)
void SetDescription(const Aws::String &value)
ServerlessCache & WithMajorEngineVersion(Aws::String &&value)
void SetSnapshotRetentionLimit(int value)
ServerlessCache & WithDescription(const char *value)
const Aws::String & GetDailySnapshotTime() const
ServerlessCache & WithDescription(Aws::String &&value)
void SetKmsKeyId(Aws::String &&value)
ServerlessCache & AddSubnetIds(const char *value)
ServerlessCache & WithServerlessCacheName(Aws::String &&value)
const Aws::String & GetFullEngineVersion() const
ServerlessCache & WithKmsKeyId(const char *value)
ServerlessCache & WithARN(const char *value)
const Aws::String & GetKmsKeyId() const
ServerlessCache & WithServerlessCacheName(const char *value)
const Aws::String & GetUserGroupId() const
ServerlessCache & WithCreateTime(const Aws::Utils::DateTime &value)
const Endpoint & GetReaderEndpoint() const
void SetUserGroupId(const Aws::String &value)
bool SecurityGroupIdsHasBeenSet() const
bool SnapshotRetentionLimitHasBeenSet() const
ServerlessCache & WithDailySnapshotTime(const Aws::String &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
ServerlessCache & WithSecurityGroupIds(Aws::Vector< Aws::String > &&value)
void SetDescription(Aws::String &&value)
void SetDailySnapshotTime(Aws::String &&value)
bool StatusHasBeenSet() const
ServerlessCache & WithKmsKeyId(const Aws::String &value)
void SetServerlessCacheName(const Aws::String &value)
const Aws::String & GetMajorEngineVersion() const
void SetCreateTime(const Aws::Utils::DateTime &value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetKmsKeyId(const char *value)
void SetStatus(const Aws::String &value)
ServerlessCache & WithUserGroupId(Aws::String &&value)
bool MajorEngineVersionHasBeenSet() const
bool ARNHasBeenSet() const
bool KmsKeyIdHasBeenSet() const
const Aws::String & GetStatus() const
ServerlessCache & WithEngine(const Aws::String &value)
ServerlessCache & WithUserGroupId(const char *value)
AWS_ELASTICACHE_API ServerlessCache()
ServerlessCache & WithServerlessCacheName(const Aws::String &value)
void SetMajorEngineVersion(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