/*
* 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 GroupResources operation.
///
public partial class GroupResourcesResponse : 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 ARNs of any resources that this operation failed to add to the group.
///
///
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 ARNs of any resources that this operation is still in the process adding
/// to the group. These pending additions continue asynchronously. You can check the status
/// of pending additions by using the ListGroupResources
operation,
/// and checking the Resources
array in the response and the Status
/// field of each object in that array.
///
///
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 ARNs of the resources that this operation successfully added to the group.
///
///
[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;
}
}
}