/** * 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 mgn { namespace Model { /** */ class RemoveTemplateActionRequest : public MgnRequest { public: AWS_MGN_API RemoveTemplateActionRequest(); // 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 "RemoveTemplateAction"; } AWS_MGN_API Aws::String SerializePayload() const override; /** *

Template post migration custom action ID to remove.

*/ inline const Aws::String& GetActionID() const{ return m_actionID; } /** *

Template post migration custom action ID to remove.

*/ inline bool ActionIDHasBeenSet() const { return m_actionIDHasBeenSet; } /** *

Template post migration custom action ID to remove.

*/ inline void SetActionID(const Aws::String& value) { m_actionIDHasBeenSet = true; m_actionID = value; } /** *

Template post migration custom action ID to remove.

*/ inline void SetActionID(Aws::String&& value) { m_actionIDHasBeenSet = true; m_actionID = std::move(value); } /** *

Template post migration custom action ID to remove.

*/ inline void SetActionID(const char* value) { m_actionIDHasBeenSet = true; m_actionID.assign(value); } /** *

Template post migration custom action ID to remove.

*/ inline RemoveTemplateActionRequest& WithActionID(const Aws::String& value) { SetActionID(value); return *this;} /** *

Template post migration custom action ID to remove.

*/ inline RemoveTemplateActionRequest& WithActionID(Aws::String&& value) { SetActionID(std::move(value)); return *this;} /** *

Template post migration custom action ID to remove.

*/ inline RemoveTemplateActionRequest& WithActionID(const char* value) { SetActionID(value); return *this;} /** *

Launch configuration template ID of the post migration custom action to * remove.

*/ inline const Aws::String& GetLaunchConfigurationTemplateID() const{ return m_launchConfigurationTemplateID; } /** *

Launch configuration template ID of the post migration custom action to * remove.

*/ inline bool LaunchConfigurationTemplateIDHasBeenSet() const { return m_launchConfigurationTemplateIDHasBeenSet; } /** *

Launch configuration template ID of the post migration custom action to * remove.

*/ inline void SetLaunchConfigurationTemplateID(const Aws::String& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = value; } /** *

Launch configuration template ID of the post migration custom action to * remove.

*/ inline void SetLaunchConfigurationTemplateID(Aws::String&& value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID = std::move(value); } /** *

Launch configuration template ID of the post migration custom action to * remove.

*/ inline void SetLaunchConfigurationTemplateID(const char* value) { m_launchConfigurationTemplateIDHasBeenSet = true; m_launchConfigurationTemplateID.assign(value); } /** *

Launch configuration template ID of the post migration custom action to * remove.

*/ inline RemoveTemplateActionRequest& WithLaunchConfigurationTemplateID(const Aws::String& value) { SetLaunchConfigurationTemplateID(value); return *this;} /** *

Launch configuration template ID of the post migration custom action to * remove.

*/ inline RemoveTemplateActionRequest& WithLaunchConfigurationTemplateID(Aws::String&& value) { SetLaunchConfigurationTemplateID(std::move(value)); return *this;} /** *

Launch configuration template ID of the post migration custom action to * remove.

*/ inline RemoveTemplateActionRequest& WithLaunchConfigurationTemplateID(const char* value) { SetLaunchConfigurationTemplateID(value); return *this;} private: Aws::String m_actionID; bool m_actionIDHasBeenSet = false; Aws::String m_launchConfigurationTemplateID; bool m_launchConfigurationTemplateIDHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws