AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetStringValues(const Aws::Vector<Aws::String>& value) { m_stringValuesHasBeenSet = true; m_stringValues = value; }
51 inline void SetStringValues(Aws::Vector<Aws::String>&& value) { m_stringValuesHasBeenSet = true; m_stringValues = std::move(value); }
53 inline CustomParameterValues& WithStringValues(Aws::Vector<Aws::String>&& value) { SetStringValues(std::move(value)); return *this;}
54 inline CustomParameterValues& AddStringValues(const Aws::String& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; }
55 inline CustomParameterValues& AddStringValues(Aws::String&& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(std::move(value)); return *this; }
56 inline CustomParameterValues& AddStringValues(const char* value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; }
58
60
63 inline const Aws::Vector<long long>& GetIntegerValues() const{ return m_integerValues; }
64 inline bool IntegerValuesHasBeenSet() const { return m_integerValuesHasBeenSet; }
65 inline void SetIntegerValues(const Aws::Vector<long long>& value) { m_integerValuesHasBeenSet = true; m_integerValues = value; }
66 inline void SetIntegerValues(Aws::Vector<long long>&& value) { m_integerValuesHasBeenSet = true; m_integerValues = std::move(value); }
68 inline CustomParameterValues& WithIntegerValues(Aws::Vector<long long>&& value) { SetIntegerValues(std::move(value)); return *this;}
69 inline CustomParameterValues& AddIntegerValues(long long value) { m_integerValuesHasBeenSet = true; m_integerValues.push_back(value); return *this; }
71
73
76 inline const Aws::Vector<double>& GetDecimalValues() const{ return m_decimalValues; }
77 inline bool DecimalValuesHasBeenSet() const { return m_decimalValuesHasBeenSet; }
78 inline void SetDecimalValues(const Aws::Vector<double>& value) { m_decimalValuesHasBeenSet = true; m_decimalValues = value; }
79 inline void SetDecimalValues(Aws::Vector<double>&& value) { m_decimalValuesHasBeenSet = true; m_decimalValues = std::move(value); }
80 inline CustomParameterValues& WithDecimalValues(const Aws::Vector<double>& value) { SetDecimalValues(value); return *this;}
81 inline CustomParameterValues& WithDecimalValues(Aws::Vector<double>&& value) { SetDecimalValues(std::move(value)); return *this;}
82 inline CustomParameterValues& AddDecimalValues(double value) { m_decimalValuesHasBeenSet = true; m_decimalValues.push_back(value); return *this; }
84
86
89 inline const Aws::Vector<Aws::Utils::DateTime>& GetDateTimeValues() const{ return m_dateTimeValues; }
90 inline bool DateTimeValuesHasBeenSet() const { return m_dateTimeValuesHasBeenSet; }
91 inline void SetDateTimeValues(const Aws::Vector<Aws::Utils::DateTime>& value) { m_dateTimeValuesHasBeenSet = true; m_dateTimeValues = value; }
92 inline void SetDateTimeValues(Aws::Vector<Aws::Utils::DateTime>&& value) { m_dateTimeValuesHasBeenSet = true; m_dateTimeValues = std::move(value); }
95 inline CustomParameterValues& AddDateTimeValues(const Aws::Utils::DateTime& value) { m_dateTimeValuesHasBeenSet = true; m_dateTimeValues.push_back(value); return *this; }
96 inline CustomParameterValues& AddDateTimeValues(Aws::Utils::DateTime&& value) { m_dateTimeValuesHasBeenSet = true; m_dateTimeValues.push_back(std::move(value)); return *this; }
98 private:
99
100 Aws::Vector<Aws::String> m_stringValues;
101 bool m_stringValuesHasBeenSet = false;
102
103 Aws::Vector<long long> m_integerValues;
104 bool m_integerValuesHasBeenSet = false;
105
106 Aws::Vector<double> m_decimalValues;
107 bool m_decimalValuesHasBeenSet = false;
108
109 Aws::Vector<Aws::Utils::DateTime> m_dateTimeValues;
110 bool m_dateTimeValuesHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace QuickSight
115} // namespace Aws
AWS_QUICKSIGHT_API CustomParameterValues(Aws::Utils::Json::JsonView jsonValue)
CustomParameterValues & AddDateTimeValues(Aws::Utils::DateTime &&value)
void SetIntegerValues(const Aws::Vector< long long > &value)
const Aws::Vector< double > & GetDecimalValues() const
CustomParameterValues & WithDecimalValues(Aws::Vector< double > &&value)
const Aws::Vector< long long > & GetIntegerValues() const
CustomParameterValues & WithStringValues(const Aws::Vector< Aws::String > &value)
CustomParameterValues & AddDecimalValues(double value)
CustomParameterValues & WithStringValues(Aws::Vector< Aws::String > &&value)
CustomParameterValues & AddIntegerValues(long long value)
CustomParameterValues & WithDateTimeValues(Aws::Vector< Aws::Utils::DateTime > &&value)
void SetDateTimeValues(Aws::Vector< Aws::Utils::DateTime > &&value)
CustomParameterValues & AddStringValues(const Aws::String &value)
const Aws::Vector< Aws::Utils::DateTime > & GetDateTimeValues() const
void SetStringValues(const Aws::Vector< Aws::String > &value)
AWS_QUICKSIGHT_API CustomParameterValues & operator=(Aws::Utils::Json::JsonView jsonValue)
CustomParameterValues & WithIntegerValues(Aws::Vector< long long > &&value)
void SetDecimalValues(const Aws::Vector< double > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CustomParameterValues & WithDateTimeValues(const Aws::Vector< Aws::Utils::DateTime > &value)
void SetDecimalValues(Aws::Vector< double > &&value)
CustomParameterValues & AddDateTimeValues(const Aws::Utils::DateTime &value)
void SetStringValues(Aws::Vector< Aws::String > &&value)
CustomParameterValues & WithIntegerValues(const Aws::Vector< long long > &value)
CustomParameterValues & AddStringValues(const char *value)
const Aws::Vector< Aws::String > & GetStringValues() const
CustomParameterValues & AddStringValues(Aws::String &&value)
CustomParameterValues & WithDecimalValues(const Aws::Vector< double > &value)
void SetDateTimeValues(const Aws::Vector< Aws::Utils::DateTime > &value)
void SetIntegerValues(Aws::Vector< long long > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue