Download include/aws/sqs/model/GetQueueAttributesResult.h from Shenghong/dai_env: direct link, hf CLI and curl.
- Browser
- Download file 4.33 kB
-
https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sqs/model/GetQueueAttributesResult.h
- Command line
-
hf download hf://Shenghong/dai_env/include/aws/sqs/model/GetQueueAttributesResult.h
-
curl -L -o GetQueueAttributesResult.h https://huggingface.co/Shenghong/dai_env/resolve/main/include/aws/sqs/model/GetQueueAttributesResult.h
4.33 kB
| /** | |
| * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| * SPDX-License-Identifier: Apache-2.0. | |
| */ | |
| namespace Aws | |
| { | |
| template<typename RESULT_TYPE> | |
| class AmazonWebServiceResult; | |
| namespace Utils | |
| { | |
| namespace Json | |
| { | |
| class JsonValue; | |
| } // namespace Json | |
| } // namespace Utils | |
| namespace SQS | |
| { | |
| namespace Model | |
| { | |
| /** | |
| * <p>A list of returned queue attributes.</p><p><h3>See Also:</h3> <a | |
| * href="http://docs.aws.amazon.com/goto/WebAPI/sqs-2012-11-05/GetQueueAttributesResult">AWS | |
| * API Reference</a></p> | |
| */ | |
| class GetQueueAttributesResult | |
| { | |
| public: | |
| AWS_SQS_API GetQueueAttributesResult(); | |
| AWS_SQS_API GetQueueAttributesResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); | |
| AWS_SQS_API GetQueueAttributesResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result); | |
| ///@{ | |
| /** | |
| * <p>A map of attributes to their respective values.</p> | |
| */ | |
| inline const Aws::Map<QueueAttributeName, Aws::String>& GetAttributes() const{ return m_attributes; } | |
| inline void SetAttributes(const Aws::Map<QueueAttributeName, Aws::String>& value) { m_attributes = value; } | |
| inline void SetAttributes(Aws::Map<QueueAttributeName, Aws::String>&& value) { m_attributes = std::move(value); } | |
| inline GetQueueAttributesResult& WithAttributes(const Aws::Map<QueueAttributeName, Aws::String>& value) { SetAttributes(value); return *this;} | |
| inline GetQueueAttributesResult& WithAttributes(Aws::Map<QueueAttributeName, Aws::String>&& value) { SetAttributes(std::move(value)); return *this;} | |
| inline GetQueueAttributesResult& AddAttributes(const QueueAttributeName& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; } | |
| inline GetQueueAttributesResult& AddAttributes(QueueAttributeName&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; } | |
| inline GetQueueAttributesResult& AddAttributes(const QueueAttributeName& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; } | |
| inline GetQueueAttributesResult& AddAttributes(QueueAttributeName&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; } | |
| inline GetQueueAttributesResult& AddAttributes(QueueAttributeName&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; } | |
| inline GetQueueAttributesResult& AddAttributes(const QueueAttributeName& key, const char* value) { m_attributes.emplace(key, value); return *this; } | |
| ///@} | |
| ///@{ | |
| inline const Aws::String& GetRequestId() const{ return m_requestId; } | |
| inline void SetRequestId(const Aws::String& value) { m_requestId = value; } | |
| inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } | |
| inline void SetRequestId(const char* value) { m_requestId.assign(value); } | |
| inline GetQueueAttributesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} | |
| inline GetQueueAttributesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} | |
| inline GetQueueAttributesResult& WithRequestId(const char* value) { SetRequestId(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<QueueAttributeName, Aws::String> m_attributes; | |
| Aws::String m_requestId; | |
| ResponseMetadata m_responseMetadata; | |
| }; | |
| } // namespace Model | |
| } // namespace SQS | |
| } // namespace Aws | |