7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCacheRequest.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/Tag.h>
16namespace ElastiCache {
50 template <
typename CacheSecurityGroupNameT = Aws::String>
52 m_cacheSecurityGroupNameHasBeenSet =
true;
53 m_cacheSecurityGroupName = std::forward<CacheSecurityGroupNameT>(value);
55 template <
typename CacheSecurityGroupNameT = Aws::String>
68 template <
typename DescriptionT = Aws::String>
70 m_descriptionHasBeenSet =
true;
71 m_description = std::forward<DescriptionT>(value);
73 template <
typename DescriptionT = Aws::String>
87 template <
typename TagsT = Aws::Vector<Tag>>
89 m_tagsHasBeenSet =
true;
90 m_tags = std::forward<TagsT>(value);
92 template <
typename TagsT = Aws::Vector<Tag>>
94 SetTags(std::forward<TagsT>(value));
97 template <
typename TagsT = Tag>
99 m_tagsHasBeenSet =
true;
100 m_tags.emplace_back(std::forward<TagsT>(value));
110 bool m_cacheSecurityGroupNameHasBeenSet =
false;
111 bool m_descriptionHasBeenSet =
false;
112 bool m_tagsHasBeenSet =
false;
AWS_ELASTICACHE_API CreateCacheSecurityGroupRequest()=default
bool DescriptionHasBeenSet() const
const Aws::String & GetCacheSecurityGroupName() const
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
virtual const char * GetServiceRequestName() const override
CreateCacheSecurityGroupRequest & WithCacheSecurityGroupName(CacheSecurityGroupNameT &&value)
const Aws::String & GetDescription() const
void SetDescription(DescriptionT &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
void SetCacheSecurityGroupName(CacheSecurityGroupNameT &&value)
CreateCacheSecurityGroupRequest & AddTags(TagsT &&value)
const Aws::Vector< Tag > & GetTags() const
CreateCacheSecurityGroupRequest & WithTags(TagsT &&value)
void SetTags(TagsT &&value)
bool CacheSecurityGroupNameHasBeenSet() const
CreateCacheSecurityGroupRequest & WithDescription(DescriptionT &&value)
bool TagsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector