AWS SDK for C++  1.9.154
AWS SDK for C++
USD.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace SageMaker
20 {
21 namespace Model
22 {
23 
31  {
32  public:
33  USD();
37 
38 
42  inline int GetDollars() const{ return m_dollars; }
43 
47  inline bool DollarsHasBeenSet() const { return m_dollarsHasBeenSet; }
48 
52  inline void SetDollars(int value) { m_dollarsHasBeenSet = true; m_dollars = value; }
53 
57  inline USD& WithDollars(int value) { SetDollars(value); return *this;}
58 
59 
63  inline int GetCents() const{ return m_cents; }
64 
68  inline bool CentsHasBeenSet() const { return m_centsHasBeenSet; }
69 
73  inline void SetCents(int value) { m_centsHasBeenSet = true; m_cents = value; }
74 
78  inline USD& WithCents(int value) { SetCents(value); return *this;}
79 
80 
84  inline int GetTenthFractionsOfACent() const{ return m_tenthFractionsOfACent; }
85 
89  inline bool TenthFractionsOfACentHasBeenSet() const { return m_tenthFractionsOfACentHasBeenSet; }
90 
94  inline void SetTenthFractionsOfACent(int value) { m_tenthFractionsOfACentHasBeenSet = true; m_tenthFractionsOfACent = value; }
95 
99  inline USD& WithTenthFractionsOfACent(int value) { SetTenthFractionsOfACent(value); return *this;}
100 
101  private:
102 
103  int m_dollars;
104  bool m_dollarsHasBeenSet;
105 
106  int m_cents;
107  bool m_centsHasBeenSet;
108 
109  int m_tenthFractionsOfACent;
110  bool m_tenthFractionsOfACentHasBeenSet;
111  };
112 
113 } // namespace Model
114 } // namespace SageMaker
115 } // namespace Aws
Aws::SageMaker::Model::USD::TenthFractionsOfACentHasBeenSet
bool TenthFractionsOfACentHasBeenSet() const
Definition: USD.h:89
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::USD::operator=
USD & operator=(Aws::Utils::Json::JsonView jsonValue)
SageMaker_EXPORTS.h
Aws::SageMaker::Model::USD::GetTenthFractionsOfACent
int GetTenthFractionsOfACent() const
Definition: USD.h:84
Aws::SageMaker::Model::USD::DollarsHasBeenSet
bool DollarsHasBeenSet() const
Definition: USD.h:47
Aws::SageMaker::Model::USD::SetCents
void SetCents(int value)
Definition: USD.h:73
Aws::SageMaker::Model::USD::GetCents
int GetCents() const
Definition: USD.h:63
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::USD
Definition: USD.h:31
Aws::SageMaker::Model::USD::WithDollars
USD & WithDollars(int value)
Definition: USD.h:57
Aws::SageMaker::Model::USD::SetTenthFractionsOfACent
void SetTenthFractionsOfACent(int value)
Definition: USD.h:94
Aws::SageMaker::Model::USD::USD
USD(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::USD::CentsHasBeenSet
bool CentsHasBeenSet() const
Definition: USD.h:68
Aws::SageMaker::Model::USD::SetDollars
void SetDollars(int value)
Definition: USD.h:52
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::USD::WithTenthFractionsOfACent
USD & WithTenthFractionsOfACent(int value)
Definition: USD.h:99
Aws::SageMaker::Model::USD::GetDollars
int GetDollars() const
Definition: USD.h:42
Aws::SageMaker::Model::USD::USD
USD()
Aws::SageMaker::Model::USD::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::USD::WithCents
USD & WithCents(int value)
Definition: USD.h:78