/** * 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 IoTFleetHub { namespace Model { /** */ class DeleteApplicationRequest : public IoTFleetHubRequest { public: AWS_IOTFLEETHUB_API DeleteApplicationRequest(); // 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 "DeleteApplication"; } AWS_IOTFLEETHUB_API Aws::String SerializePayload() const override; AWS_IOTFLEETHUB_API void AddQueryStringParameters(Aws::Http::URI& uri) const override; /** *

The unique Id of the web application.

*/ inline const Aws::String& GetApplicationId() const{ return m_applicationId; } /** *

The unique Id of the web application.

*/ inline bool ApplicationIdHasBeenSet() const { return m_applicationIdHasBeenSet; } /** *

The unique Id of the web application.

*/ inline void SetApplicationId(const Aws::String& value) { m_applicationIdHasBeenSet = true; m_applicationId = value; } /** *

The unique Id of the web application.

*/ inline void SetApplicationId(Aws::String&& value) { m_applicationIdHasBeenSet = true; m_applicationId = std::move(value); } /** *

The unique Id of the web application.

*/ inline void SetApplicationId(const char* value) { m_applicationIdHasBeenSet = true; m_applicationId.assign(value); } /** *

The unique Id of the web application.

*/ inline DeleteApplicationRequest& WithApplicationId(const Aws::String& value) { SetApplicationId(value); return *this;} /** *

The unique Id of the web application.

*/ inline DeleteApplicationRequest& WithApplicationId(Aws::String&& value) { SetApplicationId(std::move(value)); return *this;} /** *

The unique Id of the web application.

*/ inline DeleteApplicationRequest& WithApplicationId(const char* value) { SetApplicationId(value); return *this;} /** *

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

*/ inline DeleteApplicationRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

*/ inline DeleteApplicationRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

A unique case-sensitive identifier that you can provide to ensure the * idempotency of the request. Don't reuse this client token if a new idempotent * request is required.

*/ inline DeleteApplicationRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_applicationId; bool m_applicationIdHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace IoTFleetHub } // namespace Aws