/*
* 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 translate-2017-07-01.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.Translate.Model
{
///
/// This is the response object from the UpdateParallelData operation.
///
public partial class UpdateParallelDataResponse : AmazonWebServiceResponse
{
private DateTime? _latestUpdateAttemptAt;
private ParallelDataStatus _latestUpdateAttemptStatus;
private string _name;
private ParallelDataStatus _status;
///
/// Gets and sets the property LatestUpdateAttemptAt.
///
/// The time that the most recent update was attempted.
///
///
public DateTime LatestUpdateAttemptAt
{
get { return this._latestUpdateAttemptAt.GetValueOrDefault(); }
set { this._latestUpdateAttemptAt = value; }
}
// Check to see if LatestUpdateAttemptAt property is set
internal bool IsSetLatestUpdateAttemptAt()
{
return this._latestUpdateAttemptAt.HasValue;
}
///
/// Gets and sets the property LatestUpdateAttemptStatus.
///
/// The status of the parallel data update attempt. When the updated parallel data resource
/// is ready for you to use, the status is ACTIVE
.
///
///
public ParallelDataStatus LatestUpdateAttemptStatus
{
get { return this._latestUpdateAttemptStatus; }
set { this._latestUpdateAttemptStatus = value; }
}
// Check to see if LatestUpdateAttemptStatus property is set
internal bool IsSetLatestUpdateAttemptStatus()
{
return this._latestUpdateAttemptStatus != null;
}
///
/// Gets and sets the property Name.
///
/// The name of the parallel data resource being updated.
///
///
[AWSProperty(Min=1, Max=256)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the parallel data resource that you are attempting to update. Your update
/// request is accepted only if this status is either ACTIVE
or FAILED
.
///
///
public ParallelDataStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}