/** * 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 RoboMaker { namespace Model { /** */ class CancelWorldExportJobRequest : public RoboMakerRequest { public: AWS_ROBOMAKER_API CancelWorldExportJobRequest(); // 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 "CancelWorldExportJob"; } AWS_ROBOMAKER_API Aws::String SerializePayload() const override; /** *

The Amazon Resource Name (arn) of the world export job to cancel.

*/ inline const Aws::String& GetJob() const{ return m_job; } /** *

The Amazon Resource Name (arn) of the world export job to cancel.

*/ inline bool JobHasBeenSet() const { return m_jobHasBeenSet; } /** *

The Amazon Resource Name (arn) of the world export job to cancel.

*/ inline void SetJob(const Aws::String& value) { m_jobHasBeenSet = true; m_job = value; } /** *

The Amazon Resource Name (arn) of the world export job to cancel.

*/ inline void SetJob(Aws::String&& value) { m_jobHasBeenSet = true; m_job = std::move(value); } /** *

The Amazon Resource Name (arn) of the world export job to cancel.

*/ inline void SetJob(const char* value) { m_jobHasBeenSet = true; m_job.assign(value); } /** *

The Amazon Resource Name (arn) of the world export job to cancel.

*/ inline CancelWorldExportJobRequest& WithJob(const Aws::String& value) { SetJob(value); return *this;} /** *

The Amazon Resource Name (arn) of the world export job to cancel.

*/ inline CancelWorldExportJobRequest& WithJob(Aws::String&& value) { SetJob(std::move(value)); return *this;} /** *

The Amazon Resource Name (arn) of the world export job to cancel.

*/ inline CancelWorldExportJobRequest& WithJob(const char* value) { SetJob(value); return *this;} private: Aws::String m_job; bool m_jobHasBeenSet = false; }; } // namespace Model } // namespace RoboMaker } // namespace Aws