/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents an amount of money in United States dollars.See
* Also:
AWS API
* Reference
The whole number of dollars in the amount.
*/ inline int GetDollars() const{ return m_dollars; } /** *The whole number of dollars in the amount.
*/ inline bool DollarsHasBeenSet() const { return m_dollarsHasBeenSet; } /** *The whole number of dollars in the amount.
*/ inline void SetDollars(int value) { m_dollarsHasBeenSet = true; m_dollars = value; } /** *The whole number of dollars in the amount.
*/ inline USD& WithDollars(int value) { SetDollars(value); return *this;} /** *The fractional portion, in cents, of the amount.
*/ inline int GetCents() const{ return m_cents; } /** *The fractional portion, in cents, of the amount.
*/ inline bool CentsHasBeenSet() const { return m_centsHasBeenSet; } /** *The fractional portion, in cents, of the amount.
*/ inline void SetCents(int value) { m_centsHasBeenSet = true; m_cents = value; } /** *The fractional portion, in cents, of the amount.
*/ inline USD& WithCents(int value) { SetCents(value); return *this;} /** *Fractions of a cent, in tenths.
*/ inline int GetTenthFractionsOfACent() const{ return m_tenthFractionsOfACent; } /** *Fractions of a cent, in tenths.
*/ inline bool TenthFractionsOfACentHasBeenSet() const { return m_tenthFractionsOfACentHasBeenSet; } /** *Fractions of a cent, in tenths.
*/ inline void SetTenthFractionsOfACent(int value) { m_tenthFractionsOfACentHasBeenSet = true; m_tenthFractionsOfACent = value; } /** *Fractions of a cent, in tenths.
*/ inline USD& WithTenthFractionsOfACent(int value) { SetTenthFractionsOfACent(value); return *this;} private: int m_dollars; bool m_dollarsHasBeenSet = false; int m_cents; bool m_centsHasBeenSet = false; int m_tenthFractionsOfACent; bool m_tenthFractionsOfACentHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws