/*
* 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
{
///
/// The attribute details on a specific Savings Plan.
///
public partial class SavingsPlansDetails
{
private string _instanceFamily;
private string _offeringId;
private string _region;
///
/// Gets and sets the property InstanceFamily.
///
/// A group of instance types that Savings Plans applies to.
///
///
[AWSProperty(Min=0, Max=1024)]
public string InstanceFamily
{
get { return this._instanceFamily; }
set { this._instanceFamily = value; }
}
// Check to see if InstanceFamily property is set
internal bool IsSetInstanceFamily()
{
return this._instanceFamily != null;
}
///
/// Gets and sets the property OfferingId.
///
/// The unique ID that's used to distinguish Savings Plans from one another.
///
///
[AWSProperty(Min=0, Max=1024)]
public string OfferingId
{
get { return this._offeringId; }
set { this._offeringId = value; }
}
// Check to see if OfferingId property is set
internal bool IsSetOfferingId()
{
return this._offeringId != null;
}
///
/// Gets and sets the property Region.
///
/// A collection of Amazon Web Services resources in a geographic area. Each Amazon Web
/// Services Region is isolated and independent of the other Regions.
///
///
[AWSProperty(Min=0, Max=1024)]
public string Region
{
get { return this._region; }
set { this._region = value; }
}
// Check to see if Region property is set
internal bool IsSetRegion()
{
return this._region != null;
}
}
}