/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Connect { namespace Model { class AWS_CONNECT_API GetContactAttributesResult { public: GetContactAttributesResult(); GetContactAttributesResult(const Aws::AmazonWebServiceResult& result); GetContactAttributesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Information about the attributes.

*/ inline const Aws::Map& GetAttributes() const{ return m_attributes; } /** *

Information about the attributes.

*/ inline void SetAttributes(const Aws::Map& value) { m_attributes = value; } /** *

Information about the attributes.

*/ inline void SetAttributes(Aws::Map&& value) { m_attributes = std::move(value); } /** *

Information about the attributes.

*/ inline GetContactAttributesResult& WithAttributes(const Aws::Map& value) { SetAttributes(value); return *this;} /** *

Information about the attributes.

*/ inline GetContactAttributesResult& WithAttributes(Aws::Map&& value) { SetAttributes(std::move(value)); return *this;} /** *

Information about the attributes.

*/ inline GetContactAttributesResult& AddAttributes(const Aws::String& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; } /** *

Information about the attributes.

*/ inline GetContactAttributesResult& AddAttributes(Aws::String&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; } /** *

Information about the attributes.

*/ inline GetContactAttributesResult& AddAttributes(const Aws::String& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; } /** *

Information about the attributes.

*/ inline GetContactAttributesResult& AddAttributes(Aws::String&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; } /** *

Information about the attributes.

*/ inline GetContactAttributesResult& AddAttributes(const char* key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; } /** *

Information about the attributes.

*/ inline GetContactAttributesResult& AddAttributes(Aws::String&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; } /** *

Information about the attributes.

*/ inline GetContactAttributesResult& AddAttributes(const char* key, const char* value) { m_attributes.emplace(key, value); return *this; } private: Aws::Map m_attributes; }; } // namespace Model } // namespace Connect } // namespace Aws