/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a set of permissions for a security group rule.See
* Also:
AWS
* API Reference
The IPv4 ranges for the security group rule.
*/ inline const Aws::String& GetIPV4Range() const{ return m_iPV4Range; } /** *The IPv4 ranges for the security group rule.
*/ inline bool IPV4RangeHasBeenSet() const { return m_iPV4RangeHasBeenSet; } /** *The IPv4 ranges for the security group rule.
*/ inline void SetIPV4Range(const Aws::String& value) { m_iPV4RangeHasBeenSet = true; m_iPV4Range = value; } /** *The IPv4 ranges for the security group rule.
*/ inline void SetIPV4Range(Aws::String&& value) { m_iPV4RangeHasBeenSet = true; m_iPV4Range = std::move(value); } /** *The IPv4 ranges for the security group rule.
*/ inline void SetIPV4Range(const char* value) { m_iPV4RangeHasBeenSet = true; m_iPV4Range.assign(value); } /** *The IPv4 ranges for the security group rule.
*/ inline SecurityGroupRuleDescription& WithIPV4Range(const Aws::String& value) { SetIPV4Range(value); return *this;} /** *The IPv4 ranges for the security group rule.
*/ inline SecurityGroupRuleDescription& WithIPV4Range(Aws::String&& value) { SetIPV4Range(std::move(value)); return *this;} /** *The IPv4 ranges for the security group rule.
*/ inline SecurityGroupRuleDescription& WithIPV4Range(const char* value) { SetIPV4Range(value); return *this;} /** *The IPv6 ranges for the security group rule.
*/ inline const Aws::String& GetIPV6Range() const{ return m_iPV6Range; } /** *The IPv6 ranges for the security group rule.
*/ inline bool IPV6RangeHasBeenSet() const { return m_iPV6RangeHasBeenSet; } /** *The IPv6 ranges for the security group rule.
*/ inline void SetIPV6Range(const Aws::String& value) { m_iPV6RangeHasBeenSet = true; m_iPV6Range = value; } /** *The IPv6 ranges for the security group rule.
*/ inline void SetIPV6Range(Aws::String&& value) { m_iPV6RangeHasBeenSet = true; m_iPV6Range = std::move(value); } /** *The IPv6 ranges for the security group rule.
*/ inline void SetIPV6Range(const char* value) { m_iPV6RangeHasBeenSet = true; m_iPV6Range.assign(value); } /** *The IPv6 ranges for the security group rule.
*/ inline SecurityGroupRuleDescription& WithIPV6Range(const Aws::String& value) { SetIPV6Range(value); return *this;} /** *The IPv6 ranges for the security group rule.
*/ inline SecurityGroupRuleDescription& WithIPV6Range(Aws::String&& value) { SetIPV6Range(std::move(value)); return *this;} /** *The IPv6 ranges for the security group rule.
*/ inline SecurityGroupRuleDescription& WithIPV6Range(const char* value) { SetIPV6Range(value); return *this;} /** *The ID of the prefix list for the security group rule.
*/ inline const Aws::String& GetPrefixListId() const{ return m_prefixListId; } /** *The ID of the prefix list for the security group rule.
*/ inline bool PrefixListIdHasBeenSet() const { return m_prefixListIdHasBeenSet; } /** *The ID of the prefix list for the security group rule.
*/ inline void SetPrefixListId(const Aws::String& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = value; } /** *The ID of the prefix list for the security group rule.
*/ inline void SetPrefixListId(Aws::String&& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = std::move(value); } /** *The ID of the prefix list for the security group rule.
*/ inline void SetPrefixListId(const char* value) { m_prefixListIdHasBeenSet = true; m_prefixListId.assign(value); } /** *The ID of the prefix list for the security group rule.
*/ inline SecurityGroupRuleDescription& WithPrefixListId(const Aws::String& value) { SetPrefixListId(value); return *this;} /** *The ID of the prefix list for the security group rule.
*/ inline SecurityGroupRuleDescription& WithPrefixListId(Aws::String&& value) { SetPrefixListId(std::move(value)); return *this;} /** *The ID of the prefix list for the security group rule.
*/ inline SecurityGroupRuleDescription& WithPrefixListId(const char* value) { SetPrefixListId(value); return *this;} /** *The IP protocol name (tcp
, udp
, icmp
,
* icmpv6
) or number.
The IP protocol name (tcp
, udp
, icmp
,
* icmpv6
) or number.
The IP protocol name (tcp
, udp
, icmp
,
* icmpv6
) or number.
The IP protocol name (tcp
, udp
, icmp
,
* icmpv6
) or number.
The IP protocol name (tcp
, udp
, icmp
,
* icmpv6
) or number.
The IP protocol name (tcp
, udp
, icmp
,
* icmpv6
) or number.
The IP protocol name (tcp
, udp
, icmp
,
* icmpv6
) or number.
The IP protocol name (tcp
, udp
, icmp
,
* icmpv6
) or number.
The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6
* type number. A value of -1
indicates all ICMP/ICMPv6 types.
The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6
* type number. A value of -1
indicates all ICMP/ICMPv6 types.
The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6
* type number. A value of -1
indicates all ICMP/ICMPv6 types.
The start of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6
* type number. A value of -1
indicates all ICMP/ICMPv6 types.
The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6
* code. A value of -1
indicates all ICMP/ICMPv6 codes.
The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6
* code. A value of -1
indicates all ICMP/ICMPv6 codes.
The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6
* code. A value of -1
indicates all ICMP/ICMPv6 codes.
The end of the port range for the TCP and UDP protocols, or an ICMP/ICMPv6
* code. A value of -1
indicates all ICMP/ICMPv6 codes.