/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Provides summary information for a work team.

See Also:

AWS * API Reference

*/ class LabelingJobForWorkteamSummary { public: AWS_SAGEMAKER_API LabelingJobForWorkteamSummary(); AWS_SAGEMAKER_API LabelingJobForWorkteamSummary(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API LabelingJobForWorkteamSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the labeling job that the work team is assigned to.

*/ inline const Aws::String& GetLabelingJobName() const{ return m_labelingJobName; } /** *

The name of the labeling job that the work team is assigned to.

*/ inline bool LabelingJobNameHasBeenSet() const { return m_labelingJobNameHasBeenSet; } /** *

The name of the labeling job that the work team is assigned to.

*/ inline void SetLabelingJobName(const Aws::String& value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName = value; } /** *

The name of the labeling job that the work team is assigned to.

*/ inline void SetLabelingJobName(Aws::String&& value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName = std::move(value); } /** *

The name of the labeling job that the work team is assigned to.

*/ inline void SetLabelingJobName(const char* value) { m_labelingJobNameHasBeenSet = true; m_labelingJobName.assign(value); } /** *

The name of the labeling job that the work team is assigned to.

*/ inline LabelingJobForWorkteamSummary& WithLabelingJobName(const Aws::String& value) { SetLabelingJobName(value); return *this;} /** *

The name of the labeling job that the work team is assigned to.

*/ inline LabelingJobForWorkteamSummary& WithLabelingJobName(Aws::String&& value) { SetLabelingJobName(std::move(value)); return *this;} /** *

The name of the labeling job that the work team is assigned to.

*/ inline LabelingJobForWorkteamSummary& WithLabelingJobName(const char* value) { SetLabelingJobName(value); return *this;} /** *

A unique identifier for a labeling job. You can use this to refer to a * specific labeling job.

*/ inline const Aws::String& GetJobReferenceCode() const{ return m_jobReferenceCode; } /** *

A unique identifier for a labeling job. You can use this to refer to a * specific labeling job.

*/ inline bool JobReferenceCodeHasBeenSet() const { return m_jobReferenceCodeHasBeenSet; } /** *

A unique identifier for a labeling job. You can use this to refer to a * specific labeling job.

*/ inline void SetJobReferenceCode(const Aws::String& value) { m_jobReferenceCodeHasBeenSet = true; m_jobReferenceCode = value; } /** *

A unique identifier for a labeling job. You can use this to refer to a * specific labeling job.

*/ inline void SetJobReferenceCode(Aws::String&& value) { m_jobReferenceCodeHasBeenSet = true; m_jobReferenceCode = std::move(value); } /** *

A unique identifier for a labeling job. You can use this to refer to a * specific labeling job.

*/ inline void SetJobReferenceCode(const char* value) { m_jobReferenceCodeHasBeenSet = true; m_jobReferenceCode.assign(value); } /** *

A unique identifier for a labeling job. You can use this to refer to a * specific labeling job.

*/ inline LabelingJobForWorkteamSummary& WithJobReferenceCode(const Aws::String& value) { SetJobReferenceCode(value); return *this;} /** *

A unique identifier for a labeling job. You can use this to refer to a * specific labeling job.

*/ inline LabelingJobForWorkteamSummary& WithJobReferenceCode(Aws::String&& value) { SetJobReferenceCode(std::move(value)); return *this;} /** *

A unique identifier for a labeling job. You can use this to refer to a * specific labeling job.

*/ inline LabelingJobForWorkteamSummary& WithJobReferenceCode(const char* value) { SetJobReferenceCode(value); return *this;} /** *

The Amazon Web Services account ID of the account used to start the labeling * job.

*/ inline const Aws::String& GetWorkRequesterAccountId() const{ return m_workRequesterAccountId; } /** *

The Amazon Web Services account ID of the account used to start the labeling * job.

*/ inline bool WorkRequesterAccountIdHasBeenSet() const { return m_workRequesterAccountIdHasBeenSet; } /** *

The Amazon Web Services account ID of the account used to start the labeling * job.

*/ inline void SetWorkRequesterAccountId(const Aws::String& value) { m_workRequesterAccountIdHasBeenSet = true; m_workRequesterAccountId = value; } /** *

The Amazon Web Services account ID of the account used to start the labeling * job.

*/ inline void SetWorkRequesterAccountId(Aws::String&& value) { m_workRequesterAccountIdHasBeenSet = true; m_workRequesterAccountId = std::move(value); } /** *

The Amazon Web Services account ID of the account used to start the labeling * job.

*/ inline void SetWorkRequesterAccountId(const char* value) { m_workRequesterAccountIdHasBeenSet = true; m_workRequesterAccountId.assign(value); } /** *

The Amazon Web Services account ID of the account used to start the labeling * job.

*/ inline LabelingJobForWorkteamSummary& WithWorkRequesterAccountId(const Aws::String& value) { SetWorkRequesterAccountId(value); return *this;} /** *

The Amazon Web Services account ID of the account used to start the labeling * job.

*/ inline LabelingJobForWorkteamSummary& WithWorkRequesterAccountId(Aws::String&& value) { SetWorkRequesterAccountId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the account used to start the labeling * job.

*/ inline LabelingJobForWorkteamSummary& WithWorkRequesterAccountId(const char* value) { SetWorkRequesterAccountId(value); return *this;} /** *

The date and time that the labeling job was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The date and time that the labeling job was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The date and time that the labeling job was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The date and time that the labeling job was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The date and time that the labeling job was created.

*/ inline LabelingJobForWorkteamSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The date and time that the labeling job was created.

*/ inline LabelingJobForWorkteamSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

Provides information about the progress of a labeling job.

*/ inline const LabelCountersForWorkteam& GetLabelCounters() const{ return m_labelCounters; } /** *

Provides information about the progress of a labeling job.

*/ inline bool LabelCountersHasBeenSet() const { return m_labelCountersHasBeenSet; } /** *

Provides information about the progress of a labeling job.

*/ inline void SetLabelCounters(const LabelCountersForWorkteam& value) { m_labelCountersHasBeenSet = true; m_labelCounters = value; } /** *

Provides information about the progress of a labeling job.

*/ inline void SetLabelCounters(LabelCountersForWorkteam&& value) { m_labelCountersHasBeenSet = true; m_labelCounters = std::move(value); } /** *

Provides information about the progress of a labeling job.

*/ inline LabelingJobForWorkteamSummary& WithLabelCounters(const LabelCountersForWorkteam& value) { SetLabelCounters(value); return *this;} /** *

Provides information about the progress of a labeling job.

*/ inline LabelingJobForWorkteamSummary& WithLabelCounters(LabelCountersForWorkteam&& value) { SetLabelCounters(std::move(value)); return *this;} /** *

The configured number of workers per data object.

*/ inline int GetNumberOfHumanWorkersPerDataObject() const{ return m_numberOfHumanWorkersPerDataObject; } /** *

The configured number of workers per data object.

*/ inline bool NumberOfHumanWorkersPerDataObjectHasBeenSet() const { return m_numberOfHumanWorkersPerDataObjectHasBeenSet; } /** *

The configured number of workers per data object.

*/ inline void SetNumberOfHumanWorkersPerDataObject(int value) { m_numberOfHumanWorkersPerDataObjectHasBeenSet = true; m_numberOfHumanWorkersPerDataObject = value; } /** *

The configured number of workers per data object.

*/ inline LabelingJobForWorkteamSummary& WithNumberOfHumanWorkersPerDataObject(int value) { SetNumberOfHumanWorkersPerDataObject(value); return *this;} private: Aws::String m_labelingJobName; bool m_labelingJobNameHasBeenSet = false; Aws::String m_jobReferenceCode; bool m_jobReferenceCodeHasBeenSet = false; Aws::String m_workRequesterAccountId; bool m_workRequesterAccountIdHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; LabelCountersForWorkteam m_labelCounters; bool m_labelCountersHasBeenSet = false; int m_numberOfHumanWorkersPerDataObject; bool m_numberOfHumanWorkersPerDataObjectHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws