/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides summary information about a labeling job.See Also:
* AWS
* API Reference
The name of the labeling job.
*/ inline const Aws::String& GetLabelingJobName() const{ return m_labelingJobName; } /** *The name of the labeling job.
*/ inline bool LabelingJobNameHasBeenSet() const { return m_labelingJobNameHasBeenSet; } /** *The name of the labeling job.
*/ inline void SetLabelingJobName(const Aws::String& value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName = value; } /** *The name of the labeling job.
*/ inline void SetLabelingJobName(Aws::String&& value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName = std::move(value); } /** *The name of the labeling job.
*/ inline void SetLabelingJobName(const char* value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName.assign(value); } /** *The name of the labeling job.
*/ inline LabelingJobSummary& WithLabelingJobName(const Aws::String& value) { SetLabelingJobName(value); return *this;} /** *The name of the labeling job.
*/ inline LabelingJobSummary& WithLabelingJobName(Aws::String&& value) { SetLabelingJobName(std::move(value)); return *this;} /** *The name of the labeling job.
*/ inline LabelingJobSummary& WithLabelingJobName(const char* value) { SetLabelingJobName(value); return *this;} /** *The Amazon Resource Name (ARN) assigned to the labeling job when it was * created.
*/ inline const Aws::String& GetLabelingJobArn() const{ return m_labelingJobArn; } /** *The Amazon Resource Name (ARN) assigned to the labeling job when it was * created.
*/ inline bool LabelingJobArnHasBeenSet() const { return m_labelingJobArnHasBeenSet; } /** *The Amazon Resource Name (ARN) assigned to the labeling job when it was * created.
*/ inline void SetLabelingJobArn(const Aws::String& value) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn = value; } /** *The Amazon Resource Name (ARN) assigned to the labeling job when it was * created.
*/ inline void SetLabelingJobArn(Aws::String&& value) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn = std::move(value); } /** *The Amazon Resource Name (ARN) assigned to the labeling job when it was * created.
*/ inline void SetLabelingJobArn(const char* value) { m_labelingJobArnHasBeenSet = true; m_labelingJobArn.assign(value); } /** *The Amazon Resource Name (ARN) assigned to the labeling job when it was * created.
*/ inline LabelingJobSummary& WithLabelingJobArn(const Aws::String& value) { SetLabelingJobArn(value); return *this;} /** *The Amazon Resource Name (ARN) assigned to the labeling job when it was * created.
*/ inline LabelingJobSummary& WithLabelingJobArn(Aws::String&& value) { SetLabelingJobArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) assigned to the labeling job when it was * created.
*/ inline LabelingJobSummary& WithLabelingJobArn(const char* value) { SetLabelingJobArn(value); return *this;} /** *The date and time that the job was created (timestamp).
*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *The date and time that the job was created (timestamp).
*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *The date and time that the job was created (timestamp).
*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *The date and time that the job was created (timestamp).
*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *The date and time that the job was created (timestamp).
*/ inline LabelingJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The date and time that the job was created (timestamp).
*/ inline LabelingJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *The date and time that the job was last modified (timestamp).
*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *The date and time that the job was last modified (timestamp).
*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *The date and time that the job was last modified (timestamp).
*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *The date and time that the job was last modified (timestamp).
*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *The date and time that the job was last modified (timestamp).
*/ inline LabelingJobSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *The date and time that the job was last modified (timestamp).
*/ inline LabelingJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *The current status of the labeling job.
*/ inline const LabelingJobStatus& GetLabelingJobStatus() const{ return m_labelingJobStatus; } /** *The current status of the labeling job.
*/ inline bool LabelingJobStatusHasBeenSet() const { return m_labelingJobStatusHasBeenSet; } /** *The current status of the labeling job.
*/ inline void SetLabelingJobStatus(const LabelingJobStatus& value) { m_labelingJobStatusHasBeenSet = true; m_labelingJobStatus = value; } /** *The current status of the labeling job.
*/ inline void SetLabelingJobStatus(LabelingJobStatus&& value) { m_labelingJobStatusHasBeenSet = true; m_labelingJobStatus = std::move(value); } /** *The current status of the labeling job.
*/ inline LabelingJobSummary& WithLabelingJobStatus(const LabelingJobStatus& value) { SetLabelingJobStatus(value); return *this;} /** *The current status of the labeling job.
*/ inline LabelingJobSummary& WithLabelingJobStatus(LabelingJobStatus&& value) { SetLabelingJobStatus(std::move(value)); return *this;} /** *Counts showing the progress of the labeling job.
*/ inline const LabelCounters& GetLabelCounters() const{ return m_labelCounters; } /** *Counts showing the progress of the labeling job.
*/ inline bool LabelCountersHasBeenSet() const { return m_labelCountersHasBeenSet; } /** *Counts showing the progress of the labeling job.
*/ inline void SetLabelCounters(const LabelCounters& value) { m_labelCountersHasBeenSet = true; m_labelCounters = value; } /** *Counts showing the progress of the labeling job.
*/ inline void SetLabelCounters(LabelCounters&& value) { m_labelCountersHasBeenSet = true; m_labelCounters = std::move(value); } /** *Counts showing the progress of the labeling job.
*/ inline LabelingJobSummary& WithLabelCounters(const LabelCounters& value) { SetLabelCounters(value); return *this;} /** *Counts showing the progress of the labeling job.
*/ inline LabelingJobSummary& WithLabelCounters(LabelCounters&& value) { SetLabelCounters(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the work team assigned to the job.
*/ inline const Aws::String& GetWorkteamArn() const{ return m_workteamArn; } /** *The Amazon Resource Name (ARN) of the work team assigned to the job.
*/ inline bool WorkteamArnHasBeenSet() const { return m_workteamArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the work team assigned to the job.
*/ inline void SetWorkteamArn(const Aws::String& value) { m_workteamArnHasBeenSet = true; m_workteamArn = value; } /** *The Amazon Resource Name (ARN) of the work team assigned to the job.
*/ inline void SetWorkteamArn(Aws::String&& value) { m_workteamArnHasBeenSet = true; m_workteamArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the work team assigned to the job.
*/ inline void SetWorkteamArn(const char* value) { m_workteamArnHasBeenSet = true; m_workteamArn.assign(value); } /** *The Amazon Resource Name (ARN) of the work team assigned to the job.
*/ inline LabelingJobSummary& WithWorkteamArn(const Aws::String& value) { SetWorkteamArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the work team assigned to the job.
*/ inline LabelingJobSummary& WithWorkteamArn(Aws::String&& value) { SetWorkteamArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the work team assigned to the job.
*/ inline LabelingJobSummary& WithWorkteamArn(const char* value) { SetWorkteamArn(value); return *this;} /** *The Amazon Resource Name (ARN) of a Lambda function. The function is run * before each data object is sent to a worker.
*/ inline const Aws::String& GetPreHumanTaskLambdaArn() const{ return m_preHumanTaskLambdaArn; } /** *The Amazon Resource Name (ARN) of a Lambda function. The function is run * before each data object is sent to a worker.
*/ inline bool PreHumanTaskLambdaArnHasBeenSet() const { return m_preHumanTaskLambdaArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of a Lambda function. The function is run * before each data object is sent to a worker.
*/ inline void SetPreHumanTaskLambdaArn(const Aws::String& value) { m_preHumanTaskLambdaArnHasBeenSet = true; m_preHumanTaskLambdaArn = value; } /** *The Amazon Resource Name (ARN) of a Lambda function. The function is run * before each data object is sent to a worker.
*/ inline void SetPreHumanTaskLambdaArn(Aws::String&& value) { m_preHumanTaskLambdaArnHasBeenSet = true; m_preHumanTaskLambdaArn = std::move(value); } /** *The Amazon Resource Name (ARN) of a Lambda function. The function is run * before each data object is sent to a worker.
*/ inline void SetPreHumanTaskLambdaArn(const char* value) { m_preHumanTaskLambdaArnHasBeenSet = true; m_preHumanTaskLambdaArn.assign(value); } /** *The Amazon Resource Name (ARN) of a Lambda function. The function is run * before each data object is sent to a worker.
*/ inline LabelingJobSummary& WithPreHumanTaskLambdaArn(const Aws::String& value) { SetPreHumanTaskLambdaArn(value); return *this;} /** *The Amazon Resource Name (ARN) of a Lambda function. The function is run * before each data object is sent to a worker.
*/ inline LabelingJobSummary& WithPreHumanTaskLambdaArn(Aws::String&& value) { SetPreHumanTaskLambdaArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of a Lambda function. The function is run * before each data object is sent to a worker.
*/ inline LabelingJobSummary& WithPreHumanTaskLambdaArn(const char* value) { SetPreHumanTaskLambdaArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Lambda function used to consolidate the * annotations from individual workers into a label for a data object. For more * information, see Annotation * Consolidation.
*/ inline const Aws::String& GetAnnotationConsolidationLambdaArn() const{ return m_annotationConsolidationLambdaArn; } /** *The Amazon Resource Name (ARN) of the Lambda function used to consolidate the * annotations from individual workers into a label for a data object. For more * information, see Annotation * Consolidation.
*/ inline bool AnnotationConsolidationLambdaArnHasBeenSet() const { return m_annotationConsolidationLambdaArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Lambda function used to consolidate the * annotations from individual workers into a label for a data object. For more * information, see Annotation * Consolidation.
*/ inline void SetAnnotationConsolidationLambdaArn(const Aws::String& value) { m_annotationConsolidationLambdaArnHasBeenSet = true; m_annotationConsolidationLambdaArn = value; } /** *The Amazon Resource Name (ARN) of the Lambda function used to consolidate the * annotations from individual workers into a label for a data object. For more * information, see Annotation * Consolidation.
*/ inline void SetAnnotationConsolidationLambdaArn(Aws::String&& value) { m_annotationConsolidationLambdaArnHasBeenSet = true; m_annotationConsolidationLambdaArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Lambda function used to consolidate the * annotations from individual workers into a label for a data object. For more * information, see Annotation * Consolidation.
*/ inline void SetAnnotationConsolidationLambdaArn(const char* value) { m_annotationConsolidationLambdaArnHasBeenSet = true; m_annotationConsolidationLambdaArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Lambda function used to consolidate the * annotations from individual workers into a label for a data object. For more * information, see Annotation * Consolidation.
*/ inline LabelingJobSummary& WithAnnotationConsolidationLambdaArn(const Aws::String& value) { SetAnnotationConsolidationLambdaArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Lambda function used to consolidate the * annotations from individual workers into a label for a data object. For more * information, see Annotation * Consolidation.
*/ inline LabelingJobSummary& WithAnnotationConsolidationLambdaArn(Aws::String&& value) { SetAnnotationConsolidationLambdaArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Lambda function used to consolidate the * annotations from individual workers into a label for a data object. For more * information, see Annotation * Consolidation.
*/ inline LabelingJobSummary& WithAnnotationConsolidationLambdaArn(const char* value) { SetAnnotationConsolidationLambdaArn(value); return *this;} /** *If the LabelingJobStatus
field is Failed
, this
* field contains a description of the error.
If the LabelingJobStatus
field is Failed
, this
* field contains a description of the error.
If the LabelingJobStatus
field is Failed
, this
* field contains a description of the error.
If the LabelingJobStatus
field is Failed
, this
* field contains a description of the error.
If the LabelingJobStatus
field is Failed
, this
* field contains a description of the error.
If the LabelingJobStatus
field is Failed
, this
* field contains a description of the error.
If the LabelingJobStatus
field is Failed
, this
* field contains a description of the error.
If the LabelingJobStatus
field is Failed
, this
* field contains a description of the error.
The location of the output produced by the labeling job.
*/ inline const LabelingJobOutput& GetLabelingJobOutput() const{ return m_labelingJobOutput; } /** *The location of the output produced by the labeling job.
*/ inline bool LabelingJobOutputHasBeenSet() const { return m_labelingJobOutputHasBeenSet; } /** *The location of the output produced by the labeling job.
*/ inline void SetLabelingJobOutput(const LabelingJobOutput& value) { m_labelingJobOutputHasBeenSet = true; m_labelingJobOutput = value; } /** *The location of the output produced by the labeling job.
*/ inline void SetLabelingJobOutput(LabelingJobOutput&& value) { m_labelingJobOutputHasBeenSet = true; m_labelingJobOutput = std::move(value); } /** *The location of the output produced by the labeling job.
*/ inline LabelingJobSummary& WithLabelingJobOutput(const LabelingJobOutput& value) { SetLabelingJobOutput(value); return *this;} /** *The location of the output produced by the labeling job.
*/ inline LabelingJobSummary& WithLabelingJobOutput(LabelingJobOutput&& value) { SetLabelingJobOutput(std::move(value)); return *this;} /** *Input configuration for the labeling job.
*/ inline const LabelingJobInputConfig& GetInputConfig() const{ return m_inputConfig; } /** *Input configuration for the labeling job.
*/ inline bool InputConfigHasBeenSet() const { return m_inputConfigHasBeenSet; } /** *Input configuration for the labeling job.
*/ inline void SetInputConfig(const LabelingJobInputConfig& value) { m_inputConfigHasBeenSet = true; m_inputConfig = value; } /** *Input configuration for the labeling job.
*/ inline void SetInputConfig(LabelingJobInputConfig&& value) { m_inputConfigHasBeenSet = true; m_inputConfig = std::move(value); } /** *Input configuration for the labeling job.
*/ inline LabelingJobSummary& WithInputConfig(const LabelingJobInputConfig& value) { SetInputConfig(value); return *this;} /** *Input configuration for the labeling job.
*/ inline LabelingJobSummary& WithInputConfig(LabelingJobInputConfig&& value) { SetInputConfig(std::move(value)); return *this;} private: Aws::String m_labelingJobName; bool m_labelingJobNameHasBeenSet = false; Aws::String m_labelingJobArn; bool m_labelingJobArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; LabelingJobStatus m_labelingJobStatus; bool m_labelingJobStatusHasBeenSet = false; LabelCounters m_labelCounters; bool m_labelCountersHasBeenSet = false; Aws::String m_workteamArn; bool m_workteamArnHasBeenSet = false; Aws::String m_preHumanTaskLambdaArn; bool m_preHumanTaskLambdaArnHasBeenSet = false; Aws::String m_annotationConsolidationLambdaArn; bool m_annotationConsolidationLambdaArnHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; LabelingJobOutput m_labelingJobOutput; bool m_labelingJobOutputHasBeenSet = false; LabelingJobInputConfig m_inputConfig; bool m_inputConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws