/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include IP range information for an RDS DB security group.See Also:
* AWS
* API Reference
Specifies the IP range.
*/ inline const Aws::String& GetCidrIp() const{ return m_cidrIp; } /** *Specifies the IP range.
*/ inline bool CidrIpHasBeenSet() const { return m_cidrIpHasBeenSet; } /** *Specifies the IP range.
*/ inline void SetCidrIp(const Aws::String& value) { m_cidrIpHasBeenSet = true; m_cidrIp = value; } /** *Specifies the IP range.
*/ inline void SetCidrIp(Aws::String&& value) { m_cidrIpHasBeenSet = true; m_cidrIp = std::move(value); } /** *Specifies the IP range.
*/ inline void SetCidrIp(const char* value) { m_cidrIpHasBeenSet = true; m_cidrIp.assign(value); } /** *Specifies the IP range.
*/ inline AwsRdsDbSecurityGroupIpRange& WithCidrIp(const Aws::String& value) { SetCidrIp(value); return *this;} /** *Specifies the IP range.
*/ inline AwsRdsDbSecurityGroupIpRange& WithCidrIp(Aws::String&& value) { SetCidrIp(std::move(value)); return *this;} /** *Specifies the IP range.
*/ inline AwsRdsDbSecurityGroupIpRange& WithCidrIp(const char* value) { SetCidrIp(value); return *this;} /** *Specifies the status of the IP range.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *Specifies the status of the IP range.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Specifies the status of the IP range.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *Specifies the status of the IP range.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Specifies the status of the IP range.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *Specifies the status of the IP range.
*/ inline AwsRdsDbSecurityGroupIpRange& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *Specifies the status of the IP range.
*/ inline AwsRdsDbSecurityGroupIpRange& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *Specifies the status of the IP range.
*/ inline AwsRdsDbSecurityGroupIpRange& WithStatus(const char* value) { SetStatus(value); return *this;} private: Aws::String m_cidrIp; bool m_cidrIpHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws