/** * 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 Http { class URI; } //namespace Http namespace Mobile { namespace Model { /** *

Request structure used to request generation of custom SDK and tool packages * required to integrate mobile web or app clients with backed AWS resources. *

See Also:

AWS * API Reference

*/ class ExportBundleRequest : public MobileRequest { public: AWS_MOBILE_API ExportBundleRequest(); // 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 "ExportBundle"; } AWS_MOBILE_API Aws::String SerializePayload() const override; AWS_MOBILE_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

Unique bundle identifier.

*/ inline const Aws::String& GetBundleId() const{ return m_bundleId; } /** *

Unique bundle identifier.

*/ inline bool BundleIdHasBeenSet() const { return m_bundleIdHasBeenSet; } /** *

Unique bundle identifier.

*/ inline void SetBundleId(const Aws::String& value) { m_bundleIdHasBeenSet = true; m_bundleId = value; } /** *

Unique bundle identifier.

*/ inline void SetBundleId(Aws::String&& value) { m_bundleIdHasBeenSet = true; m_bundleId = std::move(value); } /** *

Unique bundle identifier.

*/ inline void SetBundleId(const char* value) { m_bundleIdHasBeenSet = true; m_bundleId.assign(value); } /** *

Unique bundle identifier.

*/ inline ExportBundleRequest& WithBundleId(const Aws::String& value) { SetBundleId(value); return *this;} /** *

Unique bundle identifier.

*/ inline ExportBundleRequest& WithBundleId(Aws::String&& value) { SetBundleId(std::move(value)); return *this;} /** *

Unique bundle identifier.

*/ inline ExportBundleRequest& WithBundleId(const char* value) { SetBundleId(value); return *this;} /** *

Unique project identifier.

*/ inline const Aws::String& GetProjectId() const{ return m_projectId; } /** *

Unique project identifier.

*/ inline bool ProjectIdHasBeenSet() const { return m_projectIdHasBeenSet; } /** *

Unique project identifier.

*/ inline void SetProjectId(const Aws::String& value) { m_projectIdHasBeenSet = true; m_projectId = value; } /** *

Unique project identifier.

*/ inline void SetProjectId(Aws::String&& value) { m_projectIdHasBeenSet = true; m_projectId = std::move(value); } /** *

Unique project identifier.

*/ inline void SetProjectId(const char* value) { m_projectIdHasBeenSet = true; m_projectId.assign(value); } /** *

Unique project identifier.

*/ inline ExportBundleRequest& WithProjectId(const Aws::String& value) { SetProjectId(value); return *this;} /** *

Unique project identifier.

*/ inline ExportBundleRequest& WithProjectId(Aws::String&& value) { SetProjectId(std::move(value)); return *this;} /** *

Unique project identifier.

*/ inline ExportBundleRequest& WithProjectId(const char* value) { SetProjectId(value); return *this;} /** *

Developer desktop or target application platform.

*/ inline const Platform& GetPlatform() const{ return m_platform; } /** *

Developer desktop or target application platform.

*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *

Developer desktop or target application platform.

*/ inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; } /** *

Developer desktop or target application platform.

*/ inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *

Developer desktop or target application platform.

*/ inline ExportBundleRequest& WithPlatform(const Platform& value) { SetPlatform(value); return *this;} /** *

Developer desktop or target application platform.

*/ inline ExportBundleRequest& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;} private: Aws::String m_bundleId; bool m_bundleIdHasBeenSet = false; Aws::String m_projectId; bool m_projectIdHasBeenSet = false; Platform m_platform; bool m_platformHasBeenSet = false; }; } // namespace Model } // namespace Mobile } // namespace Aws