/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include <aws/drs/Drs_EXPORTS.h> #include <aws/drs/DrsRequest.h> #include <aws/core/utils/memory/stl/AWSString.h> #include <utility> namespace Aws { namespace drs { namespace Model { /** */ class DeleteSourceServerRequest : public DrsRequest { public: AWS_DRS_API DeleteSourceServerRequest(); // 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 "DeleteSourceServer"; } AWS_DRS_API Aws::String SerializePayload() const override; /** * <p>The ID of the Source Server to be deleted.</p> */ inline const Aws::String& GetSourceServerID() const{ return m_sourceServerID; } /** * <p>The ID of the Source Server to be deleted.</p> */ inline bool SourceServerIDHasBeenSet() const { return m_sourceServerIDHasBeenSet; } /** * <p>The ID of the Source Server to be deleted.</p> */ inline void SetSourceServerID(const Aws::String& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = value; } /** * <p>The ID of the Source Server to be deleted.</p> */ inline void SetSourceServerID(Aws::String&& value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID = std::move(value); } /** * <p>The ID of the Source Server to be deleted.</p> */ inline void SetSourceServerID(const char* value) { m_sourceServerIDHasBeenSet = true; m_sourceServerID.assign(value); } /** * <p>The ID of the Source Server to be deleted.</p> */ inline DeleteSourceServerRequest& WithSourceServerID(const Aws::String& value) { SetSourceServerID(value); return *this;} /** * <p>The ID of the Source Server to be deleted.</p> */ inline DeleteSourceServerRequest& WithSourceServerID(Aws::String&& value) { SetSourceServerID(std::move(value)); return *this;} /** * <p>The ID of the Source Server to be deleted.</p> */ inline DeleteSourceServerRequest& WithSourceServerID(const char* value) { SetSourceServerID(value); return *this;} private: Aws::String m_sourceServerID; bool m_sourceServerIDHasBeenSet = false; }; } // namespace Model } // namespace drs } // namespace Aws