/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a CreateCacheSecurityGroup
* operation.See Also:
AWS
* API Reference
A name for the cache security group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters. Cannot be the word "Default".
Example:
* mysecuritygroup
A name for the cache security group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters. Cannot be the word "Default".
Example:
* mysecuritygroup
A name for the cache security group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters. Cannot be the word "Default".
Example:
* mysecuritygroup
A name for the cache security group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters. Cannot be the word "Default".
Example:
* mysecuritygroup
A name for the cache security group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters. Cannot be the word "Default".
Example:
* mysecuritygroup
A name for the cache security group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters. Cannot be the word "Default".
Example:
* mysecuritygroup
A name for the cache security group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters. Cannot be the word "Default".
Example:
* mysecuritygroup
A name for the cache security group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters. Cannot be the word "Default".
Example:
* mysecuritygroup
A description for the cache security group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description for the cache security group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description for the cache security group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description for the cache security group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description for the cache security group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description for the cache security group.
*/ inline CreateCacheSecurityGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description for the cache security group.
*/ inline CreateCacheSecurityGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description for the cache security group.
*/ inline CreateCacheSecurityGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *A list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline const Aws::VectorA list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline void SetTags(const Aws::VectorA list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline void SetTags(Aws::VectorA list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline CreateCacheSecurityGroupRequest& WithTags(const Aws::VectorA list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline CreateCacheSecurityGroupRequest& WithTags(Aws::VectorA list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline CreateCacheSecurityGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *A list of tags to be added to this resource. A tag is a key-value pair. A tag * key must be accompanied by a tag value, although null is accepted.
*/ inline CreateCacheSecurityGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_cacheSecurityGroupName; bool m_cacheSecurityGroupNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector