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

Request to delete Job from service by Account ID.

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

Request to delete Job from service by Account ID.

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

Request to delete Job from service by Account ID.

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

Request to delete Job from service by Account ID.

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

Request to delete Job from service by Account ID.

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

Request to delete Job from service by Account ID.

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

Request to delete Job from service by Account ID.

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

Request to delete Job from service by Account ID.

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

Request to delete Job from service by Job ID.

*/ inline const Aws::String& GetJobID() const{ return m_jobID; } /** *

Request to delete Job from service by Job ID.

*/ inline bool JobIDHasBeenSet() const { return m_jobIDHasBeenSet; } /** *

Request to delete Job from service by Job ID.

*/ inline void SetJobID(const Aws::String& value) { m_jobIDHasBeenSet = true; m_jobID = value; } /** *

Request to delete Job from service by Job ID.

*/ inline void SetJobID(Aws::String&& value) { m_jobIDHasBeenSet = true; m_jobID = std::move(value); } /** *

Request to delete Job from service by Job ID.

*/ inline void SetJobID(const char* value) { m_jobIDHasBeenSet = true; m_jobID.assign(value); } /** *

Request to delete Job from service by Job ID.

*/ inline DeleteJobRequest& WithJobID(const Aws::String& value) { SetJobID(value); return *this;} /** *

Request to delete Job from service by Job ID.

*/ inline DeleteJobRequest& WithJobID(Aws::String&& value) { SetJobID(std::move(value)); return *this;} /** *

Request to delete Job from service by Job ID.

*/ inline DeleteJobRequest& WithJobID(const char* value) { SetJobID(value); return *this;} private: Aws::String m_accountID; bool m_accountIDHasBeenSet = false; Aws::String m_jobID; bool m_jobIDHasBeenSet = false; }; } // namespace Model } // namespace mgn } // namespace Aws