/*
* 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 sagemaker-2017-07-24.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.SageMaker.Model
{
///
/// Represents an amount of money in United States dollars.
///
public partial class USD
{
private int? _cents;
private int? _dollars;
private int? _tenthFractionsOfACent;
///
/// Gets and sets the property Cents.
///
/// The fractional portion, in cents, of the amount.
///
///
[AWSProperty(Min=0, Max=99)]
public int Cents
{
get { return this._cents.GetValueOrDefault(); }
set { this._cents = value; }
}
// Check to see if Cents property is set
internal bool IsSetCents()
{
return this._cents.HasValue;
}
///
/// Gets and sets the property Dollars.
///
/// The whole number of dollars in the amount.
///
///
[AWSProperty(Min=0, Max=2)]
public int Dollars
{
get { return this._dollars.GetValueOrDefault(); }
set { this._dollars = value; }
}
// Check to see if Dollars property is set
internal bool IsSetDollars()
{
return this._dollars.HasValue;
}
///
/// Gets and sets the property TenthFractionsOfACent.
///
/// Fractions of a cent, in tenths.
///
///
[AWSProperty(Min=0, Max=9)]
public int TenthFractionsOfACent
{
get { return this._tenthFractionsOfACent.GetValueOrDefault(); }
set { this._tenthFractionsOfACent = value; }
}
// Check to see if TenthFractionsOfACent property is set
internal bool IsSetTenthFractionsOfACent()
{
return this._tenthFractionsOfACent.HasValue;
}
}
}