/*
* 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 comprehendmedical-2018-10-30.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.ComprehendMedical.Model
{
///
/// Container for the parameters to the StartPHIDetectionJob operation.
/// Starts an asynchronous job to detect protected health information (PHI). Use the DescribePHIDetectionJob
/// operation to track the status of a job.
///
public partial class StartPHIDetectionJobRequest : AmazonComprehendMedicalRequest
{
private string _clientRequestToken;
private string _dataAccessRoleArn;
private InputDataConfig _inputDataConfig;
private string _jobName;
private string _kmsKey;
private LanguageCode _languageCode;
private OutputDataConfig _outputDataConfig;
///
/// Gets and sets the property ClientRequestToken.
///
/// A unique identifier for the request. If you don't set the client request token, Amazon
/// Comprehend Medical generates one.
///
///
[AWSProperty(Min=1, Max=64)]
public string ClientRequestToken
{
get { return this._clientRequestToken; }
set { this._clientRequestToken = value; }
}
// Check to see if ClientRequestToken property is set
internal bool IsSetClientRequestToken()
{
return this._clientRequestToken != null;
}
///
/// Gets and sets the property DataAccessRoleArn.
///
/// The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role
/// that grants Amazon Comprehend Medical read access to your input data. For more information,
/// see
/// Role-Based Permissions Required for Asynchronous Operations.
///
///
[AWSProperty(Required=true, Min=20, Max=2048)]
public string DataAccessRoleArn
{
get { return this._dataAccessRoleArn; }
set { this._dataAccessRoleArn = value; }
}
// Check to see if DataAccessRoleArn property is set
internal bool IsSetDataAccessRoleArn()
{
return this._dataAccessRoleArn != null;
}
///
/// Gets and sets the property InputDataConfig.
///
/// Specifies the format and location of the input data for the job.
///
///
[AWSProperty(Required=true)]
public InputDataConfig InputDataConfig
{
get { return this._inputDataConfig; }
set { this._inputDataConfig = value; }
}
// Check to see if InputDataConfig property is set
internal bool IsSetInputDataConfig()
{
return this._inputDataConfig != null;
}
///
/// Gets and sets the property JobName.
///
/// The identifier of the job.
///
///
[AWSProperty(Min=1, Max=256)]
public string JobName
{
get { return this._jobName; }
set { this._jobName = value; }
}
// Check to see if JobName property is set
internal bool IsSetJobName()
{
return this._jobName != null;
}
///
/// Gets and sets the property KMSKey.
///
/// An AWS Key Management Service key to encrypt your output files. If you do not specify
/// a key, the files are written in plain text.
///
///
[AWSProperty(Min=1, Max=2048)]
public string KMSKey
{
get { return this._kmsKey; }
set { this._kmsKey = value; }
}
// Check to see if KMSKey property is set
internal bool IsSetKMSKey()
{
return this._kmsKey != null;
}
///
/// Gets and sets the property LanguageCode.
///
/// The language of the input documents. All documents must be in the same language.
///
///
[AWSProperty(Required=true)]
public LanguageCode LanguageCode
{
get { return this._languageCode; }
set { this._languageCode = value; }
}
// Check to see if LanguageCode property is set
internal bool IsSetLanguageCode()
{
return this._languageCode != null;
}
///
/// Gets and sets the property OutputDataConfig.
///
/// Specifies where to send the output files.
///
///
[AWSProperty(Required=true)]
public OutputDataConfig OutputDataConfig
{
get { return this._outputDataConfig; }
set { this._outputDataConfig = value; }
}
// Check to see if OutputDataConfig property is set
internal bool IsSetOutputDataConfig()
{
return this._outputDataConfig != null;
}
}
}