/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The IP rules of the IP access settings.See Also:
AWS
* API Reference
The description of the IP rule.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the IP rule.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the IP rule.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the IP rule.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the IP rule.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the IP rule.
*/ inline IpRule& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the IP rule.
*/ inline IpRule& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the IP rule.
*/ inline IpRule& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The IP range of the IP rule.
*/ inline const Aws::String& GetIpRange() const{ return m_ipRange; } /** *The IP range of the IP rule.
*/ inline bool IpRangeHasBeenSet() const { return m_ipRangeHasBeenSet; } /** *The IP range of the IP rule.
*/ inline void SetIpRange(const Aws::String& value) { m_ipRangeHasBeenSet = true; m_ipRange = value; } /** *The IP range of the IP rule.
*/ inline void SetIpRange(Aws::String&& value) { m_ipRangeHasBeenSet = true; m_ipRange = std::move(value); } /** *The IP range of the IP rule.
*/ inline void SetIpRange(const char* value) { m_ipRangeHasBeenSet = true; m_ipRange.assign(value); } /** *The IP range of the IP rule.
*/ inline IpRule& WithIpRange(const Aws::String& value) { SetIpRange(value); return *this;} /** *The IP range of the IP rule.
*/ inline IpRule& WithIpRange(Aws::String&& value) { SetIpRange(std::move(value)); return *this;} /** *The IP range of the IP rule.
*/ inline IpRule& WithIpRange(const char* value) { SetIpRange(value); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_ipRange; bool m_ipRangeHasBeenSet = false; }; } // namespace Model } // namespace WorkSpacesWeb } // namespace Aws