AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
CollectiveConstant.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API CollectiveConstant() = default;
32 AWS_QUICKSIGHT_API CollectiveConstant(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::Vector<Aws::String>& GetValueList() const { return m_valueList; }
41 inline bool ValueListHasBeenSet() const { return m_valueListHasBeenSet; }
42 template <typename ValueListT = Aws::Vector<Aws::String>>
43 void SetValueList(ValueListT&& value) {
44 m_valueListHasBeenSet = true;
45 m_valueList = std::forward<ValueListT>(value);
46 }
47 template <typename ValueListT = Aws::Vector<Aws::String>>
48 CollectiveConstant& WithValueList(ValueListT&& value) {
49 SetValueList(std::forward<ValueListT>(value));
50 return *this;
51 }
52 template <typename ValueListT = Aws::String>
53 CollectiveConstant& AddValueList(ValueListT&& value) {
54 m_valueListHasBeenSet = true;
55 m_valueList.emplace_back(std::forward<ValueListT>(value));
56 return *this;
57 }
59 private:
60 Aws::Vector<Aws::String> m_valueList;
61 bool m_valueListHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace QuickSight
66} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API CollectiveConstant(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Aws::String > & GetValueList() const
CollectiveConstant & AddValueList(ValueListT &&value)
AWS_QUICKSIGHT_API CollectiveConstant & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API CollectiveConstant()=default
CollectiveConstant & WithValueList(ValueListT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue