/*
* 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 networkmanager-2019-07-05.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.NetworkManager.Model
{
///
/// The status of an Amazon Web Services Organization and the accounts within that organization.
///
public partial class OrganizationStatus
{
private List _accountStatusList = new List();
private string _organizationAwsServiceAccessStatus;
private string _organizationId;
private string _slrDeploymentStatus;
///
/// Gets and sets the property AccountStatusList.
///
/// The current service-linked role (SLR) deployment status for an Amazon Web Services
/// Organization's accounts. This will be either SUCCEEDED
or IN_PROGRESS
.
///
///
public List AccountStatusList
{
get { return this._accountStatusList; }
set { this._accountStatusList = value; }
}
// Check to see if AccountStatusList property is set
internal bool IsSetAccountStatusList()
{
return this._accountStatusList != null && this._accountStatusList.Count > 0;
}
///
/// Gets and sets the property OrganizationAwsServiceAccessStatus.
///
/// The status of the organization's AWS service access. This will be ENABLED
/// or DISABLED
.
///
///
[AWSProperty(Min=0, Max=50)]
public string OrganizationAwsServiceAccessStatus
{
get { return this._organizationAwsServiceAccessStatus; }
set { this._organizationAwsServiceAccessStatus = value; }
}
// Check to see if OrganizationAwsServiceAccessStatus property is set
internal bool IsSetOrganizationAwsServiceAccessStatus()
{
return this._organizationAwsServiceAccessStatus != null;
}
///
/// Gets and sets the property OrganizationId.
///
/// The ID of an Amazon Web Services Organization.
///
///
[AWSProperty(Min=0, Max=50)]
public string OrganizationId
{
get { return this._organizationId; }
set { this._organizationId = value; }
}
// Check to see if OrganizationId property is set
internal bool IsSetOrganizationId()
{
return this._organizationId != null;
}
///
/// Gets and sets the property SLRDeploymentStatus.
///
/// The status of the SLR deployment for the account. This will be either SUCCEEDED
/// or IN_PROGRESS
.
///
///
[AWSProperty(Min=0, Max=50)]
public string SLRDeploymentStatus
{
get { return this._slrDeploymentStatus; }
set { this._slrDeploymentStatus = value; }
}
// Check to see if SLRDeploymentStatus property is set
internal bool IsSetSLRDeploymentStatus()
{
return this._slrDeploymentStatus != null;
}
}
}