/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of one of the following operations:
*
*
CreateCacheSubnetGroup
ModifyCacheSubnetGroup
See Also:
AWS
* API Reference
The name of the cache subnet group.
*/ inline const Aws::String& GetCacheSubnetGroupName() const{ return m_cacheSubnetGroupName; } /** *The name of the cache subnet group.
*/ inline bool CacheSubnetGroupNameHasBeenSet() const { return m_cacheSubnetGroupNameHasBeenSet; } /** *The name of the cache subnet group.
*/ inline void SetCacheSubnetGroupName(const Aws::String& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = value; } /** *The name of the cache subnet group.
*/ inline void SetCacheSubnetGroupName(Aws::String&& value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName = std::move(value); } /** *The name of the cache subnet group.
*/ inline void SetCacheSubnetGroupName(const char* value) { m_cacheSubnetGroupNameHasBeenSet = true; m_cacheSubnetGroupName.assign(value); } /** *The name of the cache subnet group.
*/ inline CacheSubnetGroup& WithCacheSubnetGroupName(const Aws::String& value) { SetCacheSubnetGroupName(value); return *this;} /** *The name of the cache subnet group.
*/ inline CacheSubnetGroup& WithCacheSubnetGroupName(Aws::String&& value) { SetCacheSubnetGroupName(std::move(value)); return *this;} /** *The name of the cache subnet group.
*/ inline CacheSubnetGroup& WithCacheSubnetGroupName(const char* value) { SetCacheSubnetGroupName(value); return *this;} /** *The description of the cache subnet group.
*/ inline const Aws::String& GetCacheSubnetGroupDescription() const{ return m_cacheSubnetGroupDescription; } /** *The description of the cache subnet group.
*/ inline bool CacheSubnetGroupDescriptionHasBeenSet() const { return m_cacheSubnetGroupDescriptionHasBeenSet; } /** *The description of the cache subnet group.
*/ inline void SetCacheSubnetGroupDescription(const Aws::String& value) { m_cacheSubnetGroupDescriptionHasBeenSet = true; m_cacheSubnetGroupDescription = value; } /** *The description of the cache subnet group.
*/ inline void SetCacheSubnetGroupDescription(Aws::String&& value) { m_cacheSubnetGroupDescriptionHasBeenSet = true; m_cacheSubnetGroupDescription = std::move(value); } /** *The description of the cache subnet group.
*/ inline void SetCacheSubnetGroupDescription(const char* value) { m_cacheSubnetGroupDescriptionHasBeenSet = true; m_cacheSubnetGroupDescription.assign(value); } /** *The description of the cache subnet group.
*/ inline CacheSubnetGroup& WithCacheSubnetGroupDescription(const Aws::String& value) { SetCacheSubnetGroupDescription(value); return *this;} /** *The description of the cache subnet group.
*/ inline CacheSubnetGroup& WithCacheSubnetGroupDescription(Aws::String&& value) { SetCacheSubnetGroupDescription(std::move(value)); return *this;} /** *The description of the cache subnet group.
*/ inline CacheSubnetGroup& WithCacheSubnetGroupDescription(const char* value) { SetCacheSubnetGroupDescription(value); return *this;} /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet * group.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet * group.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet * group.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet * group.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet * group.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet * group.
*/ inline CacheSubnetGroup& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet * group.
*/ inline CacheSubnetGroup& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the cache subnet * group.
*/ inline CacheSubnetGroup& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *A list of subnets associated with the cache subnet group.
*/ inline const Aws::VectorA list of subnets associated with the cache subnet group.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *A list of subnets associated with the cache subnet group.
*/ inline void SetSubnets(const Aws::VectorA list of subnets associated with the cache subnet group.
*/ inline void SetSubnets(Aws::VectorA list of subnets associated with the cache subnet group.
*/ inline CacheSubnetGroup& WithSubnets(const Aws::VectorA list of subnets associated with the cache subnet group.
*/ inline CacheSubnetGroup& WithSubnets(Aws::VectorA list of subnets associated with the cache subnet group.
*/ inline CacheSubnetGroup& AddSubnets(const Subnet& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *A list of subnets associated with the cache subnet group.
*/ inline CacheSubnetGroup& AddSubnets(Subnet&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *The ARN (Amazon Resource Name) of the cache subnet group.
*/ inline const Aws::String& GetARN() const{ return m_aRN; } /** *The ARN (Amazon Resource Name) of the cache subnet group.
*/ inline bool ARNHasBeenSet() const { return m_aRNHasBeenSet; } /** *The ARN (Amazon Resource Name) of the cache subnet group.
*/ inline void SetARN(const Aws::String& value) { m_aRNHasBeenSet = true; m_aRN = value; } /** *The ARN (Amazon Resource Name) of the cache subnet group.
*/ inline void SetARN(Aws::String&& value) { m_aRNHasBeenSet = true; m_aRN = std::move(value); } /** *The ARN (Amazon Resource Name) of the cache subnet group.
*/ inline void SetARN(const char* value) { m_aRNHasBeenSet = true; m_aRN.assign(value); } /** *The ARN (Amazon Resource Name) of the cache subnet group.
*/ inline CacheSubnetGroup& WithARN(const Aws::String& value) { SetARN(value); return *this;} /** *The ARN (Amazon Resource Name) of the cache subnet group.
*/ inline CacheSubnetGroup& WithARN(Aws::String&& value) { SetARN(std::move(value)); return *this;} /** *The ARN (Amazon Resource Name) of the cache subnet group.
*/ inline CacheSubnetGroup& WithARN(const char* value) { SetARN(value); return *this;} /** *Either ipv4
| ipv6
| dual_stack
. IPv6
* is supported for workloads using Redis engine version 6.2 onward or Memcached
* engine version 1.6.6 on all instances built on the Nitro system.
Either ipv4
| ipv6
| dual_stack
. IPv6
* is supported for workloads using Redis engine version 6.2 onward or Memcached
* engine version 1.6.6 on all instances built on the Nitro system.
Either ipv4
| ipv6
| dual_stack
. IPv6
* is supported for workloads using Redis engine version 6.2 onward or Memcached
* engine version 1.6.6 on all instances built on the Nitro system.
Either ipv4
| ipv6
| dual_stack
. IPv6
* is supported for workloads using Redis engine version 6.2 onward or Memcached
* engine version 1.6.6 on all instances built on the Nitro system.
Either ipv4
| ipv6
| dual_stack
. IPv6
* is supported for workloads using Redis engine version 6.2 onward or Memcached
* engine version 1.6.6 on all instances built on the Nitro system.
Either ipv4
| ipv6
| dual_stack
. IPv6
* is supported for workloads using Redis engine version 6.2 onward or Memcached
* engine version 1.6.6 on all instances built on the Nitro system.
Either ipv4
| ipv6
| dual_stack
. IPv6
* is supported for workloads using Redis engine version 6.2 onward or Memcached
* engine version 1.6.6 on all instances built on the Nitro system.
Either ipv4
| ipv6
| dual_stack
. IPv6
* is supported for workloads using Redis engine version 6.2 onward or Memcached
* engine version 1.6.6 on all instances built on the Nitro system.