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/EC2SecurityGroup.h>
21namespace ElastiCache {
48 template <
typename OwnerIdT = Aws::String>
50 m_ownerIdHasBeenSet =
true;
51 m_ownerId = std::forward<OwnerIdT>(value);
53 template <
typename OwnerIdT = Aws::String>
66 template <
typename CacheSecurityGroupNameT = Aws::String>
68 m_cacheSecurityGroupNameHasBeenSet =
true;
69 m_cacheSecurityGroupName = std::forward<CacheSecurityGroupNameT>(value);
71 template <
typename CacheSecurityGroupNameT = Aws::String>
84 template <
typename DescriptionT = Aws::String>
86 m_descriptionHasBeenSet =
true;
87 m_description = std::forward<DescriptionT>(value);
89 template <
typename DescriptionT = Aws::String>
103 template <
typename EC2SecurityGroupsT = Aws::Vector<EC2SecurityGroup>>
105 m_eC2SecurityGroupsHasBeenSet =
true;
106 m_eC2SecurityGroups = std::forward<EC2SecurityGroupsT>(value);
108 template <
typename EC2SecurityGroupsT = Aws::Vector<EC2SecurityGroup>>
113 template <
typename EC2SecurityGroupsT = EC2SecurityGroup>
115 m_eC2SecurityGroupsHasBeenSet =
true;
116 m_eC2SecurityGroups.emplace_back(std::forward<EC2SecurityGroupsT>(value));
127 template <
typename ARNT = Aws::String>
129 m_aRNHasBeenSet =
true;
130 m_aRN = std::forward<ARNT>(value);
132 template <
typename ARNT = Aws::String>
134 SetARN(std::forward<ARNT>(value));
148 bool m_ownerIdHasBeenSet =
false;
149 bool m_cacheSecurityGroupNameHasBeenSet =
false;
150 bool m_descriptionHasBeenSet =
false;
151 bool m_eC2SecurityGroupsHasBeenSet =
false;
152 bool m_aRNHasBeenSet =
false;
const Aws::String & GetOwnerId() const
const Aws::String & GetCacheSecurityGroupName() const
CacheSecurityGroup & WithDescription(DescriptionT &&value)
CacheSecurityGroup & WithARN(ARNT &&value)
CacheSecurityGroup & WithOwnerId(OwnerIdT &&value)
void SetOwnerId(OwnerIdT &&value)
CacheSecurityGroup & AddEC2SecurityGroups(EC2SecurityGroupsT &&value)
bool ARNHasBeenSet() const
bool CacheSecurityGroupNameHasBeenSet() const
const Aws::Vector< EC2SecurityGroup > & GetEC2SecurityGroups() const
void SetARN(ARNT &&value)
AWS_ELASTICACHE_API CacheSecurityGroup & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
CacheSecurityGroup & WithEC2SecurityGroups(EC2SecurityGroupsT &&value)
void SetCacheSecurityGroupName(CacheSecurityGroupNameT &&value)
bool OwnerIdHasBeenSet() const
bool EC2SecurityGroupsHasBeenSet() const
void SetDescription(DescriptionT &&value)
AWS_ELASTICACHE_API CacheSecurityGroup(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::String & GetARN() const
void SetEC2SecurityGroups(EC2SecurityGroupsT &&value)
bool DescriptionHasBeenSet() const
CacheSecurityGroup & WithCacheSecurityGroupName(CacheSecurityGroupNameT &&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
AWS_ELASTICACHE_API CacheSecurityGroup()=default
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