/** * 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 signer { namespace Model { /** */ class CancelSigningProfileRequest : public SignerRequest { public: AWS_SIGNER_API CancelSigningProfileRequest(); // 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 "CancelSigningProfile"; } AWS_SIGNER_API Aws::String SerializePayload() const override; /** *

The name of the signing profile to be canceled.

*/ inline const Aws::String& GetProfileName() const{ return m_profileName; } /** *

The name of the signing profile to be canceled.

*/ inline bool ProfileNameHasBeenSet() const { return m_profileNameHasBeenSet; } /** *

The name of the signing profile to be canceled.

*/ inline void SetProfileName(const Aws::String& value) { m_profileNameHasBeenSet = true; m_profileName = value; } /** *

The name of the signing profile to be canceled.

*/ inline void SetProfileName(Aws::String&& value) { m_profileNameHasBeenSet = true; m_profileName = std::move(value); } /** *

The name of the signing profile to be canceled.

*/ inline void SetProfileName(const char* value) { m_profileNameHasBeenSet = true; m_profileName.assign(value); } /** *

The name of the signing profile to be canceled.

*/ inline CancelSigningProfileRequest& WithProfileName(const Aws::String& value) { SetProfileName(value); return *this;} /** *

The name of the signing profile to be canceled.

*/ inline CancelSigningProfileRequest& WithProfileName(Aws::String&& value) { SetProfileName(std::move(value)); return *this;} /** *

The name of the signing profile to be canceled.

*/ inline CancelSigningProfileRequest& WithProfileName(const char* value) { SetProfileName(value); return *this;} private: Aws::String m_profileName; bool m_profileNameHasBeenSet = false; }; } // namespace Model } // namespace signer } // namespace Aws