86 lines
2.6 KiB
C
86 lines
2.6 KiB
C
|
|
/**
|
|||
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|||
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|||
|
|
*/
|
|||
|
|
|
|||
|
|
#pragma once
|
|||
|
|
#include <aws/sagemaker/SageMaker_EXPORTS.h>
|
|||
|
|
#include <aws/sagemaker/SageMakerRequest.h>
|
|||
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|||
|
|
#include <utility>
|
|||
|
|
|
|||
|
|
namespace Aws
|
|||
|
|
{
|
|||
|
|
namespace SageMaker
|
|||
|
|
{
|
|||
|
|
namespace Model
|
|||
|
|
{
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*/
|
|||
|
|
class AWS_SAGEMAKER_API StopLabelingJobRequest : public SageMakerRequest
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
StopLabelingJobRequest();
|
|||
|
|
|
|||
|
|
// 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 "StopLabelingJob"; }
|
|||
|
|
|
|||
|
|
Aws::String SerializePayload() const override;
|
|||
|
|
|
|||
|
|
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the labeling job to stop.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetLabelingJobName() const{ return m_labelingJobName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the labeling job to stop.</p>
|
|||
|
|
*/
|
|||
|
|
inline bool LabelingJobNameHasBeenSet() const { return m_labelingJobNameHasBeenSet; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the labeling job to stop.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLabelingJobName(const Aws::String& value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the labeling job to stop.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLabelingJobName(Aws::String&& value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the labeling job to stop.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetLabelingJobName(const char* value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the labeling job to stop.</p>
|
|||
|
|
*/
|
|||
|
|
inline StopLabelingJobRequest& WithLabelingJobName(const Aws::String& value) { SetLabelingJobName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the labeling job to stop.</p>
|
|||
|
|
*/
|
|||
|
|
inline StopLabelingJobRequest& WithLabelingJobName(Aws::String&& value) { SetLabelingJobName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The name of the labeling job to stop.</p>
|
|||
|
|
*/
|
|||
|
|
inline StopLabelingJobRequest& WithLabelingJobName(const char* value) { SetLabelingJobName(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_labelingJobName;
|
|||
|
|
bool m_labelingJobNameHasBeenSet;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace SageMaker
|
|||
|
|
} // namespace Aws
|