/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FMS { namespace Model { /** *

An Firewall Manager applications list.

See Also:

AWS * API Reference

*/ class AppsListData { public: AWS_FMS_API AppsListData(); AWS_FMS_API AppsListData(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API AppsListData& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The ID of the Firewall Manager applications list.

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

The ID of the Firewall Manager applications list.

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

The ID of the Firewall Manager applications list.

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

The ID of the Firewall Manager applications list.

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

The ID of the Firewall Manager applications list.

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

The ID of the Firewall Manager applications list.

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

The ID of the Firewall Manager applications list.

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

The ID of the Firewall Manager applications list.

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

The name of the Firewall Manager applications list.

*/ inline const Aws::String& GetListName() const{ return m_listName; } /** *

The name of the Firewall Manager applications list.

*/ inline bool ListNameHasBeenSet() const { return m_listNameHasBeenSet; } /** *

The name of the Firewall Manager applications list.

*/ inline void SetListName(const Aws::String& value) { m_listNameHasBeenSet = true; m_listName = value; } /** *

The name of the Firewall Manager applications list.

*/ inline void SetListName(Aws::String&& value) { m_listNameHasBeenSet = true; m_listName = std::move(value); } /** *

The name of the Firewall Manager applications list.

*/ inline void SetListName(const char* value) { m_listNameHasBeenSet = true; m_listName.assign(value); } /** *

The name of the Firewall Manager applications list.

*/ inline AppsListData& WithListName(const Aws::String& value) { SetListName(value); return *this;} /** *

The name of the Firewall Manager applications list.

*/ inline AppsListData& WithListName(Aws::String&& value) { SetListName(std::move(value)); return *this;} /** *

The name of the Firewall Manager applications list.

*/ inline AppsListData& 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 AppsListData& 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 AppsListData& 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 AppsListData& WithListUpdateToken(const char* value) { SetListUpdateToken(value); return *this;} /** *

The time that the Firewall Manager applications list was created.

*/ inline const Aws::Utils::DateTime& GetCreateTime() const{ return m_createTime; } /** *

The time that the Firewall Manager applications list was created.

*/ inline bool CreateTimeHasBeenSet() const { return m_createTimeHasBeenSet; } /** *

The time that the Firewall Manager applications list was created.

*/ inline void SetCreateTime(const Aws::Utils::DateTime& value) { m_createTimeHasBeenSet = true; m_createTime = value; } /** *

The time that the Firewall Manager applications list was created.

*/ inline void SetCreateTime(Aws::Utils::DateTime&& value) { m_createTimeHasBeenSet = true; m_createTime = std::move(value); } /** *

The time that the Firewall Manager applications list was created.

*/ inline AppsListData& WithCreateTime(const Aws::Utils::DateTime& value) { SetCreateTime(value); return *this;} /** *

The time that the Firewall Manager applications list was created.

*/ inline AppsListData& WithCreateTime(Aws::Utils::DateTime&& value) { SetCreateTime(std::move(value)); return *this;} /** *

The time that the Firewall Manager applications list was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

The time that the Firewall Manager applications list was last updated.

*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *

The time that the Firewall Manager applications list was last updated.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *

The time that the Firewall Manager applications 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 applications list was last updated.

*/ inline AppsListData& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

The time that the Firewall Manager applications list was last updated.

*/ inline AppsListData& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} /** *

An array of applications in the Firewall Manager applications list.

*/ inline const Aws::Vector& GetAppsList() const{ return m_appsList; } /** *

An array of applications in the Firewall Manager applications list.

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

An array of applications in the Firewall Manager applications list.

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

An array of applications in the Firewall Manager applications list.

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

An array of applications in the Firewall Manager applications list.

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

An array of applications in the Firewall Manager applications list.

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

An array of applications in the Firewall Manager applications list.

*/ inline AppsListData& AddAppsList(const App& value) { m_appsListHasBeenSet = true; m_appsList.push_back(value); return *this; } /** *

An array of applications in the Firewall Manager applications list.

*/ inline AppsListData& AddAppsList(App&& value) { m_appsListHasBeenSet = true; m_appsList.push_back(std::move(value)); return *this; } /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline const Aws::Map>& GetPreviousAppsList() const{ return m_previousAppsList; } /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline bool PreviousAppsListHasBeenSet() const { return m_previousAppsListHasBeenSet; } /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline void SetPreviousAppsList(const Aws::Map>& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList = value; } /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline void SetPreviousAppsList(Aws::Map>&& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList = std::move(value); } /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline AppsListData& WithPreviousAppsList(const Aws::Map>& value) { SetPreviousAppsList(value); return *this;} /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline AppsListData& WithPreviousAppsList(Aws::Map>&& value) { SetPreviousAppsList(std::move(value)); return *this;} /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline AppsListData& AddPreviousAppsList(const Aws::String& key, const Aws::Vector& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(key, value); return *this; } /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline AppsListData& AddPreviousAppsList(Aws::String&& key, const Aws::Vector& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(std::move(key), value); return *this; } /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline AppsListData& AddPreviousAppsList(const Aws::String& key, Aws::Vector&& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(key, std::move(value)); return *this; } /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline AppsListData& AddPreviousAppsList(Aws::String&& key, Aws::Vector&& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(std::move(key), std::move(value)); return *this; } /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline AppsListData& AddPreviousAppsList(const char* key, Aws::Vector&& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(key, std::move(value)); return *this; } /** *

A map of previous version numbers to their corresponding App * object arrays.

*/ inline AppsListData& AddPreviousAppsList(const char* key, const Aws::Vector& value) { m_previousAppsListHasBeenSet = true; m_previousAppsList.emplace(key, value); return *this; } private: Aws::String m_listId; bool m_listIdHasBeenSet = false; Aws::String m_listName; bool m_listNameHasBeenSet = false; Aws::String m_listUpdateToken; bool m_listUpdateTokenHasBeenSet = false; Aws::Utils::DateTime m_createTime; bool m_createTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; Aws::Vector m_appsList; bool m_appsListHasBeenSet = false; Aws::Map> m_previousAppsList; bool m_previousAppsListHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws