/** * 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 SSMIncidents { namespace Model { /** *

Use the AttributeValueList to filter by string or integer * values.

See Also:

AWS * API Reference

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

The list of integer values that the filter matches.

*/ inline const Aws::Vector& GetIntegerValues() const{ return m_integerValues; } /** *

The list of integer values that the filter matches.

*/ inline bool IntegerValuesHasBeenSet() const { return m_integerValuesHasBeenSet; } /** *

The list of integer values that the filter matches.

*/ inline void SetIntegerValues(const Aws::Vector& value) { m_integerValuesHasBeenSet = true; m_integerValues = value; } /** *

The list of integer values that the filter matches.

*/ inline void SetIntegerValues(Aws::Vector&& value) { m_integerValuesHasBeenSet = true; m_integerValues = std::move(value); } /** *

The list of integer values that the filter matches.

*/ inline AttributeValueList& WithIntegerValues(const Aws::Vector& value) { SetIntegerValues(value); return *this;} /** *

The list of integer values that the filter matches.

*/ inline AttributeValueList& WithIntegerValues(Aws::Vector&& value) { SetIntegerValues(std::move(value)); return *this;} /** *

The list of integer values that the filter matches.

*/ inline AttributeValueList& AddIntegerValues(int value) { m_integerValuesHasBeenSet = true; m_integerValues.push_back(value); return *this; } /** *

The list of string values that the filter matches.

*/ inline const Aws::Vector& GetStringValues() const{ return m_stringValues; } /** *

The list of string values that the filter matches.

*/ inline bool StringValuesHasBeenSet() const { return m_stringValuesHasBeenSet; } /** *

The list of string values that the filter matches.

*/ inline void SetStringValues(const Aws::Vector& value) { m_stringValuesHasBeenSet = true; m_stringValues = value; } /** *

The list of string values that the filter matches.

*/ inline void SetStringValues(Aws::Vector&& value) { m_stringValuesHasBeenSet = true; m_stringValues = std::move(value); } /** *

The list of string values that the filter matches.

*/ inline AttributeValueList& WithStringValues(const Aws::Vector& value) { SetStringValues(value); return *this;} /** *

The list of string values that the filter matches.

*/ inline AttributeValueList& WithStringValues(Aws::Vector&& value) { SetStringValues(std::move(value)); return *this;} /** *

The list of string values that the filter matches.

*/ inline AttributeValueList& AddStringValues(const Aws::String& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; } /** *

The list of string values that the filter matches.

*/ inline AttributeValueList& AddStringValues(Aws::String&& value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(std::move(value)); return *this; } /** *

The list of string values that the filter matches.

*/ inline AttributeValueList& AddStringValues(const char* value) { m_stringValuesHasBeenSet = true; m_stringValues.push_back(value); return *this; } private: Aws::Vector m_integerValues; bool m_integerValuesHasBeenSet = false; Aws::Vector m_stringValues; bool m_stringValuesHasBeenSet = false; }; } // namespace Model } // namespace SSMIncidents } // namespace Aws