/*
* 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 cloudformation-2010-05-15.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.CloudFormation.Model
{
///
/// The structure that contains information about a specified operation's results for
/// a given account in a given Region.
///
public partial class StackSetOperationResultSummary
{
private string _account;
private AccountGateResult _accountGateResult;
private string _organizationalUnitId;
private string _region;
private StackSetOperationResultStatus _status;
private string _statusReason;
///
/// Gets and sets the property Account.
///
/// [Self-managed permissions] The name of the Amazon Web Services account for this operation
/// result.
///
///
public string Account
{
get { return this._account; }
set { this._account = value; }
}
// Check to see if Account property is set
internal bool IsSetAccount()
{
return this._account != null;
}
///
/// Gets and sets the property AccountGateResult.
///
/// The results of the account gate function CloudFormation invokes, if present, before
/// proceeding with stack set operations in an account.
///
///
public AccountGateResult AccountGateResult
{
get { return this._accountGateResult; }
set { this._accountGateResult = value; }
}
// Check to see if AccountGateResult property is set
internal bool IsSetAccountGateResult()
{
return this._accountGateResult != null;
}
///
/// Gets and sets the property OrganizationalUnitId.
///
/// [Service-managed permissions] The organization root ID or organizational unit (OU)
/// IDs that you specified for DeploymentTargets.
///
///
public string OrganizationalUnitId
{
get { return this._organizationalUnitId; }
set { this._organizationalUnitId = value; }
}
// Check to see if OrganizationalUnitId property is set
internal bool IsSetOrganizationalUnitId()
{
return this._organizationalUnitId != null;
}
///
/// Gets and sets the property Region.
///
/// The name of the Amazon Web Services Region for this operation result.
///
///
public string Region
{
get { return this._region; }
set { this._region = value; }
}
// Check to see if Region property is set
internal bool IsSetRegion()
{
return this._region != null;
}
///
/// Gets and sets the property Status.
///
/// The result status of the stack set operation for the given account in the given Region.
///
/// -
///
///
CANCELLED
: The operation in the specified account and Region has been
/// canceled. This is either because a user has stopped the stack set operation, or because
/// the failure tolerance of the stack set operation has been exceeded.
///
/// -
///
///
FAILED
: The operation in the specified account and Region failed.
///
///
///
/// If the stack set operation fails in enough accounts within a Region, the failure tolerance
/// for the stack set operation as a whole might be exceeded.
///
/// -
///
///
RUNNING
: The operation in the specified account and Region is currently
/// in progress.
///
/// -
///
///
PENDING
: The operation in the specified account and Region has yet to
/// start.
///
/// -
///
///
SUCCEEDED
: The operation in the specified account and Region completed
/// successfully.
///
///
///
public StackSetOperationResultStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property StatusReason.
///
/// The reason for the assigned result status.
///
///
public string StatusReason
{
get { return this._statusReason; }
set { this._statusReason = value; }
}
// Check to see if StatusReason property is set
internal bool IsSetStatusReason()
{
return this._statusReason != null;
}
}
}