AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TopicConstantValue.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ConstantType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/CollectiveConstantEntry.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API TopicConstantValue();
39 AWS_QUICKSIGHT_API TopicConstantValue(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const ConstantType& GetConstantType() const{ return m_constantType; }
49 inline bool ConstantTypeHasBeenSet() const { return m_constantTypeHasBeenSet; }
50 inline void SetConstantType(const ConstantType& value) { m_constantTypeHasBeenSet = true; m_constantType = value; }
51 inline void SetConstantType(ConstantType&& value) { m_constantTypeHasBeenSet = true; m_constantType = std::move(value); }
52 inline TopicConstantValue& WithConstantType(const ConstantType& value) { SetConstantType(value); return *this;}
53 inline TopicConstantValue& WithConstantType(ConstantType&& value) { SetConstantType(std::move(value)); return *this;}
55
57
60 inline const Aws::String& GetValue() const{ return m_value; }
61 inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; }
62 inline void SetValue(const Aws::String& value) { m_valueHasBeenSet = true; m_value = value; }
63 inline void SetValue(Aws::String&& value) { m_valueHasBeenSet = true; m_value = std::move(value); }
64 inline void SetValue(const char* value) { m_valueHasBeenSet = true; m_value.assign(value); }
65 inline TopicConstantValue& WithValue(const Aws::String& value) { SetValue(value); return *this;}
66 inline TopicConstantValue& WithValue(Aws::String&& value) { SetValue(std::move(value)); return *this;}
67 inline TopicConstantValue& WithValue(const char* value) { SetValue(value); return *this;}
69
71
74 inline const Aws::String& GetMinimum() const{ return m_minimum; }
75 inline bool MinimumHasBeenSet() const { return m_minimumHasBeenSet; }
76 inline void SetMinimum(const Aws::String& value) { m_minimumHasBeenSet = true; m_minimum = value; }
77 inline void SetMinimum(Aws::String&& value) { m_minimumHasBeenSet = true; m_minimum = std::move(value); }
78 inline void SetMinimum(const char* value) { m_minimumHasBeenSet = true; m_minimum.assign(value); }
79 inline TopicConstantValue& WithMinimum(const Aws::String& value) { SetMinimum(value); return *this;}
80 inline TopicConstantValue& WithMinimum(Aws::String&& value) { SetMinimum(std::move(value)); return *this;}
81 inline TopicConstantValue& WithMinimum(const char* value) { SetMinimum(value); return *this;}
83
85
88 inline const Aws::String& GetMaximum() const{ return m_maximum; }
89 inline bool MaximumHasBeenSet() const { return m_maximumHasBeenSet; }
90 inline void SetMaximum(const Aws::String& value) { m_maximumHasBeenSet = true; m_maximum = value; }
91 inline void SetMaximum(Aws::String&& value) { m_maximumHasBeenSet = true; m_maximum = std::move(value); }
92 inline void SetMaximum(const char* value) { m_maximumHasBeenSet = true; m_maximum.assign(value); }
93 inline TopicConstantValue& WithMaximum(const Aws::String& value) { SetMaximum(value); return *this;}
94 inline TopicConstantValue& WithMaximum(Aws::String&& value) { SetMaximum(std::move(value)); return *this;}
95 inline TopicConstantValue& WithMaximum(const char* value) { SetMaximum(value); return *this;}
97
99
102 inline const Aws::Vector<CollectiveConstantEntry>& GetValueList() const{ return m_valueList; }
103 inline bool ValueListHasBeenSet() const { return m_valueListHasBeenSet; }
104 inline void SetValueList(const Aws::Vector<CollectiveConstantEntry>& value) { m_valueListHasBeenSet = true; m_valueList = value; }
105 inline void SetValueList(Aws::Vector<CollectiveConstantEntry>&& value) { m_valueListHasBeenSet = true; m_valueList = std::move(value); }
107 inline TopicConstantValue& WithValueList(Aws::Vector<CollectiveConstantEntry>&& value) { SetValueList(std::move(value)); return *this;}
108 inline TopicConstantValue& AddValueList(const CollectiveConstantEntry& value) { m_valueListHasBeenSet = true; m_valueList.push_back(value); return *this; }
109 inline TopicConstantValue& AddValueList(CollectiveConstantEntry&& value) { m_valueListHasBeenSet = true; m_valueList.push_back(std::move(value)); return *this; }
111 private:
112
113 ConstantType m_constantType;
114 bool m_constantTypeHasBeenSet = false;
115
116 Aws::String m_value;
117 bool m_valueHasBeenSet = false;
118
119 Aws::String m_minimum;
120 bool m_minimumHasBeenSet = false;
121
122 Aws::String m_maximum;
123 bool m_maximumHasBeenSet = false;
124
126 bool m_valueListHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace QuickSight
131} // namespace Aws
TopicConstantValue & AddValueList(const CollectiveConstantEntry &value)
TopicConstantValue & WithValue(const char *value)
const Aws::Vector< CollectiveConstantEntry > & GetValueList() const
void SetMaximum(const Aws::String &value)
TopicConstantValue & WithConstantType(const ConstantType &value)
TopicConstantValue & WithValueList(const Aws::Vector< CollectiveConstantEntry > &value)
TopicConstantValue & WithValueList(Aws::Vector< CollectiveConstantEntry > &&value)
const ConstantType & GetConstantType() const
TopicConstantValue & WithMaximum(const Aws::String &value)
void SetValueList(Aws::Vector< CollectiveConstantEntry > &&value)
AWS_QUICKSIGHT_API TopicConstantValue & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetValue(const Aws::String &value)
TopicConstantValue & WithMaximum(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TopicConstantValue & WithValue(const Aws::String &value)
TopicConstantValue & WithMinimum(const Aws::String &value)
TopicConstantValue & WithMinimum(Aws::String &&value)
void SetValueList(const Aws::Vector< CollectiveConstantEntry > &value)
void SetConstantType(const ConstantType &value)
TopicConstantValue & WithConstantType(ConstantType &&value)
TopicConstantValue & WithValue(Aws::String &&value)
AWS_QUICKSIGHT_API TopicConstantValue(Aws::Utils::Json::JsonView jsonValue)
void SetMinimum(const Aws::String &value)
TopicConstantValue & AddValueList(CollectiveConstantEntry &&value)
TopicConstantValue & WithMaximum(Aws::String &&value)
TopicConstantValue & WithMinimum(const char *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