/* * 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 information about the location of input data. /// /// /// /// You must specify at least one of the following: S3DataSource or SnsDataSource. /// /// /// /// Use SnsDataSource to specify an SNS input topic for a streaming labeling /// job. If you do not specify and SNS input topic ARN, Ground Truth will create a one-time /// labeling job. /// /// /// /// Use S3DataSource to specify an input manifest file for both streaming /// and one-time labeling jobs. Adding an S3DataSource is optional if you /// use SnsDataSource to create a streaming labeling job. /// /// public partial class LabelingJobDataSource { private LabelingJobS3DataSource _s3DataSource; private LabelingJobSnsDataSource _snsDataSource; /// /// Gets and sets the property S3DataSource. /// /// The Amazon S3 location of the input data objects. /// /// public LabelingJobS3DataSource S3DataSource { get { return this._s3DataSource; } set { this._s3DataSource = value; } } // Check to see if S3DataSource property is set internal bool IsSetS3DataSource() { return this._s3DataSource != null; } /// /// Gets and sets the property SnsDataSource. /// /// An Amazon SNS data source used for streaming labeling jobs. To learn more, see Send /// Data to a Streaming Labeling Job. /// /// public LabelingJobSnsDataSource SnsDataSource { get { return this._snsDataSource; } set { this._snsDataSource = value; } } // Check to see if SnsDataSource property is set internal bool IsSetSnsDataSource() { return this._snsDataSource != null; } } }