/* * 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 neptune-2014-10-31.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.Neptune.Model { /// /// Container for the parameters to the ResetDBClusterParameterGroup operation. /// Modifies the parameters of a DB cluster parameter group to the default value. To /// reset specific parameters submit a list of the following: ParameterName /// and ApplyMethod. To reset the entire DB cluster parameter group, specify /// the DBClusterParameterGroupName and ResetAllParameters parameters. /// /// /// /// When resetting the entire group, dynamic parameters are updated immediately and static /// parameters are set to pending-reboot to take effect on the next DB instance /// restart or RebootDBInstance request. You must call RebootDBInstance /// for every DB instance in your DB cluster that you want the updated static parameter /// to apply to. /// /// public partial class ResetDBClusterParameterGroupRequest : AmazonNeptuneRequest { private string _dbClusterParameterGroupName; private List _parameters = new List(); private bool? _resetAllParameters; /// /// Gets and sets the property DBClusterParameterGroupName. /// /// The name of the DB cluster parameter group to reset. /// /// [AWSProperty(Required=true)] public string DBClusterParameterGroupName { get { return this._dbClusterParameterGroupName; } set { this._dbClusterParameterGroupName = value; } } // Check to see if DBClusterParameterGroupName property is set internal bool IsSetDBClusterParameterGroupName() { return this._dbClusterParameterGroupName != null; } /// /// Gets and sets the property Parameters. /// /// A list of parameter names in the DB cluster parameter group to reset to the default /// values. You can't use this parameter if the ResetAllParameters parameter /// is set to true. /// /// public List Parameters { get { return this._parameters; } set { this._parameters = value; } } // Check to see if Parameters property is set internal bool IsSetParameters() { return this._parameters != null && this._parameters.Count > 0; } /// /// Gets and sets the property ResetAllParameters. /// /// A value that is set to true to reset all parameters in the DB cluster /// parameter group to their default values, and false otherwise. You can't /// use this parameter if there is a list of parameter names specified for the Parameters /// parameter. /// /// public bool ResetAllParameters { get { return this._resetAllParameters.GetValueOrDefault(); } set { this._resetAllParameters = value; } } // Check to see if ResetAllParameters property is set internal bool IsSetResetAllParameters() { return this._resetAllParameters.HasValue; } } }