AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CollectiveConstant.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 <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 CollectiveConstant();
37 AWS_QUICKSIGHT_API CollectiveConstant(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::Vector<Aws::String>& GetValueList() const{ return m_valueList; }
47 inline bool ValueListHasBeenSet() const { return m_valueListHasBeenSet; }
48 inline void SetValueList(const Aws::Vector<Aws::String>& value) { m_valueListHasBeenSet = true; m_valueList = value; }
49 inline void SetValueList(Aws::Vector<Aws::String>&& value) { m_valueListHasBeenSet = true; m_valueList = std::move(value); }
50 inline CollectiveConstant& WithValueList(const Aws::Vector<Aws::String>& value) { SetValueList(value); return *this;}
51 inline CollectiveConstant& WithValueList(Aws::Vector<Aws::String>&& value) { SetValueList(std::move(value)); return *this;}
52 inline CollectiveConstant& AddValueList(const Aws::String& value) { m_valueListHasBeenSet = true; m_valueList.push_back(value); return *this; }
53 inline CollectiveConstant& AddValueList(Aws::String&& value) { m_valueListHasBeenSet = true; m_valueList.push_back(std::move(value)); return *this; }
54 inline CollectiveConstant& AddValueList(const char* value) { m_valueListHasBeenSet = true; m_valueList.push_back(value); return *this; }
56 private:
57
58 Aws::Vector<Aws::String> m_valueList;
59 bool m_valueListHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace QuickSight
64} // namespace Aws
CollectiveConstant & WithValueList(const Aws::Vector< Aws::String > &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
CollectiveConstant & WithValueList(Aws::Vector< Aws::String > &&value)
void SetValueList(const Aws::Vector< Aws::String > &value)
AWS_QUICKSIGHT_API CollectiveConstant(Aws::Utils::Json::JsonView jsonValue)
CollectiveConstant & AddValueList(Aws::String &&value)
const Aws::Vector< Aws::String > & GetValueList() const
AWS_QUICKSIGHT_API CollectiveConstant & operator=(Aws::Utils::Json::JsonView jsonValue)
CollectiveConstant & AddValueList(const char *value)
void SetValueList(Aws::Vector< Aws::String > &&value)
CollectiveConstant & AddValueList(const Aws::String &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