/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace FMS { namespace Model { /** */ class PutAppsListRequest : public FMSRequest { public: AWS_FMS_API PutAppsListRequest(); // 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 "PutAppsList"; } AWS_FMS_API Aws::String SerializePayload() const override; AWS_FMS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The details of the Firewall Manager applications list to be created.

*/ inline const AppsListData& GetAppsList() const{ return m_appsList; } /** *

The details of the Firewall Manager applications list to be created.

*/ inline bool AppsListHasBeenSet() const { return m_appsListHasBeenSet; } /** *

The details of the Firewall Manager applications list to be created.

*/ inline void SetAppsList(const AppsListData& value) { m_appsListHasBeenSet = true; m_appsList = value; } /** *

The details of the Firewall Manager applications list to be created.

*/ inline void SetAppsList(AppsListData&& value) { m_appsListHasBeenSet = true; m_appsList = std::move(value); } /** *

The details of the Firewall Manager applications list to be created.

*/ inline PutAppsListRequest& WithAppsList(const AppsListData& value) { SetAppsList(value); return *this;} /** *

The details of the Firewall Manager applications list to be created.

*/ inline PutAppsListRequest& WithAppsList(AppsListData&& value) { SetAppsList(std::move(value)); return *this;} /** *

The tags associated with the resource.

*/ inline const Aws::Vector& GetTagList() const{ return m_tagList; } /** *

The tags associated with the resource.

*/ inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; } /** *

The tags associated with the resource.

*/ inline void SetTagList(const Aws::Vector& value) { m_tagListHasBeenSet = true; m_tagList = value; } /** *

The tags associated with the resource.

*/ inline void SetTagList(Aws::Vector&& value) { m_tagListHasBeenSet = true; m_tagList = std::move(value); } /** *

The tags associated with the resource.

*/ inline PutAppsListRequest& WithTagList(const Aws::Vector& value) { SetTagList(value); return *this;} /** *

The tags associated with the resource.

*/ inline PutAppsListRequest& WithTagList(Aws::Vector&& value) { SetTagList(std::move(value)); return *this;} /** *

The tags associated with the resource.

*/ inline PutAppsListRequest& AddTagList(const Tag& value) { m_tagListHasBeenSet = true; m_tagList.push_back(value); return *this; } /** *

The tags associated with the resource.

*/ inline PutAppsListRequest& AddTagList(Tag&& value) { m_tagListHasBeenSet = true; m_tagList.push_back(std::move(value)); return *this; } private: AppsListData m_appsList; bool m_appsListHasBeenSet = false; Aws::Vector m_tagList; bool m_tagListHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws