/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace QuickSight { namespace Model { /** *

A structure that represents a collective constant.

See Also:

* AWS * API Reference

*/ class CollectiveConstant { public: AWS_QUICKSIGHT_API CollectiveConstant(); AWS_QUICKSIGHT_API CollectiveConstant(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API CollectiveConstant& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A list of values for the collective constant.

*/ inline const Aws::Vector& GetValueList() const{ return m_valueList; } /** *

A list of values for the collective constant.

*/ inline bool ValueListHasBeenSet() const { return m_valueListHasBeenSet; } /** *

A list of values for the collective constant.

*/ inline void SetValueList(const Aws::Vector& value) { m_valueListHasBeenSet = true; m_valueList = value; } /** *

A list of values for the collective constant.

*/ inline void SetValueList(Aws::Vector&& value) { m_valueListHasBeenSet = true; m_valueList = std::move(value); } /** *

A list of values for the collective constant.

*/ inline CollectiveConstant& WithValueList(const Aws::Vector& value) { SetValueList(value); return *this;} /** *

A list of values for the collective constant.

*/ inline CollectiveConstant& WithValueList(Aws::Vector&& value) { SetValueList(std::move(value)); return *this;} /** *

A list of values for the collective constant.

*/ inline CollectiveConstant& AddValueList(const Aws::String& value) { m_valueListHasBeenSet = true; m_valueList.push_back(value); return *this; } /** *

A list of values for the collective constant.

*/ inline CollectiveConstant& AddValueList(Aws::String&& value) { m_valueListHasBeenSet = true; m_valueList.push_back(std::move(value)); return *this; } /** *

A list of values for the collective constant.

*/ inline CollectiveConstant& AddValueList(const char* value) { m_valueListHasBeenSet = true; m_valueList.push_back(value); return *this; } private: Aws::Vector m_valueList; bool m_valueListHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws