AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListQueuesResult.h
1
6#pragma once
7#include <aws/sqs/SQS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sqs/model/ResponseMetadata.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace SQS
26{
27namespace Model
28{
35 {
36 public:
37 AWS_SQS_API ListQueuesResult();
40
41
43
47 inline const Aws::Vector<Aws::String>& GetQueueUrls() const{ return m_queueUrls; }
48 inline void SetQueueUrls(const Aws::Vector<Aws::String>& value) { m_queueUrls = value; }
49 inline void SetQueueUrls(Aws::Vector<Aws::String>&& value) { m_queueUrls = std::move(value); }
50 inline ListQueuesResult& WithQueueUrls(const Aws::Vector<Aws::String>& value) { SetQueueUrls(value); return *this;}
51 inline ListQueuesResult& WithQueueUrls(Aws::Vector<Aws::String>&& value) { SetQueueUrls(std::move(value)); return *this;}
52 inline ListQueuesResult& AddQueueUrls(const Aws::String& value) { m_queueUrls.push_back(value); return *this; }
53 inline ListQueuesResult& AddQueueUrls(Aws::String&& value) { m_queueUrls.push_back(std::move(value)); return *this; }
54 inline ListQueuesResult& AddQueueUrls(const char* value) { m_queueUrls.push_back(value); return *this; }
56
58
63 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
64 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
65 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
66 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
67 inline ListQueuesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
68 inline ListQueuesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
69 inline ListQueuesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
71
73
74 inline const Aws::String& GetRequestId() const{ return m_requestId; }
75 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
76 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
77 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
78 inline ListQueuesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
79 inline ListQueuesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
80 inline ListQueuesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
82
84
85 inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
86 inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
87 inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
88 inline ListQueuesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
89 inline ListQueuesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
91 private:
92
93 Aws::Vector<Aws::String> m_queueUrls;
94
95 Aws::String m_nextToken;
96
97 Aws::String m_requestId;
98
99 ResponseMetadata m_responseMetadata;
100 };
101
102} // namespace Model
103} // namespace SQS
104} // namespace Aws
void SetResponseMetadata(const ResponseMetadata &value)
ListQueuesResult & WithResponseMetadata(const ResponseMetadata &value)
ListQueuesResult & AddQueueUrls(Aws::String &&value)
const Aws::String & GetRequestId() const
ListQueuesResult & WithQueueUrls(Aws::Vector< Aws::String > &&value)
void SetResponseMetadata(ResponseMetadata &&value)
void SetQueueUrls(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetQueueUrls() const
const ResponseMetadata & GetResponseMetadata() const
ListQueuesResult & AddQueueUrls(const char *value)
AWS_SQS_API ListQueuesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ListQueuesResult & WithNextToken(const Aws::String &value)
void SetNextToken(const char *value)
ListQueuesResult & WithRequestId(Aws::String &&value)
ListQueuesResult & WithRequestId(const char *value)
ListQueuesResult & WithQueueUrls(const Aws::Vector< Aws::String > &value)
ListQueuesResult & AddQueueUrls(const Aws::String &value)
void SetRequestId(Aws::String &&value)
AWS_SQS_API ListQueuesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(const char *value)
ListQueuesResult & WithNextToken(Aws::String &&value)
ListQueuesResult & WithNextToken(const char *value)
ListQueuesResult & WithResponseMetadata(ResponseMetadata &&value)
const Aws::String & GetNextToken() const
void SetNextToken(Aws::String &&value)
void SetRequestId(const Aws::String &value)
ListQueuesResult & WithRequestId(const Aws::String &value)
void SetNextToken(const Aws::String &value)
void SetQueueUrls(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue