/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A VPC security groups that the DB instance belongs to.See
* Also:
AWS
* API Reference
The name of the VPC security group.
*/ inline const Aws::String& GetVpcSecurityGroupId() const{ return m_vpcSecurityGroupId; } /** *The name of the VPC security group.
*/ inline bool VpcSecurityGroupIdHasBeenSet() const { return m_vpcSecurityGroupIdHasBeenSet; } /** *The name of the VPC security group.
*/ inline void SetVpcSecurityGroupId(const Aws::String& value) { m_vpcSecurityGroupIdHasBeenSet = true; m_vpcSecurityGroupId = value; } /** *The name of the VPC security group.
*/ inline void SetVpcSecurityGroupId(Aws::String&& value) { m_vpcSecurityGroupIdHasBeenSet = true; m_vpcSecurityGroupId = std::move(value); } /** *The name of the VPC security group.
*/ inline void SetVpcSecurityGroupId(const char* value) { m_vpcSecurityGroupIdHasBeenSet = true; m_vpcSecurityGroupId.assign(value); } /** *The name of the VPC security group.
*/ inline AwsRdsDbInstanceVpcSecurityGroup& WithVpcSecurityGroupId(const Aws::String& value) { SetVpcSecurityGroupId(value); return *this;} /** *The name of the VPC security group.
*/ inline AwsRdsDbInstanceVpcSecurityGroup& WithVpcSecurityGroupId(Aws::String&& value) { SetVpcSecurityGroupId(std::move(value)); return *this;} /** *The name of the VPC security group.
*/ inline AwsRdsDbInstanceVpcSecurityGroup& WithVpcSecurityGroupId(const char* value) { SetVpcSecurityGroupId(value); return *this;} /** *The status of the VPC security group.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the VPC security group.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the VPC security group.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the VPC security group.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the VPC security group.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the VPC security group.
*/ inline AwsRdsDbInstanceVpcSecurityGroup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the VPC security group.
*/ inline AwsRdsDbInstanceVpcSecurityGroup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the VPC security group.
*/ inline AwsRdsDbInstanceVpcSecurityGroup& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_vpcSecurityGroupId; bool m_vpcSecurityGroupIdHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws