/*
* 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 dms-2016-01-01.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.DatabaseMigrationService.Model
{
///
/// Container for the parameters to the StartRecommendations operation.
/// Starts the analysis of your source database to provide recommendations of target engines.
///
///
///
/// You can create recommendations for multiple source databases using BatchStartRecommendations.
///
///
public partial class StartRecommendationsRequest : AmazonDatabaseMigrationServiceRequest
{
private string _databaseId;
private RecommendationSettings _settings;
///
/// Gets and sets the property DatabaseId.
///
/// The identifier of the source database to analyze and provide recommendations for.
///
///
[AWSProperty(Required=true)]
public string DatabaseId
{
get { return this._databaseId; }
set { this._databaseId = value; }
}
// Check to see if DatabaseId property is set
internal bool IsSetDatabaseId()
{
return this._databaseId != null;
}
///
/// Gets and sets the property Settings.
///
/// The settings in JSON format that Fleet Advisor uses to determine target engine recommendations.
/// These parameters include target instance sizing and availability and durability settings.
/// For target instance sizing, Fleet Advisor supports the following two options: total
/// capacity and resource utilization. For availability and durability, Fleet Advisor
/// supports the following two options: production (Multi-AZ deployments) and Dev/Test
/// (Single-AZ deployments).
///
///
[AWSProperty(Required=true)]
public RecommendationSettings Settings
{
get { return this._settings; }
set { this._settings = value; }
}
// Check to see if Settings property is set
internal bool IsSetSettings()
{
return this._settings != null;
}
}
}