/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace SQS { namespace Model { /** *

A list of returned queue attributes.

See Also:

AWS * API Reference

*/ class GetQueueAttributesResult { public: AWS_SQS_API GetQueueAttributesResult(); AWS_SQS_API GetQueueAttributesResult(const Aws::AmazonWebServiceResult& result); AWS_SQS_API GetQueueAttributesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A map of attributes to their respective values.

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

A map of attributes to their respective values.

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

A map of attributes to their respective values.

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

A map of attributes to their respective values.

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

A map of attributes to their respective values.

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

A map of attributes to their respective values.

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

A map of attributes to their respective values.

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

A map of attributes to their respective values.

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

A map of attributes to their respective values.

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

A map of attributes to their respective values.

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

A map of attributes to their respective values.

*/ inline GetQueueAttributesResult& AddAttributes(const QueueAttributeName& key, const char* value) { m_attributes.emplace(key, value); return *this; } inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetQueueAttributesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetQueueAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::Map m_attributes; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace SQS } // namespace Aws