AWS SDK for C++  1.8.126
AWS SDK for C++
ListQueuesResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sqs/SQS_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Xml
21 {
22  class XmlDocument;
23 } // namespace Xml
24 } // namespace Utils
25 namespace SQS
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
46  inline const Aws::Vector<Aws::String>& GetQueueUrls() const{ return m_queueUrls; }
47 
52  inline void SetQueueUrls(const Aws::Vector<Aws::String>& value) { m_queueUrls = value; }
53 
58  inline void SetQueueUrls(Aws::Vector<Aws::String>&& value) { m_queueUrls = std::move(value); }
59 
64  inline ListQueuesResult& WithQueueUrls(const Aws::Vector<Aws::String>& value) { SetQueueUrls(value); return *this;}
65 
70  inline ListQueuesResult& WithQueueUrls(Aws::Vector<Aws::String>&& value) { SetQueueUrls(std::move(value)); return *this;}
71 
76  inline ListQueuesResult& AddQueueUrls(const Aws::String& value) { m_queueUrls.push_back(value); return *this; }
77 
82  inline ListQueuesResult& AddQueueUrls(Aws::String&& value) { m_queueUrls.push_back(std::move(value)); return *this; }
83 
88  inline ListQueuesResult& AddQueueUrls(const char* value) { m_queueUrls.push_back(value); return *this; }
89 
90 
96  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
97 
103  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
104 
110  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
111 
117  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
118 
124  inline ListQueuesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 
131  inline ListQueuesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 
138  inline ListQueuesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
139 
140 
141 
142  inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; }
143 
144 
145  inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; }
146 
147 
148  inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); }
149 
150 
151  inline ListQueuesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
152 
153 
154  inline ListQueuesResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;}
155 
156  private:
157 
158  Aws::Vector<Aws::String> m_queueUrls;
159 
160  Aws::String m_nextToken;
161 
162  ResponseMetadata m_responseMetadata;
163  };
164 
165 } // namespace Model
166 } // namespace SQS
167 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SQS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::SQS::Model::ListQueuesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListQueuesResult.h:142
Aws::SQS::Model::ListQueuesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListQueuesResult.h:110
Aws::SQS::Model::ListQueuesResult::WithQueueUrls
ListQueuesResult & WithQueueUrls(const Aws::Vector< Aws::String > &value)
Definition: ListQueuesResult.h:64
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::SQS::Model::ListQueuesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListQueuesResult.h:96
Aws::SQS::Model::ListQueuesResult::AddQueueUrls
ListQueuesResult & AddQueueUrls(const Aws::String &value)
Definition: ListQueuesResult.h:76
Aws::SQS::Model::ListQueuesResult
Definition: ListQueuesResult.h:35
Aws::SQS::Model::ListQueuesResult::WithQueueUrls
ListQueuesResult & WithQueueUrls(Aws::Vector< Aws::String > &&value)
Definition: ListQueuesResult.h:70
Aws::SQS::Model::ListQueuesResult::AddQueueUrls
ListQueuesResult & AddQueueUrls(const char *value)
Definition: ListQueuesResult.h:88
Aws::SQS::Model::ListQueuesResult::WithResponseMetadata
ListQueuesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListQueuesResult.h:151
Aws::SQS::Model::ListQueuesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListQueuesResult.h:148
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
AWSString.h
Aws::SQS::Model::ListQueuesResult::GetQueueUrls
const Aws::Vector< Aws::String > & GetQueueUrls() const
Definition: ListQueuesResult.h:46
Aws::SQS::Model::ListQueuesResult::WithNextToken
ListQueuesResult & WithNextToken(Aws::String &&value)
Definition: ListQueuesResult.h:131
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::Model::ListQueuesResult::AddQueueUrls
ListQueuesResult & AddQueueUrls(Aws::String &&value)
Definition: ListQueuesResult.h:82
Aws::SQS::Model::ListQueuesResult::operator=
ListQueuesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
SQS_EXPORTS.h
Aws::SQS::Model::ListQueuesResult::ListQueuesResult
ListQueuesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SQS::Model::ListQueuesResult::ListQueuesResult
ListQueuesResult()
Aws::SQS::Model::ListQueuesResult::WithResponseMetadata
ListQueuesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListQueuesResult.h:154
Aws::SQS::Model::ListQueuesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListQueuesResult.h:103
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SQS::Model::ListQueuesResult::WithNextToken
ListQueuesResult & WithNextToken(const char *value)
Definition: ListQueuesResult.h:138
Aws::SQS::Model::ListQueuesResult::SetQueueUrls
void SetQueueUrls(const Aws::Vector< Aws::String > &value)
Definition: ListQueuesResult.h:52
ResponseMetadata.h
Aws::SQS::Model::ListQueuesResult::WithNextToken
ListQueuesResult & WithNextToken(const Aws::String &value)
Definition: ListQueuesResult.h:124
Aws::SQS::Model::ListQueuesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListQueuesResult.h:145
Aws::SQS::Model::ListQueuesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListQueuesResult.h:117
Aws::SQS::Model::ListQueuesResult::SetQueueUrls
void SetQueueUrls(Aws::Vector< Aws::String > &&value)
Definition: ListQueuesResult.h:58