/* * 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 ResetDBParameterGroup operation. /// Modifies the parameters of a DB parameter group to the engine/system default value. /// To reset specific parameters, provide a list of the following: ParameterName /// and ApplyMethod. To reset the entire DB parameter group, specify the /// DBParameterGroup name 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. /// public partial class ResetDBParameterGroupRequest : AmazonNeptuneRequest { private string _dbParameterGroupName; private List _parameters = new List(); private bool? _resetAllParameters; /// /// Gets and sets the property DBParameterGroupName. /// /// The name of the DB parameter group. /// /// /// /// Constraints: /// ///
  • /// /// Must match the name of an existing DBParameterGroup. /// ///
///
[AWSProperty(Required=true)] public string DBParameterGroupName { get { return this._dbParameterGroupName; } set { this._dbParameterGroupName = value; } } // Check to see if DBParameterGroupName property is set internal bool IsSetDBParameterGroupName() { return this._dbParameterGroupName != null; } /// /// Gets and sets the property Parameters. /// /// To reset the entire DB parameter group, specify the DBParameterGroup /// name and ResetAllParameters parameters. To reset specific parameters, /// provide a list of the following: ParameterName and ApplyMethod. /// A maximum of 20 parameters can be modified in a single request. /// /// /// /// Valid Values (for Apply method): pending-reboot /// /// 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. /// /// Specifies whether (true) or not (false) to reset all parameters /// in the DB parameter group to default values. /// /// /// /// Default: true /// /// 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; } } }