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

Provides details about a labeling work team.

See Also:

AWS * API Reference

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

The name of the work team.

*/ inline const Aws::String& GetWorkteamName() const{ return m_workteamName; } /** *

The name of the work team.

*/ inline bool WorkteamNameHasBeenSet() const { return m_workteamNameHasBeenSet; } /** *

The name of the work team.

*/ inline void SetWorkteamName(const Aws::String& value) { m_workteamNameHasBeenSet = true; m_workteamName = value; } /** *

The name of the work team.

*/ inline void SetWorkteamName(Aws::String&& value) { m_workteamNameHasBeenSet = true; m_workteamName = std::move(value); } /** *

The name of the work team.

*/ inline void SetWorkteamName(const char* value) { m_workteamNameHasBeenSet = true; m_workteamName.assign(value); } /** *

The name of the work team.

*/ inline Workteam& WithWorkteamName(const Aws::String& value) { SetWorkteamName(value); return *this;} /** *

The name of the work team.

*/ inline Workteam& WithWorkteamName(Aws::String&& value) { SetWorkteamName(std::move(value)); return *this;} /** *

The name of the work team.

*/ inline Workteam& WithWorkteamName(const char* value) { SetWorkteamName(value); return *this;} /** *

A list of MemberDefinition objects that contains objects that * identify the workers that make up the work team.

Workforces can be * created using Amazon Cognito or your own OIDC Identity Provider (IdP). For * private workforces created using Amazon Cognito use * CognitoMemberDefinition. For workforces created using your own OIDC * identity provider (IdP) use OidcMemberDefinition.

*/ inline const Aws::Vector& GetMemberDefinitions() const{ return m_memberDefinitions; } /** *

A list of MemberDefinition objects that contains objects that * identify the workers that make up the work team.

Workforces can be * created using Amazon Cognito or your own OIDC Identity Provider (IdP). For * private workforces created using Amazon Cognito use * CognitoMemberDefinition. For workforces created using your own OIDC * identity provider (IdP) use OidcMemberDefinition.

*/ inline bool MemberDefinitionsHasBeenSet() const { return m_memberDefinitionsHasBeenSet; } /** *

A list of MemberDefinition objects that contains objects that * identify the workers that make up the work team.

Workforces can be * created using Amazon Cognito or your own OIDC Identity Provider (IdP). For * private workforces created using Amazon Cognito use * CognitoMemberDefinition. For workforces created using your own OIDC * identity provider (IdP) use OidcMemberDefinition.

*/ inline void SetMemberDefinitions(const Aws::Vector& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions = value; } /** *

A list of MemberDefinition objects that contains objects that * identify the workers that make up the work team.

Workforces can be * created using Amazon Cognito or your own OIDC Identity Provider (IdP). For * private workforces created using Amazon Cognito use * CognitoMemberDefinition. For workforces created using your own OIDC * identity provider (IdP) use OidcMemberDefinition.

*/ inline void SetMemberDefinitions(Aws::Vector&& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions = std::move(value); } /** *

A list of MemberDefinition objects that contains objects that * identify the workers that make up the work team.

Workforces can be * created using Amazon Cognito or your own OIDC Identity Provider (IdP). For * private workforces created using Amazon Cognito use * CognitoMemberDefinition. For workforces created using your own OIDC * identity provider (IdP) use OidcMemberDefinition.

*/ inline Workteam& WithMemberDefinitions(const Aws::Vector& value) { SetMemberDefinitions(value); return *this;} /** *

A list of MemberDefinition objects that contains objects that * identify the workers that make up the work team.

Workforces can be * created using Amazon Cognito or your own OIDC Identity Provider (IdP). For * private workforces created using Amazon Cognito use * CognitoMemberDefinition. For workforces created using your own OIDC * identity provider (IdP) use OidcMemberDefinition.

*/ inline Workteam& WithMemberDefinitions(Aws::Vector&& value) { SetMemberDefinitions(std::move(value)); return *this;} /** *

A list of MemberDefinition objects that contains objects that * identify the workers that make up the work team.

Workforces can be * created using Amazon Cognito or your own OIDC Identity Provider (IdP). For * private workforces created using Amazon Cognito use * CognitoMemberDefinition. For workforces created using your own OIDC * identity provider (IdP) use OidcMemberDefinition.

*/ inline Workteam& AddMemberDefinitions(const MemberDefinition& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions.push_back(value); return *this; } /** *

A list of MemberDefinition objects that contains objects that * identify the workers that make up the work team.

Workforces can be * created using Amazon Cognito or your own OIDC Identity Provider (IdP). For * private workforces created using Amazon Cognito use * CognitoMemberDefinition. For workforces created using your own OIDC * identity provider (IdP) use OidcMemberDefinition.

*/ inline Workteam& AddMemberDefinitions(MemberDefinition&& value) { m_memberDefinitionsHasBeenSet = true; m_memberDefinitions.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) that identifies the work team.

