/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes an IP range used in a security group.See Also:
AWS
* API Reference
The status of the IP range, for example, "authorized".
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the IP range, for example, "authorized".
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the IP range, for example, "authorized".
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the IP range, for example, "authorized".
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the IP range, for example, "authorized".
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the IP range, for example, "authorized".
*/ inline IPRange& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the IP range, for example, "authorized".
*/ inline IPRange& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the IP range, for example, "authorized".
*/ inline IPRange& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The IP range in Classless Inter-Domain Routing (CIDR) notation.
*/ inline const Aws::String& GetCIDRIP() const{ return m_cIDRIP; } /** *The IP range in Classless Inter-Domain Routing (CIDR) notation.
*/ inline bool CIDRIPHasBeenSet() const { return m_cIDRIPHasBeenSet; } /** *The IP range in Classless Inter-Domain Routing (CIDR) notation.
*/ inline void SetCIDRIP(const Aws::String& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = value; } /** *The IP range in Classless Inter-Domain Routing (CIDR) notation.
*/ inline void SetCIDRIP(Aws::String&& value) { m_cIDRIPHasBeenSet = true; m_cIDRIP = std::move(value); } /** *The IP range in Classless Inter-Domain Routing (CIDR) notation.
*/ inline void SetCIDRIP(const char* value) { m_cIDRIPHasBeenSet = true; m_cIDRIP.assign(value); } /** *The IP range in Classless Inter-Domain Routing (CIDR) notation.
*/ inline IPRange& WithCIDRIP(const Aws::String& value) { SetCIDRIP(value); return *this;} /** *The IP range in Classless Inter-Domain Routing (CIDR) notation.
*/ inline IPRange& WithCIDRIP(Aws::String&& value) { SetCIDRIP(std::move(value)); return *this;} /** *The IP range in Classless Inter-Domain Routing (CIDR) notation.
*/ inline IPRange& WithCIDRIP(const char* value) { SetCIDRIP(value); return *this;} /** *The list of tags for the IP range.
*/ inline const Aws::VectorThe list of tags for the IP range.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The list of tags for the IP range.
*/ inline void SetTags(const Aws::VectorThe list of tags for the IP range.
*/ inline void SetTags(Aws::VectorThe list of tags for the IP range.
*/ inline IPRange& WithTags(const Aws::VectorThe list of tags for the IP range.
*/ inline IPRange& WithTags(Aws::VectorThe list of tags for the IP range.
*/ inline IPRange& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The list of tags for the IP range.
*/ inline IPRange& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_cIDRIP; bool m_cIDRIPHasBeenSet = false; Aws::Vector