/* * 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 { /// /// Container for the parameters to the UpdateOrganizationConfiguration operation. /// Used to update the configuration related to Organizations. Can only be called from /// a Security Hub administrator account. /// public partial class UpdateOrganizationConfigurationRequest : AmazonSecurityHubRequest { private bool? _autoEnable; private AutoEnableStandards _autoEnableStandards; /// /// Gets and sets the property AutoEnable. /// /// Whether to automatically enable Security Hub for new accounts in the organization. /// /// /// /// By default, this is false, and new accounts are not added automatically. /// /// /// /// To automatically enable Security Hub for new accounts, set this to true. /// /// [AWSProperty(Required=true)] 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. /// /// /// /// By default, this parameter is equal to DEFAULT, and new member accounts /// are automatically enabled with default Security Hub standards. /// /// /// /// To opt out of enabling default standards for new member accounts, set this parameter /// equal to NONE. /// /// 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; } } }