/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include EC2 security group information for an RDS DB security group.See
* Also:
AWS
* API Reference
Specifies the ID for the EC2 security group.
*/ inline const Aws::String& GetEc2SecurityGroupId() const{ return m_ec2SecurityGroupId; } /** *Specifies the ID for the EC2 security group.
*/ inline bool Ec2SecurityGroupIdHasBeenSet() const { return m_ec2SecurityGroupIdHasBeenSet; } /** *Specifies the ID for the EC2 security group.
*/ inline void SetEc2SecurityGroupId(const Aws::String& value) { m_ec2SecurityGroupIdHasBeenSet = true; m_ec2SecurityGroupId = value; } /** *Specifies the ID for the EC2 security group.
*/ inline void SetEc2SecurityGroupId(Aws::String&& value) { m_ec2SecurityGroupIdHasBeenSet = true; m_ec2SecurityGroupId = std::move(value); } /** *Specifies the ID for the EC2 security group.
*/ inline void SetEc2SecurityGroupId(const char* value) { m_ec2SecurityGroupIdHasBeenSet = true; m_ec2SecurityGroupId.assign(value); } /** *Specifies the ID for the EC2 security group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithEc2SecurityGroupId(const Aws::String& value) { SetEc2SecurityGroupId(value); return *this;} /** *Specifies the ID for the EC2 security group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithEc2SecurityGroupId(Aws::String&& value) { SetEc2SecurityGroupId(std::move(value)); return *this;} /** *Specifies the ID for the EC2 security group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithEc2SecurityGroupId(const char* value) { SetEc2SecurityGroupId(value); return *this;} /** *Specifies the name of the EC2 security group.
*/ inline const Aws::String& GetEc2SecurityGroupName() const{ return m_ec2SecurityGroupName; } /** *Specifies the name of the EC2 security group.
*/ inline bool Ec2SecurityGroupNameHasBeenSet() const { return m_ec2SecurityGroupNameHasBeenSet; } /** *Specifies the name of the EC2 security group.
*/ inline void SetEc2SecurityGroupName(const Aws::String& value) { m_ec2SecurityGroupNameHasBeenSet = true; m_ec2SecurityGroupName = value; } /** *Specifies the name of the EC2 security group.
*/ inline void SetEc2SecurityGroupName(Aws::String&& value) { m_ec2SecurityGroupNameHasBeenSet = true; m_ec2SecurityGroupName = std::move(value); } /** *Specifies the name of the EC2 security group.
*/ inline void SetEc2SecurityGroupName(const char* value) { m_ec2SecurityGroupNameHasBeenSet = true; m_ec2SecurityGroupName.assign(value); } /** *Specifies the name of the EC2 security group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithEc2SecurityGroupName(const Aws::String& value) { SetEc2SecurityGroupName(value); return *this;} /** *Specifies the name of the EC2 security group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithEc2SecurityGroupName(Aws::String&& value) { SetEc2SecurityGroupName(std::move(value)); return *this;} /** *Specifies the name of the EC2 security group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithEc2SecurityGroupName(const char* value) { SetEc2SecurityGroupName(value); return *this;} /** *Provides the Amazon Web Services ID of the owner of the EC2 security * group.
*/ inline const Aws::String& GetEc2SecurityGroupOwnerId() const{ return m_ec2SecurityGroupOwnerId; } /** *Provides the Amazon Web Services ID of the owner of the EC2 security * group.
*/ inline bool Ec2SecurityGroupOwnerIdHasBeenSet() const { return m_ec2SecurityGroupOwnerIdHasBeenSet; } /** *Provides the Amazon Web Services ID of the owner of the EC2 security * group.
*/ inline void SetEc2SecurityGroupOwnerId(const Aws::String& value) { m_ec2SecurityGroupOwnerIdHasBeenSet = true; m_ec2SecurityGroupOwnerId = value; } /** *Provides the Amazon Web Services ID of the owner of the EC2 security * group.
*/ inline void SetEc2SecurityGroupOwnerId(Aws::String&& value) { m_ec2SecurityGroupOwnerIdHasBeenSet = true; m_ec2SecurityGroupOwnerId = std::move(value); } /** *Provides the Amazon Web Services ID of the owner of the EC2 security * group.
*/ inline void SetEc2SecurityGroupOwnerId(const char* value) { m_ec2SecurityGroupOwnerIdHasBeenSet = true; m_ec2SecurityGroupOwnerId.assign(value); } /** *Provides the Amazon Web Services ID of the owner of the EC2 security * group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithEc2SecurityGroupOwnerId(const Aws::String& value) { SetEc2SecurityGroupOwnerId(value); return *this;} /** *Provides the Amazon Web Services ID of the owner of the EC2 security * group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithEc2SecurityGroupOwnerId(Aws::String&& value) { SetEc2SecurityGroupOwnerId(std::move(value)); return *this;} /** *Provides the Amazon Web Services ID of the owner of the EC2 security * group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithEc2SecurityGroupOwnerId(const char* value) { SetEc2SecurityGroupOwnerId(value); return *this;} /** *Provides the status of the EC2 security group.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *Provides the status of the EC2 security group.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Provides the status of the EC2 security group.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *Provides the status of the EC2 security group.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Provides the status of the EC2 security group.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *Provides the status of the EC2 security group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *Provides the status of the EC2 security group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *Provides the status of the EC2 security group.
*/ inline AwsRdsDbSecurityGroupEc2SecurityGroup& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_ec2SecurityGroupId; bool m_ec2SecurityGroupIdHasBeenSet = false; Aws::String m_ec2SecurityGroupName; bool m_ec2SecurityGroupNameHasBeenSet = false; Aws::String m_ec2SecurityGroupOwnerId; bool m_ec2SecurityGroupOwnerIdHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws