/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a stale security group (a security group that contains stale
* rules).See Also:
AWS
* API Reference
The description of the security group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the security group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the security group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the security group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the security group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the security group.
*/ inline StaleSecurityGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the security group.
*/ inline StaleSecurityGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the security group.
*/ inline StaleSecurityGroup& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ID of the security group.
*/ inline const Aws::String& GetGroupId() const{ return m_groupId; } /** *The ID of the security group.
*/ inline bool GroupIdHasBeenSet() const { return m_groupIdHasBeenSet; } /** *The ID of the security group.
*/ inline void SetGroupId(const Aws::String& value) { m_groupIdHasBeenSet = true; m_groupId = value; } /** *The ID of the security group.
*/ inline void SetGroupId(Aws::String&& value) { m_groupIdHasBeenSet = true; m_groupId = std::move(value); } /** *The ID of the security group.
*/ inline void SetGroupId(const char* value) { m_groupIdHasBeenSet = true; m_groupId.assign(value); } /** *The ID of the security group.
*/ inline StaleSecurityGroup& WithGroupId(const Aws::String& value) { SetGroupId(value); return *this;} /** *The ID of the security group.
*/ inline StaleSecurityGroup& WithGroupId(Aws::String&& value) { SetGroupId(std::move(value)); return *this;} /** *The ID of the security group.
*/ inline StaleSecurityGroup& WithGroupId(const char* value) { SetGroupId(value); return *this;} /** *The name of the security group.
*/ inline const Aws::String& GetGroupName() const{ return m_groupName; } /** *The name of the security group.
*/ inline bool GroupNameHasBeenSet() const { return m_groupNameHasBeenSet; } /** *The name of the security group.
*/ inline void SetGroupName(const Aws::String& value) { m_groupNameHasBeenSet = true; m_groupName = value; } /** *The name of the security group.
*/ inline void SetGroupName(Aws::String&& value) { m_groupNameHasBeenSet = true; m_groupName = std::move(value); } /** *The name of the security group.
*/ inline void SetGroupName(const char* value) { m_groupNameHasBeenSet = true; m_groupName.assign(value); } /** *The name of the security group.
*/ inline StaleSecurityGroup& WithGroupName(const Aws::String& value) { SetGroupName(value); return *this;} /** *The name of the security group.
*/ inline StaleSecurityGroup& WithGroupName(Aws::String&& value) { SetGroupName(std::move(value)); return *this;} /** *The name of the security group.
*/ inline StaleSecurityGroup& WithGroupName(const char* value) { SetGroupName(value); return *this;} /** *Information about the stale inbound rules in the security group.
*/ inline const Aws::VectorInformation about the stale inbound rules in the security group.
*/ inline bool StaleIpPermissionsHasBeenSet() const { return m_staleIpPermissionsHasBeenSet; } /** *Information about the stale inbound rules in the security group.
*/ inline void SetStaleIpPermissions(const Aws::VectorInformation about the stale inbound rules in the security group.
*/ inline void SetStaleIpPermissions(Aws::VectorInformation about the stale inbound rules in the security group.
*/ inline StaleSecurityGroup& WithStaleIpPermissions(const Aws::VectorInformation about the stale inbound rules in the security group.
*/ inline StaleSecurityGroup& WithStaleIpPermissions(Aws::VectorInformation about the stale inbound rules in the security group.
*/ inline StaleSecurityGroup& AddStaleIpPermissions(const StaleIpPermission& value) { m_staleIpPermissionsHasBeenSet = true; m_staleIpPermissions.push_back(value); return *this; } /** *Information about the stale inbound rules in the security group.
*/ inline StaleSecurityGroup& AddStaleIpPermissions(StaleIpPermission&& value) { m_staleIpPermissionsHasBeenSet = true; m_staleIpPermissions.push_back(std::move(value)); return *this; } /** *Information about the stale outbound rules in the security group.
*/ inline const Aws::VectorInformation about the stale outbound rules in the security group.
*/ inline bool StaleIpPermissionsEgressHasBeenSet() const { return m_staleIpPermissionsEgressHasBeenSet; } /** *Information about the stale outbound rules in the security group.
*/ inline void SetStaleIpPermissionsEgress(const Aws::VectorInformation about the stale outbound rules in the security group.
*/ inline void SetStaleIpPermissionsEgress(Aws::VectorInformation about the stale outbound rules in the security group.
*/ inline StaleSecurityGroup& WithStaleIpPermissionsEgress(const Aws::VectorInformation about the stale outbound rules in the security group.
*/ inline StaleSecurityGroup& WithStaleIpPermissionsEgress(Aws::VectorInformation about the stale outbound rules in the security group.
*/ inline StaleSecurityGroup& AddStaleIpPermissionsEgress(const StaleIpPermission& value) { m_staleIpPermissionsEgressHasBeenSet = true; m_staleIpPermissionsEgress.push_back(value); return *this; } /** *Information about the stale outbound rules in the security group.
*/ inline StaleSecurityGroup& AddStaleIpPermissionsEgress(StaleIpPermission&& value) { m_staleIpPermissionsEgressHasBeenSet = true; m_staleIpPermissionsEgress.push_back(std::move(value)); return *this; } /** *The ID of the VPC for the security group.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC for the security group.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC for the security group.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC for the security group.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC for the security group.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC for the security group.
*/ inline StaleSecurityGroup& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC for the security group.
*/ inline StaleSecurityGroup& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC for the security group.
*/ inline StaleSecurityGroup& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_groupId; bool m_groupIdHasBeenSet = false; Aws::String m_groupName; bool m_groupNameHasBeenSet = false; Aws::Vector