AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
USD.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker
20{
21namespace Model
22{
23
30 class USD
31 {
32 public:
33 AWS_SAGEMAKER_API USD();
34 AWS_SAGEMAKER_API USD(Aws::Utils::Json::JsonView jsonValue);
35 AWS_SAGEMAKER_API USD& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
43 inline int GetDollars() const{ return m_dollars; }
44 inline bool DollarsHasBeenSet() const { return m_dollarsHasBeenSet; }
45 inline void SetDollars(int value) { m_dollarsHasBeenSet = true; m_dollars = value; }
46 inline USD& WithDollars(int value) { SetDollars(value); return *this;}
48
50
53 inline int GetCents() const{ return m_cents; }
54 inline bool CentsHasBeenSet() const { return m_centsHasBeenSet; }
55 inline void SetCents(int value) { m_centsHasBeenSet = true; m_cents = value; }
56 inline USD& WithCents(int value) { SetCents(value); return *this;}
58
60
63 inline int GetTenthFractionsOfACent() const{ return m_tenthFractionsOfACent; }
64 inline bool TenthFractionsOfACentHasBeenSet() const { return m_tenthFractionsOfACentHasBeenSet; }
65 inline void SetTenthFractionsOfACent(int value) { m_tenthFractionsOfACentHasBeenSet = true; m_tenthFractionsOfACent = value; }
66 inline USD& WithTenthFractionsOfACent(int value) { SetTenthFractionsOfACent(value); return *this;}
68 private:
69
70 int m_dollars;
71 bool m_dollarsHasBeenSet = false;
72
73 int m_cents;
74 bool m_centsHasBeenSet = false;
75
76 int m_tenthFractionsOfACent;
77 bool m_tenthFractionsOfACentHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace SageMaker
82} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
USD & WithCents(int value)
Definition USD.h:56
void SetDollars(int value)
Definition USD.h:45
int GetCents() const
Definition USD.h:53
AWS_SAGEMAKER_API USD(Aws::Utils::Json::JsonView jsonValue)
USD & WithDollars(int value)
Definition USD.h:46
void SetCents(int value)
Definition USD.h:55
void SetTenthFractionsOfACent(int value)
Definition USD.h:65
bool TenthFractionsOfACentHasBeenSet() const
Definition USD.h:64
AWS_SAGEMAKER_API USD & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetDollars() const
Definition USD.h:43
bool CentsHasBeenSet() const
Definition USD.h:54
bool DollarsHasBeenSet() const
Definition USD.h:44
int GetTenthFractionsOfACent() const
Definition USD.h:63
USD & WithTenthFractionsOfACent(int value)
Definition USD.h:66
AWS_SAGEMAKER_API USD()
Aws::Utils::Json::JsonValue JsonValue