AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DecimalNumber.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/Array.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_GLUE_API DecimalNumber();
38
39
41
44 inline const Aws::Utils::ByteBuffer& GetUnscaledValue() const{ return m_unscaledValue; }
45 inline bool UnscaledValueHasBeenSet() const { return m_unscaledValueHasBeenSet; }
46 inline void SetUnscaledValue(const Aws::Utils::ByteBuffer& value) { m_unscaledValueHasBeenSet = true; m_unscaledValue = value; }
47 inline void SetUnscaledValue(Aws::Utils::ByteBuffer&& value) { m_unscaledValueHasBeenSet = true; m_unscaledValue = std::move(value); }
48 inline DecimalNumber& WithUnscaledValue(const Aws::Utils::ByteBuffer& value) { SetUnscaledValue(value); return *this;}
49 inline DecimalNumber& WithUnscaledValue(Aws::Utils::ByteBuffer&& value) { SetUnscaledValue(std::move(value)); return *this;}
51
53
57 inline int GetScale() const{ return m_scale; }
58 inline bool ScaleHasBeenSet() const { return m_scaleHasBeenSet; }
59 inline void SetScale(int value) { m_scaleHasBeenSet = true; m_scale = value; }
60 inline DecimalNumber& WithScale(int value) { SetScale(value); return *this;}
62 private:
63
64 Aws::Utils::ByteBuffer m_unscaledValue;
65 bool m_unscaledValueHasBeenSet = false;
66
67 int m_scale;
68 bool m_scaleHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Glue
73} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUnscaledValue(Aws::Utils::ByteBuffer &&value)
const Aws::Utils::ByteBuffer & GetUnscaledValue() const
DecimalNumber & WithUnscaledValue(const Aws::Utils::ByteBuffer &value)
DecimalNumber & WithUnscaledValue(Aws::Utils::ByteBuffer &&value)
void SetUnscaledValue(const Aws::Utils::ByteBuffer &value)
AWS_GLUE_API DecimalNumber & operator=(Aws::Utils::Json::JsonView jsonValue)
DecimalNumber & WithScale(int value)
AWS_GLUE_API DecimalNumber(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue