/** * 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 MigrationHubRefactorSpaces { namespace Model { /** */ class DeleteServiceRequest : public MigrationHubRefactorSpacesRequest { public: AWS_MIGRATIONHUBREFACTORSPACES_API DeleteServiceRequest(); // 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 "DeleteService"; } AWS_MIGRATIONHUBREFACTORSPACES_API Aws::String SerializePayload() const override; /** *

Deletes a Refactor Spaces service.

The * RefactorSpacesSecurityGroup security group must be removed from all * Amazon Web Services resources in the virtual private cloud (VPC) prior to * deleting a service with a URL endpoint in a VPC.

*/ inline const Aws::String& GetApplicationIdentifier() const{ return m_applicationIdentifier; } /** *

Deletes a Refactor Spaces service.

The * RefactorSpacesSecurityGroup security group must be removed from all * Amazon Web Services resources in the virtual private cloud (VPC) prior to * deleting a service with a URL endpoint in a VPC.

*/ inline bool ApplicationIdentifierHasBeenSet() const { return m_applicationIdentifierHasBeenSet; } /** *

Deletes a Refactor Spaces service.

The * RefactorSpacesSecurityGroup security group must be removed from all * Amazon Web Services resources in the virtual private cloud (VPC) prior to * deleting a service with a URL endpoint in a VPC.

*/ inline void SetApplicationIdentifier(const Aws::String& value) { m_applicationIdentifierHasBeenSet = true; m_applicationIdentifier = value; } /** *

Deletes a Refactor Spaces service.

The * RefactorSpacesSecurityGroup security group must be removed from all * Amazon Web Services resources in the virtual private cloud (VPC) prior to * deleting a service with a URL endpoint in a VPC.

*/ inline void SetApplicationIdentifier(Aws::String&& value) { m_applicationIdentifierHasBeenSet = true; m_applicationIdentifier = std::move(value); } /** *

Deletes a Refactor Spaces service.

The * RefactorSpacesSecurityGroup security group must be removed from all * Amazon Web Services resources in the virtual private cloud (VPC) prior to * deleting a service with a URL endpoint in a VPC.

*/ inline void SetApplicationIdentifier(const char* value) { m_applicationIdentifierHasBeenSet = true; m_applicationIdentifier.assign(value); } /** *

Deletes a Refactor Spaces service.

The * RefactorSpacesSecurityGroup security group must be removed from all * Amazon Web Services resources in the virtual private cloud (VPC) prior to * deleting a service with a URL endpoint in a VPC.

*/ inline DeleteServiceRequest& WithApplicationIdentifier(const Aws::String& value) { SetApplicationIdentifier(value); return *this;} /** *

Deletes a Refactor Spaces service.

The * RefactorSpacesSecurityGroup security group must be removed from all * Amazon Web Services resources in the virtual private cloud (VPC) prior to * deleting a service with a URL endpoint in a VPC.

*/ inline DeleteServiceRequest& WithApplicationIdentifier(Aws::String&& value) { SetApplicationIdentifier(std::move(value)); return *this;} /** *

Deletes a Refactor Spaces service.

The * RefactorSpacesSecurityGroup security group must be removed from all * Amazon Web Services resources in the virtual private cloud (VPC) prior to * deleting a service with a URL endpoint in a VPC.

*/ inline DeleteServiceRequest& WithApplicationIdentifier(const char* value) { SetApplicationIdentifier(value); return *this;} /** *

The ID of the environment that the service is in.

*/ inline const Aws::String& GetEnvironmentIdentifier() const{ return m_environmentIdentifier; } /** *

The ID of the environment that the service is in.

*/ inline bool EnvironmentIdentifierHasBeenSet() const { return m_environmentIdentifierHasBeenSet; } /** *

The ID of the environment that the service is in.

*/ inline void SetEnvironmentIdentifier(const Aws::String& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = value; } /** *

The ID of the environment that the service is in.

*/ inline void SetEnvironmentIdentifier(Aws::String&& value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier = std::move(value); } /** *

The ID of the environment that the service is in.

*/ inline void SetEnvironmentIdentifier(const char* value) { m_environmentIdentifierHasBeenSet = true; m_environmentIdentifier.assign(value); } /** *

The ID of the environment that the service is in.

*/ inline DeleteServiceRequest& WithEnvironmentIdentifier(const Aws::String& value) { SetEnvironmentIdentifier(value); return *this;} /** *

The ID of the environment that the service is in.

*/ inline DeleteServiceRequest& WithEnvironmentIdentifier(Aws::String&& value) { SetEnvironmentIdentifier(std::move(value)); return *this;} /** *

The ID of the environment that the service is in.

*/ inline DeleteServiceRequest& WithEnvironmentIdentifier(const char* value) { SetEnvironmentIdentifier(value); return *this;} /** *

The ID of the service to delete.

*/ inline const Aws::String& GetServiceIdentifier() const{ return m_serviceIdentifier; } /** *

The ID of the service to delete.

*/ inline bool ServiceIdentifierHasBeenSet() const { return m_serviceIdentifierHasBeenSet; } /** *

The ID of the service to delete.

*/ inline void SetServiceIdentifier(const Aws::String& value) { m_serviceIdentifierHasBeenSet = true; m_serviceIdentifier = value; } /** *

The ID of the service to delete.

*/ inline void SetServiceIdentifier(Aws::String&& value) { m_serviceIdentifierHasBeenSet = true; m_serviceIdentifier = std::move(value); } /** *

The ID of the service to delete.

*/ inline void SetServiceIdentifier(const char* value) { m_serviceIdentifierHasBeenSet = true; m_serviceIdentifier.assign(value); } /** *

The ID of the service to delete.

*/ inline DeleteServiceRequest& WithServiceIdentifier(const Aws::String& value) { SetServiceIdentifier(value); return *this;} /** *

The ID of the service to delete.

*/ inline DeleteServiceRequest& WithServiceIdentifier(Aws::String&& value) { SetServiceIdentifier(std::move(value)); return *this;} /** *

The ID of the service to delete.

*/ inline DeleteServiceRequest& WithServiceIdentifier(const char* value) { SetServiceIdentifier(value); return *this;} private: Aws::String m_applicationIdentifier; bool m_applicationIdentifierHasBeenSet = false; Aws::String m_environmentIdentifier; bool m_environmentIdentifierHasBeenSet = false; Aws::String m_serviceIdentifier; bool m_serviceIdentifierHasBeenSet = false; }; } // namespace Model } // namespace MigrationHubRefactorSpaces } // namespace Aws