/*
* 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
{
///
/// Container for the parameters to the ListStackSets operation.
/// Returns summary information about stack sets that are associated with the user.
///
/// -
///
/// [Self-managed permissions] If you set the
CallAs
parameter to SELF
/// while signed in to your Amazon Web Services account, ListStackSets
returns
/// all self-managed stack sets in your Amazon Web Services account.
///
/// -
///
/// [Service-managed permissions] If you set the
CallAs
parameter to SELF
/// while signed in to the organization's management account, ListStackSets
/// returns all stack sets in the management account.
///
/// -
///
/// [Service-managed permissions] If you set the
CallAs
parameter to DELEGATED_ADMIN
/// while signed in to your member account, ListStackSets
returns all stack
/// sets with service-managed permissions in the management account.
///
///
///
public partial class ListStackSetsRequest : AmazonCloudFormationRequest
{
private CallAs _callAs;
private int? _maxResults;
private string _nextToken;
private StackSetStatus _status;
///
/// Gets and sets the property CallAs.
///
/// [Service-managed permissions] Specifies whether you are acting as an account administrator
/// in the management account or as a delegated administrator in a member account.
///
///
///
/// By default, SELF
is specified. Use SELF
for stack sets with
/// self-managed permissions.
///
/// -
///
/// If you are signed in to the management account, specify
SELF
.
///
/// -
///
/// If you are signed in to a delegated administrator account, specify
DELEGATED_ADMIN
.
///
///
///
/// Your Amazon Web Services account must be registered as a delegated administrator in
/// the management account. For more information, see Register
/// a delegated administrator in the CloudFormation User Guide.
///
///
///
public CallAs CallAs
{
get { return this._callAs; }
set { this._callAs = value; }
}
// Check to see if CallAs property is set
internal bool IsSetCallAs()
{
return this._callAs != null;
}
///
/// Gets and sets the property MaxResults.
///
/// The maximum number of results to be returned with a single call. If the number of
/// available results exceeds this maximum, the response includes a NextToken
/// value that you can assign to the NextToken
request parameter to get the
/// next set of results.
///
///
[AWSProperty(Min=1, Max=100)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
///
/// Gets and sets the property NextToken.
///
/// If the previous paginated request didn't return all the remaining results, the response
/// object's NextToken
parameter value is set to a token. To retrieve the
/// next set of results, call ListStackSets
again and assign that token to
/// the request object's NextToken
parameter. If there are no remaining results,
/// the previous response object's NextToken
parameter is set to null
.
///
///
[AWSProperty(Min=1, Max=1024)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the stack sets that you want to get summary information about.
///
///
public StackSetStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}