/** * 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 DeleteActivityRequest : public SFNRequest { public: AWS_SFN_API DeleteActivityRequest(); // 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 "DeleteActivity"; } AWS_SFN_API Aws::String SerializePayload() const override; AWS_SFN_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The Amazon Resource Name (ARN) of the activity to delete.

*/ inline const Aws::String& GetActivityArn() const{ return m_activityArn; } /** *

The Amazon Resource Name (ARN) of the activity to delete.

*/ inline bool ActivityArnHasBeenSet() const { return m_activityArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the activity to delete.

*/ inline void SetActivityArn(const Aws::String& value) { m_activityArnHasBeenSet = true; m_activityArn = value; } /** *

The Amazon Resource Name (ARN) of the activity to delete.

*/ inline void SetActivityArn(Aws::String&& value) { m_activityArnHasBeenSet = true; m_activityArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the activity to delete.

*/ inline void SetActivityArn(const char* value) { m_activityArnHasBeenSet = true; m_activityArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the activity to delete.

*/ inline DeleteActivityRequest& WithActivityArn(const Aws::String& value) { SetActivityArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the activity to delete.

*/ inline DeleteActivityRequest& WithActivityArn(Aws::String&& value) { SetActivityArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the activity to delete.

*/ inline DeleteActivityRequest& WithActivityArn(const char* value) { SetActivityArn(value); return *this;} private: Aws::String m_activityArn; bool m_activityArnHasBeenSet = false; }; } // namespace Model } // namespace SFN } // namespace Aws