/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace FMS { namespace Model { /** */ class GetProtocolsListRequest : public FMSRequest { public: AWS_FMS_API GetProtocolsListRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "GetProtocolsList"; } AWS_FMS_API Aws::String SerializePayload() const override; AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The ID of the Firewall Manager protocols list that you want the details * for.

*/ inline const Aws::String& GetListId() const{ return m_listId; } /** *

The ID of the Firewall Manager protocols list that you want the details * for.

*/ inline bool ListIdHasBeenSet() const { return m_listIdHasBeenSet; } /** *

The ID of the Firewall Manager protocols list that you want the details * for.

*/ inline void SetListId(const Aws::String& value) { m_listIdHasBeenSet = true; m_listId = value; } /** *

The ID of the Firewall Manager protocols list that you want the details * for.

*/ inline void SetListId(Aws::String&& value) { m_listIdHasBeenSet = true; m_listId = std::move(value); } /** *

The ID of the Firewall Manager protocols list that you want the details * for.

*/ inline void SetListId(const char* value) { m_listIdHasBeenSet = true; m_listId.assign(value); } /** *

The ID of the Firewall Manager protocols list that you want the details * for.

*/ inline GetProtocolsListRequest& WithListId(const Aws::String& value) { SetListId(value); return *this;} /** *

The ID of the Firewall Manager protocols list that you want the details * for.

*/ inline GetProtocolsListRequest& WithListId(Aws::String&& value) { SetListId(std::move(value)); return *this;} /** *

The ID of the Firewall Manager protocols list that you want the details * for.

*/ inline GetProtocolsListRequest& WithListId(const char* value) { SetListId(value); return *this;} /** *

Specifies whether the list to retrieve is a default list owned by Firewall * Manager.

*/ inline bool GetDefaultList() const{ return m_defaultList; } /** *

Specifies whether the list to retrieve is a default list owned by Firewall * Manager.

*/ inline bool DefaultListHasBeenSet() const { return m_defaultListHasBeenSet; } /** *

Specifies whether the list to retrieve is a default list owned by Firewall * Manager.

*/ inline void SetDefaultList(bool value) { m_defaultListHasBeenSet = true; m_defaultList = value; } /** *

Specifies whether the list to retrieve is a default list owned by Firewall * Manager.

*/ inline GetProtocolsListRequest& WithDefaultList(bool value) { SetDefaultList(value); return *this;} private: Aws::String m_listId; bool m_listIdHasBeenSet = false; bool m_defaultList; bool m_defaultListHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws