/* * 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 rds-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.RDS.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. /// /// /// /// For more information on Amazon Aurora DB clusters, see /// What is Amazon Aurora? in the Amazon Aurora User Guide. /// /// /// /// For more information on Multi-AZ DB clusters, see /// Multi-AZ DB cluster deployments in the Amazon RDS User Guide. /// /// public partial class ResetDBClusterParameterGroupRequest : AmazonRDSRequest { 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 enabled. /// /// 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 indicates whether to reset all parameters in the DB cluster parameter /// group to their default values. 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; } } }