/*
* 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 greengrass-2017-06-07.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.Greengrass.Model
{
///
/// This is the response object from the GetBulkDeploymentStatus operation.
///
public partial class GetBulkDeploymentStatusResponse : AmazonWebServiceResponse
{
private BulkDeploymentMetrics _bulkDeploymentMetrics;
private BulkDeploymentStatus _bulkDeploymentStatus;
private string _createdAt;
private List _errorDetails = new List();
private string _errorMessage;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property BulkDeploymentMetrics. Relevant metrics on input records
/// processed during bulk deployment.
///
public BulkDeploymentMetrics BulkDeploymentMetrics
{
get { return this._bulkDeploymentMetrics; }
set { this._bulkDeploymentMetrics = value; }
}
// Check to see if BulkDeploymentMetrics property is set
internal bool IsSetBulkDeploymentMetrics()
{
return this._bulkDeploymentMetrics != null;
}
///
/// Gets and sets the property BulkDeploymentStatus. The status of the bulk deployment.
///
public BulkDeploymentStatus BulkDeploymentStatus
{
get { return this._bulkDeploymentStatus; }
set { this._bulkDeploymentStatus = value; }
}
// Check to see if BulkDeploymentStatus property is set
internal bool IsSetBulkDeploymentStatus()
{
return this._bulkDeploymentStatus != null;
}
///
/// Gets and sets the property CreatedAt. The time, in ISO format, when the deployment
/// was created.
///
public string CreatedAt
{
get { return this._createdAt; }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt != null;
}
///
/// Gets and sets the property ErrorDetails. Error details
///
public List ErrorDetails
{
get { return this._errorDetails; }
set { this._errorDetails = value; }
}
// Check to see if ErrorDetails property is set
internal bool IsSetErrorDetails()
{
return this._errorDetails != null && this._errorDetails.Count > 0;
}
///
/// Gets and sets the property ErrorMessage. Error message
///
public string ErrorMessage
{
get { return this._errorMessage; }
set { this._errorMessage = value; }
}
// Check to see if ErrorMessage property is set
internal bool IsSetErrorMessage()
{
return this._errorMessage != null;
}
///
/// Gets and sets the property Tags. Tag(s) attached to the resource arn.
///
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}