/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes prefixes for Amazon Web Services services.See Also:
* AWS
* API Reference
The IP address range of the Amazon Web Service.
*/ inline const Aws::VectorThe IP address range of the Amazon Web Service.
*/ inline bool CidrsHasBeenSet() const { return m_cidrsHasBeenSet; } /** *The IP address range of the Amazon Web Service.
*/ inline void SetCidrs(const Aws::VectorThe IP address range of the Amazon Web Service.
*/ inline void SetCidrs(Aws::VectorThe IP address range of the Amazon Web Service.
*/ inline PrefixList& WithCidrs(const Aws::VectorThe IP address range of the Amazon Web Service.
*/ inline PrefixList& WithCidrs(Aws::VectorThe IP address range of the Amazon Web Service.
*/ inline PrefixList& AddCidrs(const Aws::String& value) { m_cidrsHasBeenSet = true; m_cidrs.push_back(value); return *this; } /** *The IP address range of the Amazon Web Service.
*/ inline PrefixList& AddCidrs(Aws::String&& value) { m_cidrsHasBeenSet = true; m_cidrs.push_back(std::move(value)); return *this; } /** *The IP address range of the Amazon Web Service.
*/ inline PrefixList& AddCidrs(const char* value) { m_cidrsHasBeenSet = true; m_cidrs.push_back(value); return *this; } /** *The ID of the prefix.
*/ inline const Aws::String& GetPrefixListId() const{ return m_prefixListId; } /** *The ID of the prefix.
*/ inline bool PrefixListIdHasBeenSet() const { return m_prefixListIdHasBeenSet; } /** *The ID of the prefix.
*/ inline void SetPrefixListId(const Aws::String& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = value; } /** *The ID of the prefix.
*/ inline void SetPrefixListId(Aws::String&& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = std::move(value); } /** *The ID of the prefix.
*/ inline void SetPrefixListId(const char* value) { m_prefixListIdHasBeenSet = true; m_prefixListId.assign(value); } /** *The ID of the prefix.
*/ inline PrefixList& WithPrefixListId(const Aws::String& value) { SetPrefixListId(value); return *this;} /** *The ID of the prefix.
*/ inline PrefixList& WithPrefixListId(Aws::String&& value) { SetPrefixListId(std::move(value)); return *this;} /** *The ID of the prefix.
*/ inline PrefixList& WithPrefixListId(const char* value) { SetPrefixListId(value); return *this;} /** *The name of the prefix.
*/ inline const Aws::String& GetPrefixListName() const{ return m_prefixListName; } /** *The name of the prefix.
*/ inline bool PrefixListNameHasBeenSet() const { return m_prefixListNameHasBeenSet; } /** *The name of the prefix.
*/ inline void SetPrefixListName(const Aws::String& value) { m_prefixListNameHasBeenSet = true; m_prefixListName = value; } /** *The name of the prefix.
*/ inline void SetPrefixListName(Aws::String&& value) { m_prefixListNameHasBeenSet = true; m_prefixListName = std::move(value); } /** *The name of the prefix.
*/ inline void SetPrefixListName(const char* value) { m_prefixListNameHasBeenSet = true; m_prefixListName.assign(value); } /** *The name of the prefix.
*/ inline PrefixList& WithPrefixListName(const Aws::String& value) { SetPrefixListName(value); return *this;} /** *The name of the prefix.
*/ inline PrefixList& WithPrefixListName(Aws::String&& value) { SetPrefixListName(std::move(value)); return *this;} /** *The name of the prefix.
*/ inline PrefixList& WithPrefixListName(const char* value) { SetPrefixListName(value); return *this;} private: Aws::Vector