/*
* 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 securityhub-2018-10-26.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.SecurityHub.Model
{
///
/// This is the response object from the DescribeOrganizationConfiguration operation.
///
public partial class DescribeOrganizationConfigurationResponse : AmazonWebServiceResponse
{
private bool? _autoEnable;
private AutoEnableStandards _autoEnableStandards;
private bool? _memberAccountLimitReached;
///
/// Gets and sets the property AutoEnable.
///
/// Whether to automatically enable Security Hub for new accounts in the organization.
///
///
///
/// If set to true
, then Security Hub is enabled for new accounts. If set
/// to false, then new accounts are not added automatically.
///
///
public bool AutoEnable
{
get { return this._autoEnable.GetValueOrDefault(); }
set { this._autoEnable = value; }
}
// Check to see if AutoEnable property is set
internal bool IsSetAutoEnable()
{
return this._autoEnable.HasValue;
}
///
/// Gets and sets the property AutoEnableStandards.
///
/// Whether to automatically enable Security Hub default
/// standards for new member accounts in the organization.
///
///
///
/// The default value of this parameter is equal to DEFAULT
.
///
///
///
/// If equal to DEFAULT
, then Security Hub default standards are automatically
/// enabled for new member accounts. If equal to NONE
, then default standards
/// are not automatically enabled for new member accounts.
///
///
public AutoEnableStandards AutoEnableStandards
{
get { return this._autoEnableStandards; }
set { this._autoEnableStandards = value; }
}
// Check to see if AutoEnableStandards property is set
internal bool IsSetAutoEnableStandards()
{
return this._autoEnableStandards != null;
}
///
/// Gets and sets the property MemberAccountLimitReached.
///
/// Whether the maximum number of allowed member accounts are already associated with
/// the Security Hub administrator account.
///
///
public bool MemberAccountLimitReached
{
get { return this._memberAccountLimitReached.GetValueOrDefault(); }
set { this._memberAccountLimitReached = value; }
}
// Check to see if MemberAccountLimitReached property is set
internal bool IsSetMemberAccountLimitReached()
{
return this._memberAccountLimitReached.HasValue;
}
}
}