/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include This data type is used as a response element in the
* DescribeDBSecurityGroups
action.See Also:
AWS API
* Reference
Specifies the status of the IP range. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *Specifies the status of the IP range. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Specifies the status of the IP range. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *Specifies the status of the IP range. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Specifies the status of the IP range. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *Specifies the status of the IP range. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline IPRange& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *Specifies the status of the IP range. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline IPRange& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *Specifies the status of the IP range. Status can be "authorizing", * "authorized", "revoking", and "revoked".
*/ inline IPRange& WithStatus(const char* value) { SetStatus(value); return *this;} /** *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 IPRange& WithCIDRIP(const Aws::String& value) { SetCIDRIP(value); return *this;} /** *Specifies the IP range.
*/ inline IPRange& WithCIDRIP(Aws::String&& value) { SetCIDRIP(std::move(value)); return *this;} /** *Specifies the IP range.
*/ inline IPRange& WithCIDRIP(const char* value) { SetCIDRIP(value); return *this;} private: Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_cIDRIP; bool m_cIDRIPHasBeenSet = false; }; } // namespace Model } // namespace RDS } // namespace Aws