/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the sagemaker-2017-07-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.SageMaker.Model { /// /// Provides details about a labeling work team. /// public partial class Workteam { private DateTime? _createDate; private string _description; private DateTime? _lastUpdatedDate; private List _memberDefinitions = new List(); private NotificationConfiguration _notificationConfiguration; private List _productListingIds = new List(); private string _subDomain; private string _workforceArn; private string _workteamArn; private string _workteamName; /// /// Gets and sets the property CreateDate. /// /// The date and time that the work team was created (timestamp). /// /// public DateTime CreateDate { get { return this._createDate.GetValueOrDefault(); } set { this._createDate = value; } } // Check to see if CreateDate property is set internal bool IsSetCreateDate() { return this._createDate.HasValue; } /// /// Gets and sets the property Description. /// /// A description of the work team. /// /// [AWSProperty(Required=true, Min=1, Max=200)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// /// Gets and sets the property LastUpdatedDate. /// /// The date and time that the work team was last updated (timestamp). /// /// public DateTime LastUpdatedDate { get { return this._lastUpdatedDate.GetValueOrDefault(); } set { this._lastUpdatedDate = value; } } // Check to see if LastUpdatedDate property is set internal bool IsSetLastUpdatedDate() { return this._lastUpdatedDate.HasValue; } /// /// Gets and sets the property 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. /// /// [AWSProperty(Required=true, Min=1, Max=10)] public List MemberDefinitions { get { return this._memberDefinitions; } set { this._memberDefinitions = value; } } // Check to see if MemberDefinitions property is set internal bool IsSetMemberDefinitions() { return this._memberDefinitions != null && this._memberDefinitions.Count > 0; } /// /// Gets and sets the property NotificationConfiguration. /// /// Configures SNS notifications of available or expiring work items for work teams. /// /// public NotificationConfiguration NotificationConfiguration { get { return this._notificationConfiguration; } set { this._notificationConfiguration = value; } } // Check to see if NotificationConfiguration property is set internal bool IsSetNotificationConfiguration() { return this._notificationConfiguration != null; } /// /// Gets and sets the property ProductListingIds. /// /// The Amazon Marketplace identifier for a vendor's work team. /// /// public List ProductListingIds { get { return this._productListingIds; } set { this._productListingIds = value; } } // Check to see if ProductListingIds property is set internal bool IsSetProductListingIds() { return this._productListingIds != null && this._productListingIds.Count > 0; } /// /// Gets and sets the property SubDomain. /// /// The URI of the labeling job's user interface. Workers open this URI to start labeling /// your data objects. /// /// public string SubDomain { get { return this._subDomain; } set { this._subDomain = value; } } // Check to see if SubDomain property is set internal bool IsSetSubDomain() { return this._subDomain != null; } /// /// Gets and sets the property WorkforceArn. /// /// The Amazon Resource Name (ARN) of the workforce. /// /// [AWSProperty(Max=256)] public string WorkforceArn { get { return this._workforceArn; } set { this._workforceArn = value; } } // Check to see if WorkforceArn property is set internal bool IsSetWorkforceArn() { return this._workforceArn != null; } /// /// Gets and sets the property WorkteamArn. /// /// The Amazon Resource Name (ARN) that identifies the work team. /// /// [AWSProperty(Required=true, Max=256)] public string WorkteamArn { get { return this._workteamArn; } set { this._workteamArn = value; } } // Check to see if WorkteamArn property is set internal bool IsSetWorkteamArn() { return this._workteamArn != null; } /// /// Gets and sets the property WorkteamName. /// /// The name of the work team. /// /// [AWSProperty(Required=true, Min=1, Max=63)] public string WorkteamName { get { return this._workteamName; } set { this._workteamName = value; } } // Check to see if WorkteamName property is set internal bool IsSetWorkteamName() { return this._workteamName != null; } } }