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

A list of message attribute values.

See Also:

AWS * API Reference

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

The strings in a message attribute value.

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

The strings in a message attribute value.

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

The strings in a message attribute value.

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

The strings in a message attribute value.

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

The strings in a message attribute value.

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

The strings in a message attribute value.

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

The strings in a message attribute value.

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

The strings in a message attribute value.

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

The strings in a message attribute value.

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