AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CustomParameterValues.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
36 {
37 public:
38 AWS_QUICKSIGHT_API CustomParameterValues() = default;
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::Vector<Aws::String>& GetStringValues() const { return m_stringValues; }
49 inline bool StringValuesHasBeenSet() const { return m_stringValuesHasBeenSet; }
50 template<typename StringValuesT = Aws::Vector<Aws::String>>
51 void SetStringValues(StringValuesT&& value) { m_stringValuesHasBeenSet = true; m_stringValues = std::forward<StringValuesT>(value); }
52 template<typename StringValuesT = Aws::Vector<Aws::String>>
53 CustomParameterValues& WithStringValues(StringValuesT&& value) { SetStringValues(std::forward<StringValuesT>(value)); return *this;}
54 template<typename StringValuesT = Aws::String>
55 CustomParameterValues& AddStringValues(StringValuesT&& value) { m_stringValuesHasBeenSet = true; m_stringValues.emplace_back(std::forward<StringValuesT>(value)); return *this; }
57
59
62 inline const Aws::Vector<long long>& GetIntegerValues() const { return m_integerValues; }
63 inline bool IntegerValuesHasBeenSet() const { return m_integerValuesHasBeenSet; }
64 template<typename IntegerValuesT = Aws::Vector<long long>>
65 void SetIntegerValues(IntegerValuesT&& value) { m_integerValuesHasBeenSet = true; m_integerValues = std::forward<IntegerValuesT>(value); }
66 template<typename IntegerValuesT = Aws::Vector<long long>>
67 CustomParameterValues& WithIntegerValues(IntegerValuesT&& value) { SetIntegerValues(std::forward<IntegerValuesT>(value)); return *this;}
68 inline CustomParameterValues& AddIntegerValues(long long value) { m_integerValuesHasBeenSet = true; m_integerValues.push_back(value); return *this; }
70
72
75 inline const Aws::Vector<double>& GetDecimalValues() const { return m_decimalValues; }
76 inline bool DecimalValuesHasBeenSet() const { return m_decimalValuesHasBeenSet; }
77 template<typename DecimalValuesT = Aws::Vector<double>>
78 void SetDecimalValues(DecimalValuesT&& value) { m_decimalValuesHasBeenSet = true; m_decimalValues = std::forward<DecimalValuesT>(value); }
79 template<typename DecimalValuesT = Aws::Vector<double>>
80 CustomParameterValues& WithDecimalValues(DecimalValuesT&& value) { SetDecimalValues(std::forward<DecimalValuesT>(value)); return *this;}
81 inline CustomParameterValues& AddDecimalValues(double value) { m_decimalValuesHasBeenSet = true; m_decimalValues.push_back(value); return *this; }
83
85
88 inline const Aws::Vector<Aws::Utils::DateTime>& GetDateTimeValues() const { return m_dateTimeValues; }
89 inline bool DateTimeValuesHasBeenSet() const { return m_dateTimeValuesHasBeenSet; }
90 template<typename DateTimeValuesT = Aws::Vector<Aws::Utils::DateTime>>
91 void SetDateTimeValues(DateTimeValuesT&& value) { m_dateTimeValuesHasBeenSet = true; m_dateTimeValues = std::forward<DateTimeValuesT>(value); }
92 template<typename DateTimeValuesT = Aws::Vector<Aws::Utils::DateTime>>
93 CustomParameterValues& WithDateTimeValues(DateTimeValuesT&& value) { SetDateTimeValues(std::forward<DateTimeValuesT>(value)); return *this;}
94 template<typename DateTimeValuesT = Aws::Utils::DateTime>
95 CustomParameterValues& AddDateTimeValues(DateTimeValuesT&& value) { m_dateTimeValuesHasBeenSet = true; m_dateTimeValues.emplace_back(std::forward<DateTimeValuesT>(value)); return *this; }
97 private:
98
99 Aws::Vector<Aws::String> m_stringValues;
100 bool m_stringValuesHasBeenSet = false;
101
102 Aws::Vector<long long> m_integerValues;
103 bool m_integerValuesHasBeenSet = false;
104
105 Aws::Vector<double> m_decimalValues;
106 bool m_decimalValuesHasBeenSet = false;
107
108 Aws::Vector<Aws::Utils::DateTime> m_dateTimeValues;
109 bool m_dateTimeValuesHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace QuickSight
114} // namespace Aws
AWS_QUICKSIGHT_API CustomParameterValues(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< double > & GetDecimalValues() const
const Aws::Vector< long long > & GetIntegerValues() const
CustomParameterValues & AddDecimalValues(double value)
AWS_QUICKSIGHT_API CustomParameterValues()=default
CustomParameterValues & AddIntegerValues(long long value)
CustomParameterValues & AddDateTimeValues(DateTimeValuesT &&value)
CustomParameterValues & WithIntegerValues(IntegerValuesT &&value)
const Aws::Vector< Aws::Utils::DateTime > & GetDateTimeValues() const
AWS_QUICKSIGHT_API CustomParameterValues & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomParameterValues & AddStringValues(StringValuesT &&value)
CustomParameterValues & WithDateTimeValues(DateTimeValuesT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomParameterValues & WithDecimalValues(DecimalValuesT &&value)
const Aws::Vector< Aws::String > & GetStringValues() const
CustomParameterValues & WithStringValues(StringValuesT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue