/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details of the Firewall Manager protocols list.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the specified protocols list.
*/ inline const Aws::String& GetListArn() const{ return m_listArn; } /** *The Amazon Resource Name (ARN) of the specified protocols list.
*/ inline bool ListArnHasBeenSet() const { return m_listArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the specified protocols list.
*/ inline void SetListArn(const Aws::String& value) { m_listArnHasBeenSet = true; m_listArn = value; } /** *The Amazon Resource Name (ARN) of the specified protocols list.
*/ inline void SetListArn(Aws::String&& value) { m_listArnHasBeenSet = true; m_listArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the specified protocols list.
*/ inline void SetListArn(const char* value) { m_listArnHasBeenSet = true; m_listArn.assign(value); } /** *The Amazon Resource Name (ARN) of the specified protocols list.
*/ inline ProtocolsListDataSummary& WithListArn(const Aws::String& value) { SetListArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the specified protocols list.
*/ inline ProtocolsListDataSummary& WithListArn(Aws::String&& value) { SetListArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the specified protocols list.
*/ inline ProtocolsListDataSummary& WithListArn(const char* value) { SetListArn(value); return *this;} /** *The ID of the specified protocols list.
*/ inline const Aws::String& GetListId() const{ return m_listId; } /** *The ID of the specified protocols list.
*/ inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; } /** *The ID of the specified protocols list.
*/ inline void SetListId(const Aws::String& value) { m_listIdHasBeenSet = true; m_listId = value; } /** *The ID of the specified protocols list.
*/ inline void SetListId(Aws::String&& value) { m_listIdHasBeenSet = true; m_listId = std::move(value); } /** *The ID of the specified protocols list.
*/ inline void SetListId(const char* value) { m_listIdHasBeenSet = true; m_listId.assign(value); } /** *The ID of the specified protocols list.
*/ inline ProtocolsListDataSummary& WithListId(const Aws::String& value) { SetListId(value); return *this;} /** *The ID of the specified protocols list.
*/ inline ProtocolsListDataSummary& WithListId(Aws::String&& value) { SetListId(std::move(value)); return *this;} /** *The ID of the specified protocols list.
*/ inline ProtocolsListDataSummary& WithListId(const char* value) { SetListId(value); return *this;} /** *The name of the specified protocols list.
*/ inline const Aws::String& GetListName() const{ return m_listName; } /** *The name of the specified protocols list.
*/ inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; } /** *The name of the specified protocols list.
*/ inline void SetListName(const Aws::String& value) { m_listNameHasBeenSet = true; m_listName = value; } /** *The name of the specified protocols list.
*/ inline void SetListName(Aws::String&& value) { m_listNameHasBeenSet = true; m_listName = std::move(value); } /** *The name of the specified protocols list.
*/ inline void SetListName(const char* value) { m_listNameHasBeenSet = true; m_listName.assign(value); } /** *The name of the specified protocols list.
*/ inline ProtocolsListDataSummary& WithListName(const Aws::String& value) { SetListName(value); return *this;} /** *The name of the specified protocols list.
*/ inline ProtocolsListDataSummary& WithListName(Aws::String&& value) { SetListName(std::move(value)); return *this;} /** *The name of the specified protocols list.
*/ inline ProtocolsListDataSummary& WithListName(const char* value) { SetListName(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 ProtocolsListDataSummary& WithProtocolsList(const Aws::VectorAn array of protocols in the Firewall Manager protocols list.
*/ inline ProtocolsListDataSummary& WithProtocolsList(Aws::VectorAn array of protocols in the Firewall Manager protocols list.
*/ inline ProtocolsListDataSummary& 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 ProtocolsListDataSummary& 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 ProtocolsListDataSummary& AddProtocolsList(const char* value) { m_protocolsListHasBeenSet = true; m_protocolsList.push_back(value); return *this; } private: Aws::String m_listArn; bool m_listArnHasBeenSet = false; Aws::String m_listId; bool m_listIdHasBeenSet = false; Aws::String m_listName; bool m_listNameHasBeenSet = false; Aws::Vector