/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This data type is used as a response element in the following actions:
*
*
AuthorizeDBSecurityGroupIngress
DescribeDBSecurityGroups
RevokeDBSecurityGroupIngress
See Also:
* AWS
* API Reference
Provides the status of the EC2 security group. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *Provides the status of the EC2 security group. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Provides the status of the EC2 security group. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *Provides the status of the EC2 security group. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Provides the status of the EC2 security group. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *Provides the status of the EC2 security group. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline EC2SecurityGroup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *Provides the status of the EC2 security group. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline EC2SecurityGroup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *Provides the status of the EC2 security group. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline EC2SecurityGroup& WithStatus(const char* value) { SetStatus(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 EC2SecurityGroup& WithEC2SecurityGroupName(const Aws::String& value) { SetEC2SecurityGroupName(value); return *this;} /** *Specifies the name of the EC2 security group.
*/ inline EC2SecurityGroup& WithEC2SecurityGroupName(Aws::String&& value) { SetEC2SecurityGroupName(std::move(value)); return *this;} /** *Specifies the name of the EC2 security group.
*/ inline EC2SecurityGroup& WithEC2SecurityGroupName(const char* value) { SetEC2SecurityGroupName(value); return *this;} /** *Specifies the id of the EC2 security group.
*/ inline const Aws::String& GetEC2SecurityGroupId() const{ return m_eC2SecurityGroupId; } /** *Specifies the id of the EC2 security group.
*/ inline bool EC2SecurityGroupIdHasBeenSet() const { return m_eC2SecurityGroupIdHasBeenSet; } /** *Specifies the id of the EC2 security group.
*/ inline void SetEC2SecurityGroupId(const Aws::String& value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId = value; } /** *Specifies the id of the EC2 security group.
*/ inline void SetEC2SecurityGroupId(Aws::String&& value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId = std::move(value); } /** *Specifies the id of the EC2 security group.
*/ inline void SetEC2SecurityGroupId(const char* value) { m_eC2SecurityGroupIdHasBeenSet = true; m_eC2SecurityGroupId.assign(value); } /** *Specifies the id of the EC2 security group.
*/ inline EC2SecurityGroup& WithEC2SecurityGroupId(const Aws::String& value) { SetEC2SecurityGroupId(value); return *this;} /** *Specifies the id of the EC2 security group.
*/ inline EC2SecurityGroup& WithEC2SecurityGroupId(Aws::String&& value) { SetEC2SecurityGroupId(std::move(value)); return *this;} /** *Specifies the id of the EC2 security group.
*/ inline EC2SecurityGroup& WithEC2SecurityGroupId(const char* value) { SetEC2SecurityGroupId(value); return *this;} /** *Specifies the Amazon Web Services ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
Specifies the Amazon Web Services ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
Specifies the Amazon Web Services ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
Specifies the Amazon Web Services ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
Specifies the Amazon Web Services ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
Specifies the Amazon Web Services ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
Specifies the Amazon Web Services ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
Specifies the Amazon Web Services ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.