/** * 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 PaymentCryptography { namespace Model { /** */ class DeleteAliasRequest : public PaymentCryptographyRequest { public: AWS_PAYMENTCRYPTOGRAPHY_API DeleteAliasRequest(); // 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 "DeleteAlias"; } AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override; AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

A friendly name that you can use to refer Amazon Web Services Payment * Cryptography key. This value must begin with alias/ followed by a * name, such as alias/ExampleAlias.

*/ inline const Aws::String& GetAliasName() const{ return m_aliasName; } /** *

A friendly name that you can use to refer Amazon Web Services Payment * Cryptography key. This value must begin with alias/ followed by a * name, such as alias/ExampleAlias.

*/ inline bool AliasNameHasBeenSet() const { return m_aliasNameHasBeenSet; } /** *

A friendly name that you can use to refer Amazon Web Services Payment * Cryptography key. This value must begin with alias/ followed by a * name, such as alias/ExampleAlias.

*/ inline void SetAliasName(const Aws::String& value) { m_aliasNameHasBeenSet = true; m_aliasName = value; } /** *

A friendly name that you can use to refer Amazon Web Services Payment * Cryptography key. This value must begin with alias/ followed by a * name, such as alias/ExampleAlias.

*/ inline void SetAliasName(Aws::String&& value) { m_aliasNameHasBeenSet = true; m_aliasName = std::move(value); } /** *

A friendly name that you can use to refer Amazon Web Services Payment * Cryptography key. This value must begin with alias/ followed by a * name, such as alias/ExampleAlias.

*/ inline void SetAliasName(const char* value) { m_aliasNameHasBeenSet = true; m_aliasName.assign(value); } /** *

A friendly name that you can use to refer Amazon Web Services Payment * Cryptography key. This value must begin with alias/ followed by a * name, such as alias/ExampleAlias.

*/ inline DeleteAliasRequest& WithAliasName(const Aws::String& value) { SetAliasName(value); return *this;} /** *

A friendly name that you can use to refer Amazon Web Services Payment * Cryptography key. This value must begin with alias/ followed by a * name, such as alias/ExampleAlias.

*/ inline DeleteAliasRequest& WithAliasName(Aws::String&& value) { SetAliasName(std::move(value)); return *this;} /** *

A friendly name that you can use to refer Amazon Web Services Payment * Cryptography key. This value must begin with alias/ followed by a * name, such as alias/ExampleAlias.

*/ inline DeleteAliasRequest& WithAliasName(const char* value) { SetAliasName(value); return *this;} private: Aws::String m_aliasName; bool m_aliasNameHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptography } // namespace Aws