/** * 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 SFN { namespace Model { /** */ class DeleteStateMachineAliasRequest : public SFNRequest { public: AWS_SFN_API DeleteStateMachineAliasRequest(); // 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 "DeleteStateMachineAlias"; } AWS_SFN_API Aws::String SerializePayload() const override; AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the state machine alias to delete.

*/ inline const Aws::String& GetStateMachineAliasArn() const{ return m_stateMachineAliasArn; } /** *

The Amazon Resource Name (ARN) of the state machine alias to delete.

*/ inline bool StateMachineAliasArnHasBeenSet() const { return m_stateMachineAliasArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the state machine alias to delete.

*/ inline void SetStateMachineAliasArn(const Aws::String& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = value; } /** *

The Amazon Resource Name (ARN) of the state machine alias to delete.

*/ inline void SetStateMachineAliasArn(Aws::String&& value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the state machine alias to delete.

*/ inline void SetStateMachineAliasArn(const char* value) { m_stateMachineAliasArnHasBeenSet = true; m_stateMachineAliasArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the state machine alias to delete.

*/ inline DeleteStateMachineAliasRequest& WithStateMachineAliasArn(const Aws::String& value) { SetStateMachineAliasArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the state machine alias to delete.

*/ inline DeleteStateMachineAliasRequest& WithStateMachineAliasArn(Aws::String&& value) { SetStateMachineAliasArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the state machine alias to delete.

*/ inline DeleteStateMachineAliasRequest& WithStateMachineAliasArn(const char* value) { SetStateMachineAliasArn(value); return *this;} private: Aws::String m_stateMachineAliasArn; bool m_stateMachineAliasArnHasBeenSet = false; }; } // namespace Model } // namespace SFN } // namespace Aws