/** * 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 AppFabric { namespace Model { /** */ class BatchGetUserAccessTasksRequest : public AppFabricRequest { public: AWS_APPFABRIC_API BatchGetUserAccessTasksRequest(); // 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 "BatchGetUserAccessTasks"; } AWS_APPFABRIC_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline const Aws::String& GetAppBundleIdentifier() const{ return m_appBundleIdentifier; } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline bool AppBundleIdentifierHasBeenSet() const { return m_appBundleIdentifierHasBeenSet; } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline void SetAppBundleIdentifier(const Aws::String& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = value; } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline void SetAppBundleIdentifier(Aws::String&& value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier = std::move(value); } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline void SetAppBundleIdentifier(const char* value) { m_appBundleIdentifierHasBeenSet = true; m_appBundleIdentifier.assign(value); } /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline BatchGetUserAccessTasksRequest& WithAppBundleIdentifier(const Aws::String& value) { SetAppBundleIdentifier(value); return *this;} /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline BatchGetUserAccessTasksRequest& WithAppBundleIdentifier(Aws::String&& value) { SetAppBundleIdentifier(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) or Universal Unique Identifier (UUID) of the * app bundle to use for the request.

*/ inline BatchGetUserAccessTasksRequest& WithAppBundleIdentifier(const char* value) { SetAppBundleIdentifier(value); return *this;} /** *

The tasks IDs to use for the request.

*/ inline const Aws::Vector& GetTaskIdList() const{ return m_taskIdList; } /** *

The tasks IDs to use for the request.

*/ inline bool TaskIdListHasBeenSet() const { return m_taskIdListHasBeenSet; } /** *

The tasks IDs to use for the request.

*/ inline void SetTaskIdList(const Aws::Vector& value) { m_taskIdListHasBeenSet = true; m_taskIdList = value; } /** *

The tasks IDs to use for the request.

*/ inline void SetTaskIdList(Aws::Vector&& value) { m_taskIdListHasBeenSet = true; m_taskIdList = std::move(value); } /** *

The tasks IDs to use for the request.

*/ inline BatchGetUserAccessTasksRequest& WithTaskIdList(const Aws::Vector& value) { SetTaskIdList(value); return *this;} /** *

The tasks IDs to use for the request.

*/ inline BatchGetUserAccessTasksRequest& WithTaskIdList(Aws::Vector&& value) { SetTaskIdList(std::move(value)); return *this;} /** *

The tasks IDs to use for the request.

*/ inline BatchGetUserAccessTasksRequest& AddTaskIdList(const Aws::String& value) { m_taskIdListHasBeenSet = true; m_taskIdList.push_back(value); return *this; } /** *

The tasks IDs to use for the request.

*/ inline BatchGetUserAccessTasksRequest& AddTaskIdList(Aws::String&& value) { m_taskIdListHasBeenSet = true; m_taskIdList.push_back(std::move(value)); return *this; } /** *

The tasks IDs to use for the request.

*/ inline BatchGetUserAccessTasksRequest& AddTaskIdList(const char* value) { m_taskIdListHasBeenSet = true; m_taskIdList.push_back(value); return *this; } private: Aws::String m_appBundleIdentifier; bool m_appBundleIdentifierHasBeenSet = false; Aws::Vector m_taskIdList; bool m_taskIdListHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws