/** * 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 WAFV2 { namespace Model { /** */ class GenerateMobileSdkReleaseUrlRequest : public WAFV2Request { public: AWS_WAFV2_API GenerateMobileSdkReleaseUrlRequest(); // 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 "GenerateMobileSdkReleaseUrl"; } AWS_WAFV2_API Aws::String SerializePayload() const override; AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The device platform.

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

The device platform.

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

The device platform.

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

The device platform.

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

The device platform.

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

The device platform.

*/ inline GenerateMobileSdkReleaseUrlRequest& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;} /** *

The release version. For the latest available version, specify * LATEST.

*/ inline const Aws::String& GetReleaseVersion() const{ return m_releaseVersion; } /** *

The release version. For the latest available version, specify * LATEST.

*/ inline bool ReleaseVersionHasBeenSet() const { return m_releaseVersionHasBeenSet; } /** *

The release version. For the latest available version, specify * LATEST.

*/ inline void SetReleaseVersion(const Aws::String& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = value; } /** *

The release version. For the latest available version, specify * LATEST.

*/ inline void SetReleaseVersion(Aws::String&& value) { m_releaseVersionHasBeenSet = true; m_releaseVersion = std::move(value); } /** *

The release version. For the latest available version, specify * LATEST.

*/ inline void SetReleaseVersion(const char* value) { m_releaseVersionHasBeenSet = true; m_releaseVersion.assign(value); } /** *

The release version. For the latest available version, specify * LATEST.

*/ inline GenerateMobileSdkReleaseUrlRequest& WithReleaseVersion(const Aws::String& value) { SetReleaseVersion(value); return *this;} /** *

The release version. For the latest available version, specify * LATEST.

*/ inline GenerateMobileSdkReleaseUrlRequest& WithReleaseVersion(Aws::String&& value) { SetReleaseVersion(std::move(value)); return *this;} /** *

The release version. For the latest available version, specify * LATEST.

*/ inline GenerateMobileSdkReleaseUrlRequest& WithReleaseVersion(const char* value) { SetReleaseVersion(value); return *this;} private: Platform m_platform; bool m_platformHasBeenSet = false; Aws::String m_releaseVersion; bool m_releaseVersionHasBeenSet = false; }; } // namespace Model } // namespace WAFV2 } // namespace Aws