/*
* 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 fms-2018-01-01.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.FMS.Model
{
///
/// Contains high level information about the Firewall Manager administrator account.
///
public partial class AdminAccountSummary
{
private string _adminAccount;
private bool? _defaultAdmin;
private OrganizationStatus _status;
///
/// Gets and sets the property AdminAccount.
///
/// The Amazon Web Services account ID of the Firewall Manager administrator's account.
///
///
[AWSProperty(Min=1, Max=1024)]
public string AdminAccount
{
get { return this._adminAccount; }
set { this._adminAccount = value; }
}
// Check to see if AdminAccount property is set
internal bool IsSetAdminAccount()
{
return this._adminAccount != null;
}
///
/// Gets and sets the property DefaultAdmin.
///
/// A boolean value that indicates if the administrator is the default administrator.
/// If true, then this is the default administrator account. The default administrator
/// can manage third-party firewalls and has full administrative scope. There is only
/// one default administrator account per organization. For information about Firewall
/// Manager default administrator accounts, see Managing
/// Firewall Manager administrators in the Firewall Manager Developer Guide.
///
///
public bool DefaultAdmin
{
get { return this._defaultAdmin.GetValueOrDefault(); }
set { this._defaultAdmin = value; }
}
// Check to see if DefaultAdmin property is set
internal bool IsSetDefaultAdmin()
{
return this._defaultAdmin.HasValue;
}
///
/// Gets and sets the property Status.
///
/// The current status of the request to onboard a member account as an Firewall Manager
/// administator.
///
/// -
///
///
ONBOARDING
- The account is onboarding to Firewall Manager as an administrator.
///
/// -
///
///
ONBOARDING_COMPLETE
- Firewall Manager The account is onboarded to Firewall
/// Manager as an administrator, and can perform actions on the resources defined in their
/// AdminScope.
///
/// -
///
///
OFFBOARDING
- The account is being removed as an Firewall Manager administrator.
///
/// -
///
///
OFFBOARDING_COMPLETE
- The account has been removed as an Firewall Manager
/// administrator.
///
///
///
public OrganizationStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
}