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

Details of the Firewall Manager applications list.

See Also:

* AWS * API Reference

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

The Amazon Resource Name (ARN) of the applications list.

*/ inline const Aws::String& GetListArn() const{ return m_listArn; } /** *

The Amazon Resource Name (ARN) of the applications list.

*/ inline bool ListArnHasBeenSet() const { return m_listArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the applications list.

*/ inline void SetListArn(const Aws::String& value) { m_listArnHasBeenSet = true; m_listArn = value; } /** *

The Amazon Resource Name (ARN) of the applications list.

*/ inline void SetListArn(Aws::String&& value) { m_listArnHasBeenSet = true; m_listArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the applications list.

*/ inline void SetListArn(const char* value) { m_listArnHasBeenSet = true; m_listArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the applications list.

*/ inline AppsListDataSummary& WithListArn(const Aws::String& value) { SetListArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the applications list.

*/ inline AppsListDataSummary& WithListArn(Aws::String&& value) { SetListArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the applications list.

*/ inline AppsListDataSummary& WithListArn(const char* value) { SetListArn(value); return *this;} /** *

The ID of the applications list.

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

The ID of the applications list.

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

The ID of the applications list.

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

The ID of the applications list.

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

The ID of the applications list.

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

The ID of the applications list.

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

The ID of the applications list.

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

The ID of the applications list.

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

The name of the applications list.

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

The name of the applications list.

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

The name of the applications list.

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

The name of the applications list.

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

The name of the applications list.

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

The name of the applications list.

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

The name of the applications list.

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

The name of the applications list.

*/ inline AppsListDataSummary& WithListName(const char* value) { SetListName(value); return *this;} /** *

An array of App objects in the Firewall Manager applications * list.

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

An array of App objects in the Firewall Manager applications * list.

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

An array of App objects in the Firewall Manager applications * list.

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

An array of App objects in the Firewall Manager applications * list.

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

An array of App objects in the Firewall Manager applications * list.

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

An array of App objects in the Firewall Manager applications * list.

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

An array of App objects in the Firewall Manager applications * list.

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

An array of App objects in the Firewall Manager applications * list.

*/ inline AppsListDataSummary& AddAppsList(App&& value) { m_appsListHasBeenSet = true; m_appsList.push_back(std::move(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 m_appsList; bool m_appsListHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws