/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A list of port ranges that are permitted to allow inbound traffic from all
* public IP addresses. To specify a single port, use the same value for
* MinRange
and MaxRange
.See Also:
AWS
* API Reference
The smallest port number in a specified range of port numbers.
*/ inline int GetMinRange() const{ return m_minRange; } /** *The smallest port number in a specified range of port numbers.
*/ inline bool MinRangeHasBeenSet() const { return m_minRangeHasBeenSet; } /** *The smallest port number in a specified range of port numbers.
*/ inline void SetMinRange(int value) { m_minRangeHasBeenSet = true; m_minRange = value; } /** *The smallest port number in a specified range of port numbers.
*/ inline PortRange& WithMinRange(int value) { SetMinRange(value); return *this;} /** *The smallest port number in a specified range of port numbers.
*/ inline int GetMaxRange() const{ return m_maxRange; } /** *The smallest port number in a specified range of port numbers.
*/ inline bool MaxRangeHasBeenSet() const { return m_maxRangeHasBeenSet; } /** *The smallest port number in a specified range of port numbers.
*/ inline void SetMaxRange(int value) { m_maxRangeHasBeenSet = true; m_maxRange = value; } /** *The smallest port number in a specified range of port numbers.
*/ inline PortRange& WithMaxRange(int value) { SetMaxRange(value); return *this;} private: int m_minRange; bool m_minRangeHasBeenSet = false; int m_maxRange; bool m_maxRangeHasBeenSet = false; }; } // namespace Model } // namespace EMR } // namespace Aws