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/EC2SecurityGroup.h>
56 inline void SetOwnerId(
const char* value) { m_ownerIdHasBeenSet =
true; m_ownerId.assign(value); }
70 inline void SetCacheSecurityGroupName(
const char* value) { m_cacheSecurityGroupNameHasBeenSet =
true; m_cacheSecurityGroupName.assign(value); }
84 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
113 inline void SetARN(
const char* value) { m_aRNHasBeenSet =
true; m_aRN.assign(value); }
121 bool m_ownerIdHasBeenSet =
false;
124 bool m_cacheSecurityGroupNameHasBeenSet =
false;
127 bool m_descriptionHasBeenSet =
false;
130 bool m_eC2SecurityGroupsHasBeenSet =
false;
133 bool m_aRNHasBeenSet =
false;
const Aws::String & GetOwnerId() const
const Aws::String & GetCacheSecurityGroupName() const
void SetDescription(const char *value)
CacheSecurityGroup & WithOwnerId(const Aws::String &value)
CacheSecurityGroup & WithARN(const char *value)
CacheSecurityGroup & WithEC2SecurityGroups(Aws::Vector< EC2SecurityGroup > &&value)
CacheSecurityGroup & WithDescription(Aws::String &&value)
CacheSecurityGroup & WithEC2SecurityGroups(const Aws::Vector< EC2SecurityGroup > &value)
CacheSecurityGroup & WithOwnerId(const char *value)
bool ARNHasBeenSet() const
bool CacheSecurityGroupNameHasBeenSet() const
CacheSecurityGroup & AddEC2SecurityGroups(const EC2SecurityGroup &value)
void SetCacheSecurityGroupName(Aws::String &&value)
const Aws::Vector< EC2SecurityGroup > & GetEC2SecurityGroups() const
void SetCacheSecurityGroupName(const char *value)
CacheSecurityGroup & WithDescription(const Aws::String &value)
void SetDescription(const Aws::String &value)
CacheSecurityGroup & WithCacheSecurityGroupName(const Aws::String &value)
void SetOwnerId(Aws::String &&value)
CacheSecurityGroup & WithARN(const Aws::String &value)
AWS_ELASTICACHE_API CacheSecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheSecurityGroup & WithCacheSecurityGroupName(const char *value)
AWS_ELASTICACHE_API CacheSecurityGroup()
bool OwnerIdHasBeenSet() const
void SetCacheSecurityGroupName(const Aws::String &value)
CacheSecurityGroup & WithCacheSecurityGroupName(Aws::String &&value)
bool EC2SecurityGroupsHasBeenSet() const
void SetDescription(Aws::String &&value)
CacheSecurityGroup & AddEC2SecurityGroups(EC2SecurityGroup &&value)
AWS_ELASTICACHE_API CacheSecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetARN() const
bool DescriptionHasBeenSet() const
void SetEC2SecurityGroups(const Aws::Vector< EC2SecurityGroup > &value)
void SetARN(const Aws::String &value)
void SetOwnerId(const char *value)
void SetARN(Aws::String &&value)
void SetARN(const char *value)
CacheSecurityGroup & WithOwnerId(Aws::String &&value)
CacheSecurityGroup & WithARN(Aws::String &&value)
void SetEC2SecurityGroups(Aws::Vector< EC2SecurityGroup > &&value)
CacheSecurityGroup & WithDescription(const char *value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetDescription() const
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetOwnerId(const 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