/** * 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 StartKeyUsageRequest : public PaymentCryptographyRequest { public: AWS_PAYMENTCRYPTOGRAPHY_API StartKeyUsageRequest(); // 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 "StartKeyUsage"; } AWS_PAYMENTCRYPTOGRAPHY_API Aws::String SerializePayload() const override; AWS_PAYMENTCRYPTOGRAPHY_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The KeyArn of the key.

*/ inline const Aws::String& GetKeyIdentifier() const{ return m_keyIdentifier; } /** *

The KeyArn of the key.

*/ inline bool KeyIdentifierHasBeenSet() const { return m_keyIdentifierHasBeenSet; } /** *

The KeyArn of the key.

*/ inline void SetKeyIdentifier(const Aws::String& value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier = value; } /** *

The KeyArn of the key.

*/ inline void SetKeyIdentifier(Aws::String&& value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier = std::move(value); } /** *

The KeyArn of the key.

*/ inline void SetKeyIdentifier(const char* value) { m_keyIdentifierHasBeenSet = true; m_keyIdentifier.assign(value); } /** *

The KeyArn of the key.

*/ inline StartKeyUsageRequest& WithKeyIdentifier(const Aws::String& value) { SetKeyIdentifier(value); return *this;} /** *

The KeyArn of the key.

*/ inline StartKeyUsageRequest& WithKeyIdentifier(Aws::String&& value) { SetKeyIdentifier(std::move(value)); return *this;} /** *

The KeyArn of the key.

*/ inline StartKeyUsageRequest& WithKeyIdentifier(const char* value) { SetKeyIdentifier(value); return *this;} private: Aws::String m_keyIdentifier; bool m_keyIdentifierHasBeenSet = false; }; } // namespace Model } // namespace PaymentCryptography } // namespace Aws