/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The name of the security group to which the ingress rule is added.
*/ inline const Aws::String& GetClusterSecurityGroupName() const{ return m_clusterSecurityGroupName; } /** *The name of the security group to which the ingress rule is added.
*/ inline bool ClusterSecurityGroupNameHasBeenSet() const { return m_clusterSecurityGroupNameHasBeenSet; } /** *The name of the security group to which the ingress rule is added.
*/ inline void SetClusterSecurityGroupName(const Aws::String& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = value; } /** *The name of the security group to which the ingress rule is added.
*/ inline void SetClusterSecurityGroupName(Aws::String&& value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName = std::move(value); } /** *The name of the security group to which the ingress rule is added.
*/ inline void SetClusterSecurityGroupName(const char* value) { m_clusterSecurityGroupNameHasBeenSet = true; m_clusterSecurityGroupName.assign(value); } /** *The name of the security group to which the ingress rule is added.
*/ inline AuthorizeClusterSecurityGroupIngressRequest& WithClusterSecurityGroupName(const Aws::String& value) { SetClusterSecurityGroupName(value); return *this;} /** *The name of the security group to which the ingress rule is added.
*/ inline AuthorizeClusterSecurityGroupIngressRequest& WithClusterSecurityGroupName(Aws::String&& value) { SetClusterSecurityGroupName(std::move(value)); return *this;} /** *The name of the security group to which the ingress rule is added.
*/ inline AuthorizeClusterSecurityGroupIngressRequest& WithClusterSecurityGroupName(const char* value) { SetClusterSecurityGroupName(value); return *this;} /** *The IP range to be added the Amazon Redshift security group.
*/ inline const Aws::String& GetCIDRIP() const{ return m_cIDRIP; } /** *The IP range to be added the Amazon Redshift security group.
*/ inline bool CIDRIPHasBeenSet() const { return m_cIDRIPHasBeenSet; } /** *The IP range to be added the Amazon Redshift security group.
*/ inline void SetCIDRIP(const Aws::String& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = value; } /** *The IP range to be added the Amazon Redshift security group.
*/ inline void SetCIDRIP(Aws::String&& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = std::move(value); } /** *The IP range to be added the Amazon Redshift security group.
*/ inline void SetCIDRIP(const char* value) { m_cIDRIPHasBeenSet = true; m_cIDRIP.assign(value); } /** *The IP range to be added the Amazon Redshift security group.
*/ inline AuthorizeClusterSecurityGroupIngressRequest& WithCIDRIP(const Aws::String& value) { SetCIDRIP(value); return *this;} /** *The IP range to be added the Amazon Redshift security group.
*/ inline AuthorizeClusterSecurityGroupIngressRequest& WithCIDRIP(Aws::String&& value) { SetCIDRIP(std::move(value)); return *this;} /** *The IP range to be added the Amazon Redshift security group.
*/ inline AuthorizeClusterSecurityGroupIngressRequest& WithCIDRIP(const char* value) { SetCIDRIP(value); return *this;} /** *The EC2 security group to be added the Amazon Redshift security group.
*/ inline const Aws::String& GetEC2SecurityGroupName() const{ return m_eC2SecurityGroupName; } /** *The EC2 security group to be added the Amazon Redshift security group.
*/ inline bool EC2SecurityGroupNameHasBeenSet() const { return m_eC2SecurityGroupNameHasBeenSet; } /** *The EC2 security group to be added the Amazon Redshift security group.
*/ inline void SetEC2SecurityGroupName(const Aws::String& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = value; } /** *The EC2 security group to be added the Amazon Redshift security group.
*/ inline void SetEC2SecurityGroupName(Aws::String&& value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName = std::move(value); } /** *The EC2 security group to be added the Amazon Redshift security group.
*/ inline void SetEC2SecurityGroupName(const char* value) { m_eC2SecurityGroupNameHasBeenSet = true; m_eC2SecurityGroupName.assign(value); } /** *The EC2 security group to be added the Amazon Redshift security group.
*/ inline AuthorizeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupName(const Aws::String& value) { SetEC2SecurityGroupName(value); return *this;} /** *The EC2 security group to be added the Amazon Redshift security group.
*/ inline AuthorizeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupName(Aws::String&& value) { SetEC2SecurityGroupName(std::move(value)); return *this;} /** *The EC2 security group to be added the Amazon Redshift security group.
*/ inline AuthorizeClusterSecurityGroupIngressRequest& WithEC2SecurityGroupName(const char* value) { SetEC2SecurityGroupName(value); return *this;} /** *The Amazon Web Services account number of the owner of the security group * specified by the EC2SecurityGroupName parameter. The Amazon Web Services * Access Key ID is not an acceptable value.
Example:
* 111122223333
The Amazon Web Services account number of the owner of the security group * specified by the EC2SecurityGroupName parameter. The Amazon Web Services * Access Key ID is not an acceptable value.
Example:
* 111122223333
The Amazon Web Services account number of the owner of the security group * specified by the EC2SecurityGroupName parameter. The Amazon Web Services * Access Key ID is not an acceptable value.
Example:
* 111122223333
The Amazon Web Services account number of the owner of the security group * specified by the EC2SecurityGroupName parameter. The Amazon Web Services * Access Key ID is not an acceptable value.
Example:
* 111122223333
The Amazon Web Services account number of the owner of the security group * specified by the EC2SecurityGroupName parameter. The Amazon Web Services * Access Key ID is not an acceptable value.
Example:
* 111122223333
The Amazon Web Services account number of the owner of the security group * specified by the EC2SecurityGroupName parameter. The Amazon Web Services * Access Key ID is not an acceptable value.
Example:
* 111122223333
The Amazon Web Services account number of the owner of the security group * specified by the EC2SecurityGroupName parameter. The Amazon Web Services * Access Key ID is not an acceptable value.
Example:
* 111122223333
The Amazon Web Services account number of the owner of the security group * specified by the EC2SecurityGroupName parameter. The Amazon Web Services * Access Key ID is not an acceptable value.
Example:
* 111122223333