/*
* 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 lightsail-2016-11-28.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.Lightsail.Model
{
///
/// Describes the parameters of a database.
///
public partial class RelationalDatabaseParameter
{
private string _allowedValues;
private string _applyMethod;
private string _applyType;
private string _dataType;
private string _description;
private bool? _isModifiable;
private string _parameterName;
private string _parameterValue;
///
/// Gets and sets the property AllowedValues.
///
/// Specifies the valid range of values for the parameter.
///
///
public string AllowedValues
{
get { return this._allowedValues; }
set { this._allowedValues = value; }
}
// Check to see if AllowedValues property is set
internal bool IsSetAllowedValues()
{
return this._allowedValues != null;
}
///
/// Gets and sets the property ApplyMethod.
///
/// Indicates when parameter updates are applied.
///
///
///
/// Can be immediate
or pending-reboot
.
///
///
public string ApplyMethod
{
get { return this._applyMethod; }
set { this._applyMethod = value; }
}
// Check to see if ApplyMethod property is set
internal bool IsSetApplyMethod()
{
return this._applyMethod != null;
}
///
/// Gets and sets the property ApplyType.
///
/// Specifies the engine-specific parameter type.
///
///
public string ApplyType
{
get { return this._applyType; }
set { this._applyType = value; }
}
// Check to see if ApplyType property is set
internal bool IsSetApplyType()
{
return this._applyType != null;
}
///
/// Gets and sets the property DataType.
///
/// Specifies the valid data type for the parameter.
///
///
public string DataType
{
get { return this._dataType; }
set { this._dataType = value; }
}
// Check to see if DataType property is set
internal bool IsSetDataType()
{
return this._dataType != null;
}
///
/// Gets and sets the property Description.
///
/// Provides a description of the parameter.
///
///
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
///
/// Gets and sets the property IsModifiable.
///
/// A Boolean value indicating whether the parameter can be modified.
///
///
public bool IsModifiable
{
get { return this._isModifiable.GetValueOrDefault(); }
set { this._isModifiable = value; }
}
// Check to see if IsModifiable property is set
internal bool IsSetIsModifiable()
{
return this._isModifiable.HasValue;
}
///
/// Gets and sets the property ParameterName.
///
/// Specifies the name of the parameter.
///
///
public string ParameterName
{
get { return this._parameterName; }
set { this._parameterName = value; }
}
// Check to see if ParameterName property is set
internal bool IsSetParameterName()
{
return this._parameterName != null;
}
///
/// Gets and sets the property ParameterValue.
///
/// Specifies the value of the parameter.
///
///
public string ParameterValue
{
get { return this._parameterValue; }
set { this._parameterValue = value; }
}
// Check to see if ParameterValue property is set
internal bool IsSetParameterValue()
{
return this._parameterValue != null;
}
}
}