/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Cancels a data repository task.See Also:
AWS
* API Reference
Specifies the data repository task to cancel.
*/ inline const Aws::String& GetTaskId() const{ return m_taskId; } /** *Specifies the data repository task to cancel.
*/ inline bool TaskIdHasBeenSet() const { return m_taskIdHasBeenSet; } /** *Specifies the data repository task to cancel.
*/ inline void SetTaskId(const Aws::String& value) { m_taskIdHasBeenSet = true; m_taskId = value; } /** *Specifies the data repository task to cancel.
*/ inline void SetTaskId(Aws::String&& value) { m_taskIdHasBeenSet = true; m_taskId = std::move(value); } /** *Specifies the data repository task to cancel.
*/ inline void SetTaskId(const char* value) { m_taskIdHasBeenSet = true; m_taskId.assign(value); } /** *Specifies the data repository task to cancel.
*/ inline CancelDataRepositoryTaskRequest& WithTaskId(const Aws::String& value) { SetTaskId(value); return *this;} /** *Specifies the data repository task to cancel.
*/ inline CancelDataRepositoryTaskRequest& WithTaskId(Aws::String&& value) { SetTaskId(std::move(value)); return *this;} /** *Specifies the data repository task to cancel.
*/ inline CancelDataRepositoryTaskRequest& WithTaskId(const char* value) { SetTaskId(value); return *this;} private: Aws::String m_taskId; bool m_taskIdHasBeenSet = false; }; } // namespace Model } // namespace FSx } // namespace Aws