/*
* 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 resource-groups-2017-11-27.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.ResourceGroups.Model
{
///
/// This is the response object from the UngroupResources operation.
///
public partial class UngroupResourcesResponse : AmazonWebServiceResponse
{
private List _failed = new List();
private List _pending = new List();
private List _succeeded = new List();
///
/// Gets and sets the property Failed.
///
/// A list of any resources that failed to be removed from the group by this operation.
///
///
public List Failed
{
get { return this._failed; }
set { this._failed = value; }
}
// Check to see if Failed property is set
internal bool IsSetFailed()
{
return this._failed != null && this._failed.Count > 0;
}
///
/// Gets and sets the property Pending.
///
/// A list of any resources that are still in the process of being removed from the group
/// by this operation. These pending removals continue asynchronously. You can check the
/// status of pending removals by using the ListGroupResources
operation.
/// After the resource is successfully removed, it no longer appears in the response.
///
///
public List Pending
{
get { return this._pending; }
set { this._pending = value; }
}
// Check to see if Pending property is set
internal bool IsSetPending()
{
return this._pending != null && this._pending.Count > 0;
}
///
/// Gets and sets the property Succeeded.
///
/// A list of resources that were successfully removed from the group by this operation.
///
///
[AWSProperty(Min=1, Max=10)]
public List Succeeded
{
get { return this._succeeded; }
set { this._succeeded = value; }
}
// Check to see if Succeeded property is set
internal bool IsSetSucceeded()
{
return this._succeeded != null && this._succeeded.Count > 0;
}
}
}