/** * 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 RemoveSourceServerActionRequest : public MgnRequest { public: AWS_MGN_API RemoveSourceServerActionRequest(); // 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 "RemoveSourceServerAction"; } AWS_MGN_API Aws::String SerializePayload() const override; /** *

Source server post migration account ID.

*/ inline const Aws::String& GetAccountID() const{ return m_accountID; } /** *

Source server post migration account ID.

*/ inline bool AccountIDHasBeenSet() const { return m_accountIDHasBeenSet; } /** *

Source server post migration account ID.

*/ inline void SetAccountID(const Aws::String& value) { m_accountIDHasBeenSet = true; m_accountID = value; } /** *

Source server post migration account ID.

*/ inline void SetAccountID(Aws::String&& value) { m_accountIDHasBeenSet = true; m_accountID = std::move(value); } /** *

Source server post migration account ID.

*/ inline void SetAccountID(const char* value) { m_accountIDHasBeenSet = true; m_accountID.assign(value); } /** *

Source server post migration account ID.

*/ inline RemoveSourceServerActionRequest& WithAccountID(const Aws::String& value) { SetAccountID(value); return *this;} /** *

Source server post migration account ID.

*/ inline RemoveSourceServerActionRequest& WithAccountID(Aws::String&& value) { SetAccountID(std::move(value)); return *this;} /** *

Source server post migration account ID.

*/ inline RemoveSourceServerActionRequest& WithAccountID(const char* value) { SetAccountID(value); return *this;} /** *

Source server post migration custom action ID to remove.

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

Source server post migration custom action ID to remove.

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

Source server post migration custom action ID to remove.

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

Source server post migration custom action ID to remove.

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

Source server post migration custom action ID to remove.

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

Source server post migration custom action ID to remove.

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

Source server post migration custom action ID to remove.

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

Source server post migration custom action ID to remove.

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

Source server ID of the post migration custom action to remove.

*/ inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; } /** *

Source server ID of the post migration custom action to remove.

*/ inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; } /** *

Source server ID of the post migration custom action to remove.

*/ inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; } /** *

Source server ID of the post migration custom action to remove.

*/ inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); } /** *

Source server ID of the post migration custom action to remove.

*/ inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); } /** *

Source server ID of the post migration custom action to remove.

*/ inline RemoveSourceServerActionRequest& WithSourceServerID(const Aws::String& value) { SetSourceServerID(value); return *this;} /** *

Source server ID of the post migration custom action to remove.

*/ inline RemoveSourceServerActionRequest& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;} /** *

Source server ID of the post migration custom action to remove.

*/ inline RemoveSourceServerActionRequest& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;} private: Aws::String m_accountID; bool m_accountIDHasBeenSet = false; Aws::String m_actionID; bool m_actionIDHasBeenSet = false; Aws::String m_sourceServerID; bool m_sourceServerIDHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws