AWS SDK for C++

AWS SDK for C++ Version 1.11.868

Loading...
Searching...
No Matches
ProfileLimitValue.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/LimitUnit.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API ProfileLimitValue() = default;
31 AWS_QUICKSIGHT_API ProfileLimitValue(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline long long GetMaxValue() const { return m_maxValue; }
40 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
41 inline void SetMaxValue(long long value) {
42 m_maxValueHasBeenSet = true;
43 m_maxValue = value;
44 }
45 inline ProfileLimitValue& WithMaxValue(long long value) {
46 SetMaxValue(value);
47 return *this;
48 }
50
52
55 inline LimitUnit GetUnit() const { return m_unit; }
56 inline bool UnitHasBeenSet() const { return m_unitHasBeenSet; }
57 inline void SetUnit(LimitUnit value) {
58 m_unitHasBeenSet = true;
59 m_unit = value;
60 }
62 SetUnit(value);
63 return *this;
64 }
66 private:
67 long long m_maxValue{0};
68
70 bool m_maxValueHasBeenSet = false;
71 bool m_unitHasBeenSet = false;
72};
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
AWS_QUICKSIGHT_API ProfileLimitValue & operator=(Aws::Utils::Json::JsonView jsonValue)
ProfileLimitValue & WithUnit(LimitUnit value)
AWS_QUICKSIGHT_API ProfileLimitValue()=default
ProfileLimitValue & WithMaxValue(long long value)
AWS_QUICKSIGHT_API ProfileLimitValue(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue