/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an Amazon EC2 security group.See Also:
AWS
* API Reference
The status of the EC2 security group.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the EC2 security group.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the EC2 security group.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the EC2 security group.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the EC2 security group.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the EC2 security group.
*/ inline EC2SecurityGroup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the EC2 security group.
*/ inline EC2SecurityGroup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the EC2 security group.
*/ inline EC2SecurityGroup& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The name of the EC2 Security Group.
*/ inline const Aws::String& GetEC2SecurityGroupName() const{ return m_eC2SecurityGroupName; } /** *The name of the EC2 Security Group.
*/ inline bool EC2SecurityGroupNameHasBeenSet() const { return m_eC2SecurityGroupNameHasBeenSet; } /** *The name of the EC2 Security Group.
*/ inline void SetEC2SecurityGroupName(const Aws::String& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = value; } /** *The name of the EC2 Security Group.
*/ inline void SetEC2SecurityGroupName(Aws::String&& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = std::move(value); } /** *The name of the EC2 Security Group.
*/ inline void SetEC2SecurityGroupName(const char* value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName.assign(value); } /** *The name of the EC2 Security Group.
*/ inline EC2SecurityGroup& WithEC2SecurityGroupName(const Aws::String& value) { SetEC2SecurityGroupName(value); return *this;} /** *The name of the EC2 Security Group.
*/ inline EC2SecurityGroup& WithEC2SecurityGroupName(Aws::String&& value) { SetEC2SecurityGroupName(std::move(value)); return *this;} /** *The name of the EC2 Security Group.
*/ inline EC2SecurityGroup& WithEC2SecurityGroupName(const char* value) { SetEC2SecurityGroupName(value); return *this;} /** *The Amazon Web Services account ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
The Amazon Web Services account ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
The Amazon Web Services account ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
The Amazon Web Services account ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
The Amazon Web Services account ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
The Amazon Web Services account ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
The Amazon Web Services account ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
The Amazon Web Services account ID of the owner of the EC2 security group
* specified in the EC2SecurityGroupName
field.
The list of tags for the EC2 security group.
*/ inline const Aws::VectorThe list of tags for the EC2 security group.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The list of tags for the EC2 security group.
*/ inline void SetTags(const Aws::VectorThe list of tags for the EC2 security group.
*/ inline void SetTags(Aws::VectorThe list of tags for the EC2 security group.
*/ inline EC2SecurityGroup& WithTags(const Aws::VectorThe list of tags for the EC2 security group.
*/ inline EC2SecurityGroup& WithTags(Aws::VectorThe list of tags for the EC2 security group.
*/ inline EC2SecurityGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The list of tags for the EC2 security group.
*/ inline EC2SecurityGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_eC2SecurityGroupName; bool m_eC2SecurityGroupNameHasBeenSet = false; Aws::String m_eC2SecurityGroupOwnerId; bool m_eC2SecurityGroupOwnerIdHasBeenSet = false; Aws::Vector