/*
* 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 DescribeOrderableDBInstanceOptions operation.
/// Returns a list of orderable DB instance options for the specified DB engine, DB engine
/// version, and DB instance class.
///
public partial class DescribeOrderableDBInstanceOptionsRequest : AmazonRDSRequest
{
private string _availabilityZoneGroup;
private string _dbInstanceClass;
private string _engine;
private string _engineVersion;
private List _filters = new List();
private string _licenseModel;
private string _marker;
private int? _maxRecords;
private bool? _vpc;
///
/// Gets and sets the property AvailabilityZoneGroup.
///
/// The Availability Zone group associated with a Local Zone. Specify this parameter to
/// retrieve available offerings for the Local Zones in the group.
///
///
///
/// Omit this parameter to show the available offerings in the specified Amazon Web Services
/// Region.
///
///
///
/// This setting doesn't apply to RDS Custom.
///
///
public string AvailabilityZoneGroup
{
get { return this._availabilityZoneGroup; }
set { this._availabilityZoneGroup = value; }
}
// Check to see if AvailabilityZoneGroup property is set
internal bool IsSetAvailabilityZoneGroup()
{
return this._availabilityZoneGroup != null;
}
///
/// Gets and sets the property DBInstanceClass.
///
/// The DB instance class filter value. Specify this parameter to show only the available
/// offerings matching the specified DB instance class.
///
///
public string DBInstanceClass
{
get { return this._dbInstanceClass; }
set { this._dbInstanceClass = value; }
}
// Check to see if DBInstanceClass property is set
internal bool IsSetDBInstanceClass()
{
return this._dbInstanceClass != null;
}
///
/// Gets and sets the property Engine.
///
/// The name of the engine to retrieve DB instance options for.
///
///
///
/// Valid Values:
///
/// -
///
///
aurora-mysql
///
/// -
///
///
aurora-postgresql
///
/// -
///
///
custom-oracle-ee
///
/// -
///
///
mariadb
///
/// -
///
///
mysql
///
/// -
///
///
oracle-ee
///
/// -
///
///
oracle-ee-cdb
///
/// -
///
///
oracle-se2
///
/// -
///
///
oracle-se2-cdb
///
/// -
///
///
postgres
///
/// -
///
///
sqlserver-ee
///
/// -
///
///
sqlserver-se
///
/// -
///
///
sqlserver-ex
///
/// -
///
///
sqlserver-web
///
///
///
[AWSProperty(Required=true)]
public string Engine
{
get { return this._engine; }
set { this._engine = value; }
}
// Check to see if Engine property is set
internal bool IsSetEngine()
{
return this._engine != null;
}
///
/// Gets and sets the property EngineVersion.
///
/// The engine version filter value. Specify this parameter to show only the available
/// offerings matching the specified engine version.
///
///
public string EngineVersion
{
get { return this._engineVersion; }
set { this._engineVersion = value; }
}
// Check to see if EngineVersion property is set
internal bool IsSetEngineVersion()
{
return this._engineVersion != null;
}
///
/// Gets and sets the property Filters.
///
/// This parameter isn't currently supported.
///
///
public List Filters
{
get { return this._filters; }
set { this._filters = value; }
}
// Check to see if Filters property is set
internal bool IsSetFilters()
{
return this._filters != null && this._filters.Count > 0;
}
///
/// Gets and sets the property LicenseModel.
///
/// The license model filter value. Specify this parameter to show only the available
/// offerings matching the specified license model.
///
///
///
/// RDS Custom supports only the BYOL licensing model.
///
///
public string LicenseModel
{
get { return this._licenseModel; }
set { this._licenseModel = value; }
}
// Check to see if LicenseModel property is set
internal bool IsSetLicenseModel()
{
return this._licenseModel != null;
}
///
/// Gets and sets the property Marker.
///
/// An optional pagination token provided by a previous DescribeOrderableDBInstanceOptions
/// request. If this parameter is specified, the response includes only records beyond
/// the marker, up to the value specified by MaxRecords
.
///
///
public string Marker
{
get { return this._marker; }
set { this._marker = value; }
}
// Check to see if Marker property is set
internal bool IsSetMarker()
{
return this._marker != null;
}
///
/// Gets and sets the property MaxRecords.
///
/// The maximum number of records to include in the response. If more records exist than
/// the specified MaxRecords
value, a pagination token called a marker is
/// included in the response so that you can retrieve the remaining results.
///
///
///
/// Default: 100
///
///
///
/// Constraints: Minimum 20, maximum 10000.
///
///
public int MaxRecords
{
get { return this._maxRecords.GetValueOrDefault(); }
set { this._maxRecords = value; }
}
// Check to see if MaxRecords property is set
internal bool IsSetMaxRecords()
{
return this._maxRecords.HasValue;
}
///
/// Gets and sets the property Vpc.
///
/// A value that indicates whether to show only VPC or non-VPC offerings. RDS Custom supports
/// only VPC offerings.
///
///
///
/// RDS Custom supports only VPC offerings. If you describe non-VPC offerings for RDS
/// Custom, the output shows VPC offerings.
///
///
public bool Vpc
{
get { return this._vpc.GetValueOrDefault(); }
set { this._vpc = value; }
}
// Check to see if Vpc property is set
internal bool IsSetVpc()
{
return this._vpc.HasValue;
}
}
}