/* * 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 ce-2017-10-25.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.CostExplorer.Model { /// /// This is the response object from the GetRightsizingRecommendation operation. /// public partial class GetRightsizingRecommendationResponse : AmazonWebServiceResponse { private RightsizingRecommendationConfiguration _configuration; private RightsizingRecommendationMetadata _metadata; private string _nextPageToken; private List _rightsizingRecommendations = new List(); private RightsizingRecommendationSummary _summary; /// /// Gets and sets the property Configuration. /// /// You can use Configuration to customize recommendations across two attributes. You /// can choose to view recommendations for instances within the same instance families /// or across different instance families. You can also choose to view your estimated /// savings that are associated with recommendations with consideration of existing Savings /// Plans or RI benefits, or neither. /// /// public RightsizingRecommendationConfiguration Configuration { get { return this._configuration; } set { this._configuration = value; } } // Check to see if Configuration property is set internal bool IsSetConfiguration() { return this._configuration != null; } /// /// Gets and sets the property Metadata. /// /// Information regarding this specific recommendation set. /// /// public RightsizingRecommendationMetadata Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null; } /// /// Gets and sets the property NextPageToken. /// /// The token to retrieve the next set of results. /// /// [AWSProperty(Min=0, Max=8192)] public string NextPageToken { get { return this._nextPageToken; } set { this._nextPageToken = value; } } // Check to see if NextPageToken property is set internal bool IsSetNextPageToken() { return this._nextPageToken != null; } /// /// Gets and sets the property RightsizingRecommendations. /// /// Recommendations to rightsize resources. /// /// public List RightsizingRecommendations { get { return this._rightsizingRecommendations; } set { this._rightsizingRecommendations = value; } } // Check to see if RightsizingRecommendations property is set internal bool IsSetRightsizingRecommendations() { return this._rightsizingRecommendations != null && this._rightsizingRecommendations.Count > 0; } /// /// Gets and sets the property Summary. /// /// Summary of this recommendation set. /// /// public RightsizingRecommendationSummary Summary { get { return this._summary; } set { this._summary = value; } } // Check to see if Summary property is set internal bool IsSetSummary() { return this._summary != null; } } }