AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetQueueAttributesResult.h
1
6#pragma once
7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sqs/model/ResponseMetadata.h>
11#include <aws/sqs/model/QueueAttributeName.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace SQS
27{
28namespace Model
29{
36 {
37 public:
41
42
44
47 inline const Aws::Map<QueueAttributeName, Aws::String>& GetAttributes() const{ return m_attributes; }
48 inline void SetAttributes(const Aws::Map<QueueAttributeName, Aws::String>& value) { m_attributes = value; }
49 inline void SetAttributes(Aws::Map<QueueAttributeName, Aws::String>&& value) { m_attributes = std::move(value); }
52 inline GetQueueAttributesResult& AddAttributes(const QueueAttributeName& key, const Aws::String& value) { m_attributes.emplace(key, value); return *this; }
53 inline GetQueueAttributesResult& AddAttributes(QueueAttributeName&& key, const Aws::String& value) { m_attributes.emplace(std::move(key), value); return *this; }
54 inline GetQueueAttributesResult& AddAttributes(const QueueAttributeName& key, Aws::String&& value) { m_attributes.emplace(key, std::move(value)); return *this; }
55 inline GetQueueAttributesResult& AddAttributes(QueueAttributeName&& key, Aws::String&& value) { m_attributes.emplace(std::move(key), std::move(value)); return *this; }
56 inline GetQueueAttributesResult& AddAttributes(QueueAttributeName&& key, const char* value) { m_attributes.emplace(std::move(key), value); return *this; }
57 inline GetQueueAttributesResult& AddAttributes(const QueueAttributeName& key, const char* value) { m_attributes.emplace(key, value); return *this; }
59
61
62 inline const Aws::String& GetRequestId() const{ return m_requestId; }
63 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
64 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
65 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
66 inline GetQueueAttributesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
67 inline GetQueueAttributesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
68 inline GetQueueAttributesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
70
72
73 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
74 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
75 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
77 inline GetQueueAttributesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
79 private:
80
82
83 Aws::String m_requestId;
84
85 ResponseMetadata m_responseMetadata;
86 };
87
88} // namespace Model
89} // namespace SQS
90} // namespace Aws
GetQueueAttributesResult & AddAttributes(QueueAttributeName &&key, const char *value)
GetQueueAttributesResult & WithRequestId(Aws::String &&value)
GetQueueAttributesResult & AddAttributes(QueueAttributeName &&key, const Aws::String &value)
GetQueueAttributesResult & WithAttributes(Aws::Map< QueueAttributeName, Aws::String > &&value)
const Aws::Map< QueueAttributeName, Aws::String > & GetAttributes() const
AWS_SQS_API GetQueueAttributesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetAttributes(Aws::Map< QueueAttributeName, Aws::String > &&value)
GetQueueAttributesResult & WithResponseMetadata(const ResponseMetadata &value)
void SetAttributes(const Aws::Map< QueueAttributeName, Aws::String > &value)
GetQueueAttributesResult & WithRequestId(const Aws::String &value)
GetQueueAttributesResult & AddAttributes(QueueAttributeName &&key, Aws::String &&value)
AWS_SQS_API GetQueueAttributesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetQueueAttributesResult & WithResponseMetadata(ResponseMetadata &&value)
GetQueueAttributesResult & AddAttributes(const QueueAttributeName &key, const char *value)
GetQueueAttributesResult & WithRequestId(const char *value)
GetQueueAttributesResult & WithAttributes(const Aws::Map< QueueAttributeName, Aws::String > &value)
void SetResponseMetadata(ResponseMetadata &&value)
GetQueueAttributesResult & AddAttributes(const QueueAttributeName &key, Aws::String &&value)
const ResponseMetadata & GetResponseMetadata() const
GetQueueAttributesResult & AddAttributes(const QueueAttributeName &key, const Aws::String &value)
void SetResponseMetadata(const ResponseMetadata &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue