/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An Firewall Manager protocols list.See Also:
AWS
* API Reference
The ID of the Firewall Manager protocols list.
*/ inline const Aws::String& GetListId() const{ return m_listId; } /** *The ID of the Firewall Manager protocols list.
*/ inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; } /** *The ID of the Firewall Manager protocols list.
*/ inline void SetListId(const Aws::String& value) { m_listIdHasBeenSet = true; m_listId = value; } /** *The ID of the Firewall Manager protocols list.
*/ inline void SetListId(Aws::String&& value) { m_listIdHasBeenSet = true; m_listId = std::move(value); } /** *The ID of the Firewall Manager protocols list.
*/ inline void SetListId(const char* value) { m_listIdHasBeenSet = true; m_listId.assign(value); } /** *The ID of the Firewall Manager protocols list.
*/ inline ProtocolsListData& WithListId(const Aws::String& value) { SetListId(value); return *this;} /** *The ID of the Firewall Manager protocols list.
*/ inline ProtocolsListData& WithListId(Aws::String&& value) { SetListId(std::move(value)); return *this;} /** *The ID of the Firewall Manager protocols list.
*/ inline ProtocolsListData& WithListId(const char* value) { SetListId(value); return *this;} /** *The name of the Firewall Manager protocols list.
*/ inline const Aws::String& GetListName() const{ return m_listName; } /** *The name of the Firewall Manager protocols list.
*/ inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; } /** *The name of the Firewall Manager protocols list.
*/ inline void SetListName(const Aws::String& value) { m_listNameHasBeenSet = true; m_listName = value; } /** *The name of the Firewall Manager protocols list.
*/ inline void SetListName(Aws::String&& value) { m_listNameHasBeenSet = true; m_listName = std::move(value); } /** *The name of the Firewall Manager protocols list.
*/ inline void SetListName(const char* value) { m_listNameHasBeenSet = true; m_listName.assign(value); } /** *The name of the Firewall Manager protocols list.
*/ inline ProtocolsListData& WithListName(const Aws::String& value) { SetListName(value); return *this;} /** *The name of the Firewall Manager protocols list.
*/ inline ProtocolsListData& WithListName(Aws::String&& value) { SetListName(std::move(value)); return *this;} /** *The name of the Firewall Manager protocols list.
*/ inline ProtocolsListData& WithListName(const char* value) { SetListName(value); return *this;} /** *A unique identifier for each update to the list. When you update the list, * the update token must match the token of the current version of the application * list. You can retrieve the update token by getting the list.
*/ inline const Aws::String& GetListUpdateToken() const{ return m_listUpdateToken; } /** *A unique identifier for each update to the list. When you update the list, * the update token must match the token of the current version of the application * list. You can retrieve the update token by getting the list.
*/ inline bool ListUpdateTokenHasBeenSet() const { return m_listUpdateTokenHasBeenSet; } /** *A unique identifier for each update to the list. When you update the list, * the update token must match the token of the current version of the application * list. You can retrieve the update token by getting the list.
*/ inline void SetListUpdateToken(const Aws::String& value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken = value; } /** *A unique identifier for each update to the list. When you update the list, * the update token must match the token of the current version of the application * list. You can retrieve the update token by getting the list.
*/ inline void SetListUpdateToken(Aws::String&& value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken = std::move(value); } /** *A unique identifier for each update to the list. When you update the list, * the update token must match the token of the current version of the application * list. You can retrieve the update token by getting the list.
*/ inline void SetListUpdateToken(const char* value) { m_listUpdateTokenHasBeenSet = true; m_listUpdateToken.assign(value); } /** *A unique identifier for each update to the list. When you update the list, * the update token must match the token of the current version of the application * list. You can retrieve the update token by getting the list.
*/ inline ProtocolsListData& WithListUpdateToken(const Aws::String& value) { SetListUpdateToken(value); return *this;} /** *A unique identifier for each update to the list. When you update the list, * the update token must match the token of the current version of the application * list. You can retrieve the update token by getting the list.
*/ inline ProtocolsListData& WithListUpdateToken(Aws::String&& value) { SetListUpdateToken(std::move(value)); return *this;} /** *A unique identifier for each update to the list. When you update the list, * the update token must match the token of the current version of the application * list. You can retrieve the update token by getting the list.
*/ inline ProtocolsListData& WithListUpdateToken(const char* value) { SetListUpdateToken(value); return *this;} /** *The time that the Firewall Manager protocols list was created.
*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *The time that the Firewall Manager protocols list was created.
*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *The time that the Firewall Manager protocols list was created.
*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *The time that the Firewall Manager protocols list was created.
*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *The time that the Firewall Manager protocols list was created.
*/ inline ProtocolsListData& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *The time that the Firewall Manager protocols list was created.
*/ inline ProtocolsListData& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *The time that the Firewall Manager protocols list was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *The time that the Firewall Manager protocols list was last updated.
*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *The time that the Firewall Manager protocols list was last updated.
*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *The time that the Firewall Manager protocols list was last updated.
*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *The time that the Firewall Manager protocols list was last updated.
*/ inline ProtocolsListData& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *The time that the Firewall Manager protocols list was last updated.
*/ inline ProtocolsListData& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *An array of protocols in the Firewall Manager protocols list.
*/ inline const Aws::VectorAn array of protocols in the Firewall Manager protocols list.
*/ inline bool ProtocolsListHasBeenSet() const { return m_protocolsListHasBeenSet; } /** *An array of protocols in the Firewall Manager protocols list.
*/ inline void SetProtocolsList(const Aws::VectorAn array of protocols in the Firewall Manager protocols list.
*/ inline void SetProtocolsList(Aws::VectorAn array of protocols in the Firewall Manager protocols list.
*/ inline ProtocolsListData& WithProtocolsList(const Aws::VectorAn array of protocols in the Firewall Manager protocols list.
*/ inline ProtocolsListData& WithProtocolsList(Aws::VectorAn array of protocols in the Firewall Manager protocols list.
*/ inline ProtocolsListData& AddProtocolsList(const Aws::String& value) { m_protocolsListHasBeenSet = true; m_protocolsList.push_back(value); return *this; } /** *An array of protocols in the Firewall Manager protocols list.
*/ inline ProtocolsListData& AddProtocolsList(Aws::String&& value) { m_protocolsListHasBeenSet = true; m_protocolsList.push_back(std::move(value)); return *this; } /** *An array of protocols in the Firewall Manager protocols list.
*/ inline ProtocolsListData& AddProtocolsList(const char* value) { m_protocolsListHasBeenSet = true; m_protocolsList.push_back(value); return *this; } /** *A map of previous version numbers to their corresponding protocol arrays.
*/ inline const Aws::MapA map of previous version numbers to their corresponding protocol arrays.
*/ inline bool PreviousProtocolsListHasBeenSet() const { return m_previousProtocolsListHasBeenSet; } /** *A map of previous version numbers to their corresponding protocol arrays.
*/ inline void SetPreviousProtocolsList(const Aws::MapA map of previous version numbers to their corresponding protocol arrays.
*/ inline void SetPreviousProtocolsList(Aws::MapA map of previous version numbers to their corresponding protocol arrays.
*/ inline ProtocolsListData& WithPreviousProtocolsList(const Aws::MapA map of previous version numbers to their corresponding protocol arrays.
*/ inline ProtocolsListData& WithPreviousProtocolsList(Aws::MapA map of previous version numbers to their corresponding protocol arrays.
*/ inline ProtocolsListData& AddPreviousProtocolsList(const Aws::String& key, const Aws::VectorA map of previous version numbers to their corresponding protocol arrays.
*/ inline ProtocolsListData& AddPreviousProtocolsList(Aws::String&& key, const Aws::VectorA map of previous version numbers to their corresponding protocol arrays.
*/ inline ProtocolsListData& AddPreviousProtocolsList(const Aws::String& key, Aws::VectorA map of previous version numbers to their corresponding protocol arrays.
*/ inline ProtocolsListData& AddPreviousProtocolsList(Aws::String&& key, Aws::VectorA map of previous version numbers to their corresponding protocol arrays.
*/ inline ProtocolsListData& AddPreviousProtocolsList(const char* key, Aws::VectorA map of previous version numbers to their corresponding protocol arrays.
*/ inline ProtocolsListData& AddPreviousProtocolsList(const char* key, const Aws::Vector