AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntegerDefaultValues.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/DynamicDefaultValue.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API IntegerDefaultValues();
37 AWS_QUICKSIGHT_API IntegerDefaultValues(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const DynamicDefaultValue& GetDynamicValue() const{ return m_dynamicValue; }
48 inline bool DynamicValueHasBeenSet() const { return m_dynamicValueHasBeenSet; }
49 inline void SetDynamicValue(const DynamicDefaultValue& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = value; }
50 inline void SetDynamicValue(DynamicDefaultValue&& value) { m_dynamicValueHasBeenSet = true; m_dynamicValue = std::move(value); }
51 inline IntegerDefaultValues& WithDynamicValue(const DynamicDefaultValue& value) { SetDynamicValue(value); return *this;}
52 inline IntegerDefaultValues& WithDynamicValue(DynamicDefaultValue&& value) { SetDynamicValue(std::move(value)); return *this;}
54
56
59 inline const Aws::Vector<long long>& GetStaticValues() const{ return m_staticValues; }
60 inline bool StaticValuesHasBeenSet() const { return m_staticValuesHasBeenSet; }
61 inline void SetStaticValues(const Aws::Vector<long long>& value) { m_staticValuesHasBeenSet = true; m_staticValues = value; }
62 inline void SetStaticValues(Aws::Vector<long long>&& value) { m_staticValuesHasBeenSet = true; m_staticValues = std::move(value); }
63 inline IntegerDefaultValues& WithStaticValues(const Aws::Vector<long long>& value) { SetStaticValues(value); return *this;}
64 inline IntegerDefaultValues& WithStaticValues(Aws::Vector<long long>&& value) { SetStaticValues(std::move(value)); return *this;}
65 inline IntegerDefaultValues& AddStaticValues(long long value) { m_staticValuesHasBeenSet = true; m_staticValues.push_back(value); return *this; }
67 private:
68
69 DynamicDefaultValue m_dynamicValue;
70 bool m_dynamicValueHasBeenSet = false;
71
72 Aws::Vector<long long> m_staticValues;
73 bool m_staticValuesHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace QuickSight
78} // namespace Aws
IntegerDefaultValues & WithDynamicValue(DynamicDefaultValue &&value)
void SetStaticValues(Aws::Vector< long long > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const DynamicDefaultValue & GetDynamicValue() const
const Aws::Vector< long long > & GetStaticValues() const
AWS_QUICKSIGHT_API IntegerDefaultValues(Aws::Utils::Json::JsonView jsonValue)
void SetDynamicValue(const DynamicDefaultValue &value)
void SetDynamicValue(DynamicDefaultValue &&value)
void SetStaticValues(const Aws::Vector< long long > &value)
IntegerDefaultValues & WithStaticValues(const Aws::Vector< long long > &value)
IntegerDefaultValues & AddStaticValues(long long value)
IntegerDefaultValues & WithDynamicValue(const DynamicDefaultValue &value)
IntegerDefaultValues & WithStaticValues(Aws::Vector< long long > &&value)
AWS_QUICKSIGHT_API IntegerDefaultValues & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue