/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a security group.See Also:
AWS
* API Reference
The name of the cluster security group to which the operation was * applied.
*/ inline const Aws::String& GetClusterSecurityGroupName() const{ return m_clusterSecurityGroupName; } /** *The name of the cluster security group to which the operation was * applied.
*/ inline bool ClusterSecurityGroupNameHasBeenSet() const { return m_clusterSecurityGroupNameHasBeenSet; } /** *The name of the cluster security group to which the operation was * applied.
*/ inline void SetClusterSecurityGroupName(const Aws::String& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = value; } /** *The name of the cluster security group to which the operation was * applied.
*/ inline void SetClusterSecurityGroupName(Aws::String&& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = std::move(value); } /** *The name of the cluster security group to which the operation was * applied.
*/ inline void SetClusterSecurityGroupName(const char* value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName.assign(value); } /** *The name of the cluster security group to which the operation was * applied.
*/ inline ClusterSecurityGroup& WithClusterSecurityGroupName(const Aws::String& value) { SetClusterSecurityGroupName(value); return *this;} /** *The name of the cluster security group to which the operation was * applied.
*/ inline ClusterSecurityGroup& WithClusterSecurityGroupName(Aws::String&& value) { SetClusterSecurityGroupName(std::move(value)); return *this;} /** *The name of the cluster security group to which the operation was * applied.
*/ inline ClusterSecurityGroup& WithClusterSecurityGroupName(const char* value) { SetClusterSecurityGroupName(value); return *this;} /** *A description of the security group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the security group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the security group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the security group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the security group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the security group.
*/ inline ClusterSecurityGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the security group.
*/ inline ClusterSecurityGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the security group.
*/ inline ClusterSecurityGroup& WithDescription(const char* value) { SetDescription(value); return *this;} /** *A list of EC2 security groups that are permitted to access clusters * associated with this cluster security group.
*/ inline const Aws::VectorA list of EC2 security groups that are permitted to access clusters * associated with this cluster security group.
*/ inline bool EC2SecurityGroupsHasBeenSet() const { return m_eC2SecurityGroupsHasBeenSet; } /** *A list of EC2 security groups that are permitted to access clusters * associated with this cluster security group.
*/ inline void SetEC2SecurityGroups(const Aws::VectorA list of EC2 security groups that are permitted to access clusters * associated with this cluster security group.
*/ inline void SetEC2SecurityGroups(Aws::VectorA list of EC2 security groups that are permitted to access clusters * associated with this cluster security group.
*/ inline ClusterSecurityGroup& WithEC2SecurityGroups(const Aws::VectorA list of EC2 security groups that are permitted to access clusters * associated with this cluster security group.
*/ inline ClusterSecurityGroup& WithEC2SecurityGroups(Aws::VectorA list of EC2 security groups that are permitted to access clusters * associated with this cluster security group.
*/ inline ClusterSecurityGroup& AddEC2SecurityGroups(const EC2SecurityGroup& value) { m_eC2SecurityGroupsHasBeenSet = true; m_eC2SecurityGroups.push_back(value); return *this; } /** *A list of EC2 security groups that are permitted to access clusters * associated with this cluster security group.
*/ inline ClusterSecurityGroup& AddEC2SecurityGroups(EC2SecurityGroup&& value) { m_eC2SecurityGroupsHasBeenSet = true; m_eC2SecurityGroups.push_back(std::move(value)); return *this; } /** *A list of IP ranges (CIDR blocks) that are permitted to access clusters * associated with this cluster security group.
*/ inline const Aws::VectorA list of IP ranges (CIDR blocks) that are permitted to access clusters * associated with this cluster security group.
*/ inline bool IPRangesHasBeenSet() const { return m_iPRangesHasBeenSet; } /** *A list of IP ranges (CIDR blocks) that are permitted to access clusters * associated with this cluster security group.
*/ inline void SetIPRanges(const Aws::VectorA list of IP ranges (CIDR blocks) that are permitted to access clusters * associated with this cluster security group.
*/ inline void SetIPRanges(Aws::VectorA list of IP ranges (CIDR blocks) that are permitted to access clusters * associated with this cluster security group.
*/ inline ClusterSecurityGroup& WithIPRanges(const Aws::VectorA list of IP ranges (CIDR blocks) that are permitted to access clusters * associated with this cluster security group.
*/ inline ClusterSecurityGroup& WithIPRanges(Aws::VectorA list of IP ranges (CIDR blocks) that are permitted to access clusters * associated with this cluster security group.
*/ inline ClusterSecurityGroup& AddIPRanges(const IPRange& value) { m_iPRangesHasBeenSet = true; m_iPRanges.push_back(value); return *this; } /** *A list of IP ranges (CIDR blocks) that are permitted to access clusters * associated with this cluster security group.
*/ inline ClusterSecurityGroup& AddIPRanges(IPRange&& value) { m_iPRangesHasBeenSet = true; m_iPRanges.push_back(std::move(value)); return *this; } /** *The list of tags for the cluster security group.
*/ inline const Aws::VectorThe list of tags for the cluster security group.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The list of tags for the cluster security group.
*/ inline void SetTags(const Aws::VectorThe list of tags for the cluster security group.
*/ inline void SetTags(Aws::VectorThe list of tags for the cluster security group.
*/ inline ClusterSecurityGroup& WithTags(const Aws::VectorThe list of tags for the cluster security group.
*/ inline ClusterSecurityGroup& WithTags(Aws::VectorThe list of tags for the cluster security group.
*/ inline ClusterSecurityGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The list of tags for the cluster security group.
*/ inline ClusterSecurityGroup& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_clusterSecurityGroupName; bool m_clusterSecurityGroupNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector