/** * 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 AppFabric { namespace Model { /** */ class StartUserAccessTasksRequest : public AppFabricRequest { public: AWS_APPFABRIC_API StartUserAccessTasksRequest(); // 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 "StartUserAccessTasks"; } 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 StartUserAccessTasksRequest& 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 StartUserAccessTasksRequest& 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 StartUserAccessTasksRequest& WithAppBundleIdentifier(const char* value) { SetAppBundleIdentifier(value); return *this;} /** *

The email address of the target user.

*/ inline const Aws::String& GetEmail() const{ return m_email; } /** *

The email address of the target user.

*/ inline bool EmailHasBeenSet() const { return m_emailHasBeenSet; } /** *

The email address of the target user.

*/ inline void SetEmail(const Aws::String& value) { m_emailHasBeenSet = true; m_email = value; } /** *

The email address of the target user.

*/ inline void SetEmail(Aws::String&& value) { m_emailHasBeenSet = true; m_email = std::move(value); } /** *

The email address of the target user.

*/ inline void SetEmail(const char* value) { m_emailHasBeenSet = true; m_email.assign(value); } /** *

The email address of the target user.

*/ inline StartUserAccessTasksRequest& WithEmail(const Aws::String& value) { SetEmail(value); return *this;} /** *

The email address of the target user.

*/ inline StartUserAccessTasksRequest& WithEmail(Aws::String&& value) { SetEmail(std::move(value)); return *this;} /** *

The email address of the target user.

*/ inline StartUserAccessTasksRequest& WithEmail(const char* value) { SetEmail(value); return *this;} private: Aws::String m_appBundleIdentifier; bool m_appBundleIdentifierHasBeenSet = false; Aws::String m_email; bool m_emailHasBeenSet = false; }; } // namespace Model } // namespace AppFabric } // namespace Aws