130 lines
4.1 KiB
C++
130 lines
4.1 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/glue/Glue_EXPORTS.h>
|
|
#include <aws/glue/GlueRequest.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Glue
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
*/
|
|
class AWS_GLUE_API CancelMLTaskRunRequest : public GlueRequest
|
|
{
|
|
public:
|
|
CancelMLTaskRunRequest();
|
|
|
|
// 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 "CancelMLTaskRun"; }
|
|
|
|
Aws::String SerializePayload() const override;
|
|
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|
|
|
|
|
/**
|
|
* <p>The unique identifier of the machine learning transform.</p>
|
|
*/
|
|
inline const Aws::String& GetTransformId() const{ return m_transformId; }
|
|
|
|
/**
|
|
* <p>The unique identifier of the machine learning transform.</p>
|
|
*/
|
|
inline bool TransformIdHasBeenSet() const { return m_transformIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The unique identifier of the machine learning transform.</p>
|
|
*/
|
|
inline void SetTransformId(const Aws::String& value) { m_transformIdHasBeenSet = true; m_transformId = value; }
|
|
|
|
/**
|
|
* <p>The unique identifier of the machine learning transform.</p>
|
|
*/
|
|
inline void SetTransformId(Aws::String&& value) { m_transformIdHasBeenSet = true; m_transformId = std::move(value); }
|
|
|
|
/**
|
|
* <p>The unique identifier of the machine learning transform.</p>
|
|
*/
|
|
inline void SetTransformId(const char* value) { m_transformIdHasBeenSet = true; m_transformId.assign(value); }
|
|
|
|
/**
|
|
* <p>The unique identifier of the machine learning transform.</p>
|
|
*/
|
|
inline CancelMLTaskRunRequest& WithTransformId(const Aws::String& value) { SetTransformId(value); return *this;}
|
|
|
|
/**
|
|
* <p>The unique identifier of the machine learning transform.</p>
|
|
*/
|
|
inline CancelMLTaskRunRequest& WithTransformId(Aws::String&& value) { SetTransformId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The unique identifier of the machine learning transform.</p>
|
|
*/
|
|
inline CancelMLTaskRunRequest& WithTransformId(const char* value) { SetTransformId(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>A unique identifier for the task run.</p>
|
|
*/
|
|
inline const Aws::String& GetTaskRunId() const{ return m_taskRunId; }
|
|
|
|
/**
|
|
* <p>A unique identifier for the task run.</p>
|
|
*/
|
|
inline bool TaskRunIdHasBeenSet() const { return m_taskRunIdHasBeenSet; }
|
|
|
|
/**
|
|
* <p>A unique identifier for the task run.</p>
|
|
*/
|
|
inline void SetTaskRunId(const Aws::String& value) { m_taskRunIdHasBeenSet = true; m_taskRunId = value; }
|
|
|
|
/**
|
|
* <p>A unique identifier for the task run.</p>
|
|
*/
|
|
inline void SetTaskRunId(Aws::String&& value) { m_taskRunIdHasBeenSet = true; m_taskRunId = std::move(value); }
|
|
|
|
/**
|
|
* <p>A unique identifier for the task run.</p>
|
|
*/
|
|
inline void SetTaskRunId(const char* value) { m_taskRunIdHasBeenSet = true; m_taskRunId.assign(value); }
|
|
|
|
/**
|
|
* <p>A unique identifier for the task run.</p>
|
|
*/
|
|
inline CancelMLTaskRunRequest& WithTaskRunId(const Aws::String& value) { SetTaskRunId(value); return *this;}
|
|
|
|
/**
|
|
* <p>A unique identifier for the task run.</p>
|
|
*/
|
|
inline CancelMLTaskRunRequest& WithTaskRunId(Aws::String&& value) { SetTaskRunId(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>A unique identifier for the task run.</p>
|
|
*/
|
|
inline CancelMLTaskRunRequest& WithTaskRunId(const char* value) { SetTaskRunId(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_transformId;
|
|
bool m_transformIdHasBeenSet;
|
|
|
|
Aws::String m_taskRunId;
|
|
bool m_taskRunIdHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Glue
|
|
} // namespace Aws
|