*/ inline const Aws::String& GetWorkteamArn() const{ return m_workteamArn; } /** *

The Amazon Resource Name (ARN) that identifies the work team.

*/ inline bool WorkteamArnHasBeenSet() const { return m_workteamArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) that identifies the work team.

*/ inline void SetWorkteamArn(const Aws::String& value) { m_workteamArnHasBeenSet = true; m_workteamArn = value; } /** *

The Amazon Resource Name (ARN) that identifies the work team.

*/ inline void SetWorkteamArn(Aws::String&& value) { m_workteamArnHasBeenSet = true; m_workteamArn = std::move(value); } /** *

The Amazon Resource Name (ARN) that identifies the work team.

*/ inline void SetWorkteamArn(const char* value) { m_workteamArnHasBeenSet = true; m_workteamArn.assign(value); } /** *

The Amazon Resource Name (ARN) that identifies the work team.

*/ inline Workteam& WithWorkteamArn(const Aws::String& value) { SetWorkteamArn(value); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the work team.

*/ inline Workteam& WithWorkteamArn(Aws::String&& value) { SetWorkteamArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) that identifies the work team.

*/ inline Workteam& WithWorkteamArn(const char* value) { SetWorkteamArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the workforce.

*/ inline const Aws::String& GetWorkforceArn() const{ return m_workforceArn; } /** *

The Amazon Resource Name (ARN) of the workforce.

*/ inline bool WorkforceArnHasBeenSet() const { return m_workforceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the workforce.

*/ inline void SetWorkforceArn(const Aws::String& value) { m_workforceArnHasBeenSet = true; m_workforceArn = value; } /** *

The Amazon Resource Name (ARN) of the workforce.

*/ inline void SetWorkforceArn(Aws::String&& value) { m_workforceArnHasBeenSet = true; m_workforceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the workforce.

*/ inline void SetWorkforceArn(const char* value) { m_workforceArnHasBeenSet = true; m_workforceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the workforce.

*/ inline Workteam& WithWorkforceArn(const Aws::String& value) { SetWorkforceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the workforce.

*/ inline Workteam& WithWorkforceArn(Aws::String&& value) { SetWorkforceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the workforce.

*/ inline Workteam& WithWorkforceArn(const char* value) { SetWorkforceArn(value); return *this;} /** *

The Amazon Marketplace identifier for a vendor's work team.

*/ inline const Aws::Vector& GetProductListingIds() const{ return m_productListingIds; } /** *

The Amazon Marketplace identifier for a vendor's work team.

*/ inline bool ProductListingIdsHasBeenSet() const { return m_productListingIdsHasBeenSet; } /** *

The Amazon Marketplace identifier for a vendor's work team.

*/ inline void SetProductListingIds(const Aws::Vector& value) { m_productListingIdsHasBeenSet = true; m_productListingIds = value; } /** *

The Amazon Marketplace identifier for a vendor's work team.

*/ inline void SetProductListingIds(Aws::Vector&& value) { m_productListingIdsHasBeenSet = true; m_productListingIds = std::move(value); } /** *

The Amazon Marketplace identifier for a vendor's work team.

*/ inline Workteam& WithProductListingIds(const Aws::Vector& value) { SetProductListingIds(value); return *this;} /** *

The Amazon Marketplace identifier for a vendor's work team.

*/ inline Workteam& WithProductListingIds(Aws::Vector&& value) { SetProductListingIds(std::move(value)); return *this;} /** *

The Amazon Marketplace identifier for a vendor's work team.

*/ inline Workteam& AddProductListingIds(const Aws::String& value) { m_productListingIdsHasBeenSet = true; m_productListingIds.push_back(value); return *this; } /** *

The Amazon Marketplace identifier for a vendor's work team.

*/ inline Workteam& AddProductListingIds(Aws::String&& value) { m_productListingIdsHasBeenSet = true; m_productListingIds.push_back(std::move(value)); return *this; } /** *

The Amazon Marketplace identifier for a vendor's work team.

*/ inline Workteam& AddProductListingIds(const char* value) { m_productListingIdsHasBeenSet = true; m_productListingIds.push_back(value); return *this; } /** *

A description of the work team.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the work team.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the work team.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the work team.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the work team.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the work team.

*/ inline Workteam& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the work team.

*/ inline Workteam& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the work team.

*/ inline Workteam& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The URI of the labeling job's user interface. Workers open this URI to start * labeling your data objects.

*/ inline const Aws::String& GetSubDomain() const{ return m_subDomain; } /** *

The URI of the labeling job's user interface. Workers open this URI to start * labeling your data objects.

*/ inline bool SubDomainHasBeenSet() const { return m_subDomainHasBeenSet; } /** *

The URI of the labeling job's user interface. Workers open this URI to start * labeling your data objects.

*/ inline void SetSubDomain(const Aws::String& value) { m_subDomainHasBeenSet = true; m_subDomain = value; } /** *

The URI of the labeling job's user interface. Workers open this URI to start * labeling your data objects.

*/ inline void SetSubDomain(Aws::String&& value) { m_subDomainHasBeenSet = true; m_subDomain = std::move(value); } /** *

The URI of the labeling job's user interface. Workers open this URI to start * labeling your data objects.

*/ inline void SetSubDomain(const char* value) { m_subDomainHasBeenSet = true; m_subDomain.assign(value); } /** *

The URI of the labeling job's user interface. Workers open this URI to start * labeling your data objects.

*/ inline Workteam& WithSubDomain(const Aws::String& value) { SetSubDomain(value); return *this;} /** *

The URI of the labeling job's user interface. Workers open this URI to start * labeling your data objects.

*/ inline Workteam& WithSubDomain(Aws::String&& value) { SetSubDomain(std::move(value)); return *this;} /** *

The URI of the labeling job's user interface. Workers open this URI to start * labeling your data objects.

*/ inline Workteam& WithSubDomain(const char* value) { SetSubDomain(value); return *this;} /** *

The date and time that the work team was created (timestamp).

*/ inline const Aws::Utils::DateTime& GetCreateDate() const{ return m_createDate; } /** *

The date and time that the work team was created (timestamp).

*/ inline bool CreateDateHasBeenSet() const { return m_createDateHasBeenSet; } /** *

The date and time that the work team was created (timestamp).

*/ inline void SetCreateDate(const Aws::Utils::DateTime& value) { m_createDateHasBeenSet = true; m_createDate = value; } /** *

The date and time that the work team was created (timestamp).

*/ inline void SetCreateDate(Aws::Utils::DateTime&& value) { m_createDateHasBeenSet = true; m_createDate = std::move(value); } /** *

The date and time that the work team was created (timestamp).

*/ inline Workteam& WithCreateDate(const Aws::Utils::DateTime& value) { SetCreateDate(value); return *this;} /** *

The date and time that the work team was created (timestamp).

*/ inline Workteam& WithCreateDate(Aws::Utils::DateTime&& value) { SetCreateDate(std::move(value)); return *this;} /** *

The date and time that the work team was last updated (timestamp).

*/ inline const Aws::Utils::DateTime& GetLastUpdatedDate() const{ return m_lastUpdatedDate; } /** *

The date and time that the work team was last updated (timestamp).

*/ inline bool LastUpdatedDateHasBeenSet() const { return m_lastUpdatedDateHasBeenSet; } /** *

The date and time that the work team was last updated (timestamp).

*/ inline void SetLastUpdatedDate(const Aws::Utils::DateTime& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = value; } /** *

The date and time that the work team was last updated (timestamp).

*/ inline void SetLastUpdatedDate(Aws::Utils::DateTime&& value) { m_lastUpdatedDateHasBeenSet = true; m_lastUpdatedDate = std::move(value); } /** *

The date and time that the work team was last updated (timestamp).

*/ inline Workteam& WithLastUpdatedDate(const Aws::Utils::DateTime& value) { SetLastUpdatedDate(value); return *this;} /** *

The date and time that the work team was last updated (timestamp).

*/ inline Workteam& WithLastUpdatedDate(Aws::Utils::DateTime&& value) { SetLastUpdatedDate(std::move(value)); return *this;} /** *

Configures SNS notifications of available or expiring work items for work * teams.

*/ inline const NotificationConfiguration& GetNotificationConfiguration() const{ return m_notificationConfiguration; } /** *

Configures SNS notifications of available or expiring work items for work * teams.

*/ inline bool NotificationConfigurationHasBeenSet() const { return m_notificationConfigurationHasBeenSet; } /** *

Configures SNS notifications of available or expiring work items for work * teams.

*/ inline void SetNotificationConfiguration(const NotificationConfiguration& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = value; } /** *

Configures SNS notifications of available or expiring work items for work * teams.

*/ inline void SetNotificationConfiguration(NotificationConfiguration&& value) { m_notificationConfigurationHasBeenSet = true; m_notificationConfiguration = std::move(value); } /** *

Configures SNS notifications of available or expiring work items for work * teams.

*/ inline Workteam& WithNotificationConfiguration(const NotificationConfiguration& value) { SetNotificationConfiguration(value); return *this;} /** *

Configures SNS notifications of available or expiring work items for work * teams.

*/ inline Workteam& WithNotificationConfiguration(NotificationConfiguration&& value) { SetNotificationConfiguration(std::move(value)); return *this;} private: Aws::String m_workteamName; bool m_workteamNameHasBeenSet = false; Aws::Vector m_memberDefinitions; bool m_memberDefinitionsHasBeenSet = false; Aws::String m_workteamArn; bool m_workteamArnHasBeenSet = false; Aws::String m_workforceArn; bool m_workforceArnHasBeenSet = false; Aws::Vector m_productListingIds; bool m_productListingIdsHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_subDomain; bool m_subDomainHasBeenSet = false; Aws::Utils::DateTime m_createDate; bool m_createDateHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedDate; bool m_lastUpdatedDateHasBeenSet = false; NotificationConfiguration m_notificationConfiguration; bool m_notificationConfigurationHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws