/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The name for the DB subnet group. This value is stored as a lowercase * string.
Constraints:
Must contain no more than 255 * letters, numbers, periods, underscores, spaces, or hyphens.
Must not be default.
First character must be a letter.
*Example: mydbsubnetgroup
The name for the DB subnet group. This value is stored as a lowercase * string.
Constraints:
Must contain no more than 255 * letters, numbers, periods, underscores, spaces, or hyphens.
Must not be default.
First character must be a letter.
*Example: mydbsubnetgroup
The name for the DB subnet group. This value is stored as a lowercase * string.
Constraints:
Must contain no more than 255 * letters, numbers, periods, underscores, spaces, or hyphens.
Must not be default.
First character must be a letter.
*Example: mydbsubnetgroup
The name for the DB subnet group. This value is stored as a lowercase * string.
Constraints:
Must contain no more than 255 * letters, numbers, periods, underscores, spaces, or hyphens.
Must not be default.
First character must be a letter.
*Example: mydbsubnetgroup
The name for the DB subnet group. This value is stored as a lowercase * string.
Constraints:
Must contain no more than 255 * letters, numbers, periods, underscores, spaces, or hyphens.
Must not be default.
First character must be a letter.
*Example: mydbsubnetgroup
The name for the DB subnet group. This value is stored as a lowercase * string.
Constraints:
Must contain no more than 255 * letters, numbers, periods, underscores, spaces, or hyphens.
Must not be default.
First character must be a letter.
*Example: mydbsubnetgroup
The name for the DB subnet group. This value is stored as a lowercase * string.
Constraints:
Must contain no more than 255 * letters, numbers, periods, underscores, spaces, or hyphens.
Must not be default.
First character must be a letter.
*Example: mydbsubnetgroup
The name for the DB subnet group. This value is stored as a lowercase * string.
Constraints:
Must contain no more than 255 * letters, numbers, periods, underscores, spaces, or hyphens.
Must not be default.
First character must be a letter.
*Example: mydbsubnetgroup
The description for the DB subnet group.
*/ inline const Aws::String& GetDBSubnetGroupDescription() const{ return m_dBSubnetGroupDescription; } /** *The description for the DB subnet group.
*/ inline bool DBSubnetGroupDescriptionHasBeenSet() const { return m_dBSubnetGroupDescriptionHasBeenSet; } /** *The description for the DB subnet group.
*/ inline void SetDBSubnetGroupDescription(const Aws::String& value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription = value; } /** *The description for the DB subnet group.
*/ inline void SetDBSubnetGroupDescription(Aws::String&& value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription = std::move(value); } /** *The description for the DB subnet group.
*/ inline void SetDBSubnetGroupDescription(const char* value) { m_dBSubnetGroupDescriptionHasBeenSet = true; m_dBSubnetGroupDescription.assign(value); } /** *The description for the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& WithDBSubnetGroupDescription(const Aws::String& value) { SetDBSubnetGroupDescription(value); return *this;} /** *The description for the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& WithDBSubnetGroupDescription(Aws::String&& value) { SetDBSubnetGroupDescription(std::move(value)); return *this;} /** *The description for the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& WithDBSubnetGroupDescription(const char* value) { SetDBSubnetGroupDescription(value); return *this;} /** *The EC2 Subnet IDs for the DB subnet group.
*/ inline const Aws::VectorThe EC2 Subnet IDs for the DB subnet group.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The EC2 Subnet IDs for the DB subnet group.
*/ inline void SetSubnetIds(const Aws::VectorThe EC2 Subnet IDs for the DB subnet group.
*/ inline void SetSubnetIds(Aws::VectorThe EC2 Subnet IDs for the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& WithSubnetIds(const Aws::VectorThe EC2 Subnet IDs for the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& WithSubnetIds(Aws::VectorThe EC2 Subnet IDs for the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The EC2 Subnet IDs for the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The EC2 Subnet IDs for the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *Tags to assign to the DB subnet group.
*/ inline const Aws::VectorTags to assign to the DB subnet group.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *Tags to assign to the DB subnet group.
*/ inline void SetTags(const Aws::VectorTags to assign to the DB subnet group.
*/ inline void SetTags(Aws::VectorTags to assign to the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& WithTags(const Aws::VectorTags to assign to the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& WithTags(Aws::VectorTags to assign to the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *Tags to assign to the DB subnet group.
*/ inline CreateDBSubnetGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_dBSubnetGroupName; bool m_dBSubnetGroupNameHasBeenSet = false; Aws::String m_dBSubnetGroupDescription; bool m_dBSubnetGroupDescriptionHasBeenSet = false; Aws::Vector