/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the input of a CreateCacheSubnetGroup
* operation.See Also:
AWS
* API Reference
A name for the cache subnet group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters or hyphens.
Example: mysubnetgroup
A name for the cache subnet group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters or hyphens.
Example: mysubnetgroup
A name for the cache subnet group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters or hyphens.
Example: mysubnetgroup
A name for the cache subnet group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters or hyphens.
Example: mysubnetgroup
A name for the cache subnet group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters or hyphens.
Example: mysubnetgroup
A name for the cache subnet group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters or hyphens.
Example: mysubnetgroup
A name for the cache subnet group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters or hyphens.
Example: mysubnetgroup
A name for the cache subnet group. This value is stored as a lowercase * string.
Constraints: Must contain no more than 255 alphanumeric * characters or hyphens.
Example: mysubnetgroup
A description for the cache subnet group.
*/ inline const Aws::String& GetCacheSubnetGroupDescription() const{ return m_cacheSubnetGroupDescription; } /** *A description for the cache subnet group.
*/ inline bool CacheSubnetGroupDescriptionHasBeenSet() const { return m_cacheSubnetGroupDescriptionHasBeenSet; } /** *A description for the cache subnet group.
*/ inline void SetCacheSubnetGroupDescription(const Aws::String& value) { m_cacheSubnetGroupDescriptionHasBeenSet = true; m_cacheSubnetGroupDescription = value; } /** *A description for the cache subnet group.
*/ inline void SetCacheSubnetGroupDescription(Aws::String&& value) { m_cacheSubnetGroupDescriptionHasBeenSet = true; m_cacheSubnetGroupDescription = std::move(value); } /** *A description for the cache subnet group.
*/ inline void SetCacheSubnetGroupDescription(const char* value) { m_cacheSubnetGroupDescriptionHasBeenSet = true; m_cacheSubnetGroupDescription.assign(value); } /** *A description for the cache subnet group.
*/ inline CreateCacheSubnetGroupRequest& WithCacheSubnetGroupDescription(const Aws::String& value) { SetCacheSubnetGroupDescription(value); return *this;} /** *A description for the cache subnet group.
*/ inline CreateCacheSubnetGroupRequest& WithCacheSubnetGroupDescription(Aws::String&& value) { SetCacheSubnetGroupDescription(std::move(value)); return *this;} /** *A description for the cache subnet group.
*/ inline CreateCacheSubnetGroupRequest& WithCacheSubnetGroupDescription(const char* value) { SetCacheSubnetGroupDescription(value); return *this;} /** *A list of VPC subnet IDs for the cache subnet group.
*/ inline const Aws::VectorA list of VPC subnet IDs for the cache subnet group.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *A list of VPC subnet IDs for the cache subnet group.
*/ inline void SetSubnetIds(const Aws::VectorA list of VPC subnet IDs for the cache subnet group.
*/ inline void SetSubnetIds(Aws::VectorA list of VPC subnet IDs for the cache subnet group.
*/ inline CreateCacheSubnetGroupRequest& WithSubnetIds(const Aws::VectorA list of VPC subnet IDs for the cache subnet group.
*/ inline CreateCacheSubnetGroupRequest& WithSubnetIds(Aws::VectorA list of VPC subnet IDs for the cache subnet group.
*/ inline CreateCacheSubnetGroupRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of VPC subnet IDs for the cache subnet group.
*/ inline CreateCacheSubnetGroupRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *A list of VPC subnet IDs for the cache subnet group.
*/ inline CreateCacheSubnetGroupRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.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 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 CreateCacheSubnetGroupRequest& 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 CreateCacheSubnetGroupRequest& 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 CreateCacheSubnetGroupRequest& 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 CreateCacheSubnetGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_cacheSubnetGroupName; bool m_cacheSubnetGroupNameHasBeenSet = false; Aws::String m_cacheSubnetGroupDescription; bool m_cacheSubnetGroupDescriptionHasBeenSet = false; Aws::Vector