/** * 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 ApiGatewayV2 { namespace Model { /** */ class AWS_APIGATEWAYV2_API DeleteApiMappingRequest : public ApiGatewayV2Request { public: DeleteApiMappingRequest(); // 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 "DeleteApiMapping"; } Aws::String SerializePayload() const override; /** *

The API mapping identifier.

*/ inline const Aws::String& GetApiMappingId() const{ return m_apiMappingId; } /** *

The API mapping identifier.

*/ inline bool ApiMappingIdHasBeenSet() const { return m_apiMappingIdHasBeenSet; } /** *

The API mapping identifier.

*/ inline void SetApiMappingId(const Aws::String& value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId = value; } /** *

The API mapping identifier.

*/ inline void SetApiMappingId(Aws::String&& value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId = std::move(value); } /** *

The API mapping identifier.

*/ inline void SetApiMappingId(const char* value) { m_apiMappingIdHasBeenSet = true; m_apiMappingId.assign(value); } /** *

The API mapping identifier.

*/ inline DeleteApiMappingRequest& WithApiMappingId(const Aws::String& value) { SetApiMappingId(value); return *this;} /** *

The API mapping identifier.

*/ inline DeleteApiMappingRequest& WithApiMappingId(Aws::String&& value) { SetApiMappingId(std::move(value)); return *this;} /** *

The API mapping identifier.

*/ inline DeleteApiMappingRequest& WithApiMappingId(const char* value) { SetApiMappingId(value); return *this;} /** *

The domain name.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

The domain name.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

The domain name.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

The domain name.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

The domain name.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

The domain name.

*/ inline DeleteApiMappingRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

The domain name.

*/ inline DeleteApiMappingRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

The domain name.

*/ inline DeleteApiMappingRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} private: Aws::String m_apiMappingId; bool m_apiMappingIdHasBeenSet; Aws::String m_domainName; bool m_domainNameHasBeenSet; }; } // namespace Model } // namespace ApiGatewayV2 } // namespace Aws