AWS SDK for C++  1.8.126
AWS SDK for C++
ListDeadLetterSourceQueuesResult.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 ListDeadLetterSourceQueuesResult& WithQueueUrls(const Aws::Vector<Aws::String>& value) { SetQueueUrls(value); return *this;}
65 
70  inline ListDeadLetterSourceQueuesResult& WithQueueUrls(Aws::Vector<Aws::String>&& value) { SetQueueUrls(std::move(value)); return *this;}
71 
76  inline ListDeadLetterSourceQueuesResult& AddQueueUrls(const Aws::String& value) { m_queueUrls.push_back(value); return *this; }
77 
82  inline ListDeadLetterSourceQueuesResult& AddQueueUrls(Aws::String&& value) { m_queueUrls.push_back(std::move(value)); return *this; }
83 
88  inline ListDeadLetterSourceQueuesResult& 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 ListDeadLetterSourceQueuesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
125 
131  inline ListDeadLetterSourceQueuesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 
138  inline ListDeadLetterSourceQueuesResult& 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 ListDeadLetterSourceQueuesResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;}
152 
153 
154  inline ListDeadLetterSourceQueuesResult& 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::SQS::Model::ListDeadLetterSourceQueuesResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDeadLetterSourceQueuesResult.h:103
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::GetQueueUrls
const Aws::Vector< Aws::String > & GetQueueUrls() const
Definition: ListDeadLetterSourceQueuesResult.h:46
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::AddQueueUrls
ListDeadLetterSourceQueuesResult & AddQueueUrls(Aws::String &&value)
Definition: ListDeadLetterSourceQueuesResult.h:82
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::WithQueueUrls
ListDeadLetterSourceQueuesResult & WithQueueUrls(const Aws::Vector< Aws::String > &value)
Definition: ListDeadLetterSourceQueuesResult.h:64
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::WithResponseMetadata
ListDeadLetterSourceQueuesResult & WithResponseMetadata(const ResponseMetadata &value)
Definition: ListDeadLetterSourceQueuesResult.h:151
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::WithResponseMetadata
ListDeadLetterSourceQueuesResult & WithResponseMetadata(ResponseMetadata &&value)
Definition: ListDeadLetterSourceQueuesResult.h:154
Aws::SQS::Model::ResponseMetadata
Definition: ResponseMetadata.h:27
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::SetQueueUrls
void SetQueueUrls(const Aws::Vector< Aws::String > &value)
Definition: ListDeadLetterSourceQueuesResult.h:52
AWSVector.h
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::ListDeadLetterSourceQueuesResult
ListDeadLetterSourceQueuesResult()
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::operator=
ListDeadLetterSourceQueuesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::AddQueueUrls
ListDeadLetterSourceQueuesResult & AddQueueUrls(const Aws::String &value)
Definition: ListDeadLetterSourceQueuesResult.h:76
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
AWSString.h
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::SetQueueUrls
void SetQueueUrls(Aws::Vector< Aws::String > &&value)
Definition: ListDeadLetterSourceQueuesResult.h:58
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::AddQueueUrls
ListDeadLetterSourceQueuesResult & AddQueueUrls(const char *value)
Definition: ListDeadLetterSourceQueuesResult.h:88
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::Model::ListDeadLetterSourceQueuesResult
Definition: ListDeadLetterSourceQueuesResult.h:35
SQS_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::WithNextToken
ListDeadLetterSourceQueuesResult & WithNextToken(Aws::String &&value)
Definition: ListDeadLetterSourceQueuesResult.h:131
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::WithQueueUrls
ListDeadLetterSourceQueuesResult & WithQueueUrls(Aws::Vector< Aws::String > &&value)
Definition: ListDeadLetterSourceQueuesResult.h:70
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::GetResponseMetadata
const ResponseMetadata & GetResponseMetadata() const
Definition: ListDeadLetterSourceQueuesResult.h:142
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::WithNextToken
ListDeadLetterSourceQueuesResult & WithNextToken(const Aws::String &value)
Definition: ListDeadLetterSourceQueuesResult.h:124
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDeadLetterSourceQueuesResult.h:96
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::WithNextToken
ListDeadLetterSourceQueuesResult & WithNextToken(const char *value)
Definition: ListDeadLetterSourceQueuesResult.h:138
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::SetResponseMetadata
void SetResponseMetadata(ResponseMetadata &&value)
Definition: ListDeadLetterSourceQueuesResult.h:148
ResponseMetadata.h
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::ListDeadLetterSourceQueuesResult
ListDeadLetterSourceQueuesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::SetResponseMetadata
void SetResponseMetadata(const ResponseMetadata &value)
Definition: ListDeadLetterSourceQueuesResult.h:145
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDeadLetterSourceQueuesResult.h:117
Aws::SQS::Model::ListDeadLetterSourceQueuesResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDeadLetterSourceQueuesResult.h:110