AWS SDK for C++  1.8.126
AWS SDK for C++
ListDeadLetterSourceQueuesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/sqs/SQS_EXPORTS.h>
8 #include <aws/sqs/SQSRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace SQS
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "ListDeadLetterSourceQueues"; }
34 
35  Aws::String SerializePayload() const override;
36 
37  protected:
38  void DumpBodyToUrl(Aws::Http::URI& uri ) const override;
39 
40  public:
41 
46  inline const Aws::String& GetQueueUrl() const{ return m_queueUrl; }
47 
52  inline bool QueueUrlHasBeenSet() const { return m_queueUrlHasBeenSet; }
53 
58  inline void SetQueueUrl(const Aws::String& value) { m_queueUrlHasBeenSet = true; m_queueUrl = value; }
59 
64  inline void SetQueueUrl(Aws::String&& value) { m_queueUrlHasBeenSet = true; m_queueUrl = std::move(value); }
65 
70  inline void SetQueueUrl(const char* value) { m_queueUrlHasBeenSet = true; m_queueUrl.assign(value); }
71 
76  inline ListDeadLetterSourceQueuesRequest& WithQueueUrl(const Aws::String& value) { SetQueueUrl(value); return *this;}
77 
82  inline ListDeadLetterSourceQueuesRequest& WithQueueUrl(Aws::String&& value) { SetQueueUrl(std::move(value)); return *this;}
83 
88  inline ListDeadLetterSourceQueuesRequest& WithQueueUrl(const char* value) { SetQueueUrl(value); return *this;}
89 
90 
94  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
95 
99  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
100 
104  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
105 
109  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
110 
114  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
115 
119  inline ListDeadLetterSourceQueuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
120 
124  inline ListDeadLetterSourceQueuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
125 
129  inline ListDeadLetterSourceQueuesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
130 
131 
137  inline int GetMaxResults() const{ return m_maxResults; }
138 
144  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
145 
151  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
152 
158  inline ListDeadLetterSourceQueuesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
159 
160  private:
161 
162  Aws::String m_queueUrl;
163  bool m_queueUrlHasBeenSet;
164 
165  Aws::String m_nextToken;
166  bool m_nextTokenHasBeenSet;
167 
168  int m_maxResults;
169  bool m_maxResultsHasBeenSet;
170  };
171 
172 } // namespace Model
173 } // namespace SQS
174 } // namespace Aws
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListDeadLetterSourceQueuesRequest.h:144
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::WithMaxResults
ListDeadLetterSourceQueuesRequest & WithMaxResults(int value)
Definition: ListDeadLetterSourceQueuesRequest.h:158
Aws::Http::URI
Definition: URI.h:32
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::WithNextToken
ListDeadLetterSourceQueuesRequest & WithNextToken(Aws::String &&value)
Definition: ListDeadLetterSourceQueuesRequest.h:124
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::SetQueueUrl
void SetQueueUrl(const char *value)
Definition: ListDeadLetterSourceQueuesRequest.h:70
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::GetQueueUrl
const Aws::String & GetQueueUrl() const
Definition: ListDeadLetterSourceQueuesRequest.h:46
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListDeadLetterSourceQueuesRequest.h:137
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListDeadLetterSourceQueuesRequest.h:151
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::WithQueueUrl
ListDeadLetterSourceQueuesRequest & WithQueueUrl(const Aws::String &value)
Definition: ListDeadLetterSourceQueuesRequest.h:76
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::DumpBodyToUrl
void DumpBodyToUrl(Aws::Http::URI &uri) const override
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListDeadLetterSourceQueuesRequest.h:99
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::WithNextToken
ListDeadLetterSourceQueuesRequest & WithNextToken(const Aws::String &value)
Definition: ListDeadLetterSourceQueuesRequest.h:119
Aws::Chime::Model::NotificationTarget::NOT_SET
@ NOT_SET
AWSString.h
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::SetQueueUrl
void SetQueueUrl(const Aws::String &value)
Definition: ListDeadLetterSourceQueuesRequest.h:58
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListDeadLetterSourceQueuesRequest.h:33
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDeadLetterSourceQueuesRequest.h:109
AWS_SQS_API
#define AWS_SQS_API
Definition: SQS_EXPORTS.h:28
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::SetQueueUrl
void SetQueueUrl(Aws::String &&value)
Definition: ListDeadLetterSourceQueuesRequest.h:64
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::WithQueueUrl
ListDeadLetterSourceQueuesRequest & WithQueueUrl(const char *value)
Definition: ListDeadLetterSourceQueuesRequest.h:88
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::QueueUrlHasBeenSet
bool QueueUrlHasBeenSet() const
Definition: ListDeadLetterSourceQueuesRequest.h:52
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListDeadLetterSourceQueuesRequest.h:114
SQS_EXPORTS.h
Aws::SQS::SQSRequest
Definition: SQSRequest.h:17
Aws
Definition: AccessManagementClient.h:15
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDeadLetterSourceQueuesRequest.h:94
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::WithNextToken
ListDeadLetterSourceQueuesRequest & WithNextToken(const char *value)
Definition: ListDeadLetterSourceQueuesRequest.h:129
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest
Definition: ListDeadLetterSourceQueuesRequest.h:25
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::WithQueueUrl
ListDeadLetterSourceQueuesRequest & WithQueueUrl(Aws::String &&value)
Definition: ListDeadLetterSourceQueuesRequest.h:82
SQSRequest.h
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::ListDeadLetterSourceQueuesRequest
ListDeadLetterSourceQueuesRequest()
Aws::SQS::Model::ListDeadLetterSourceQueuesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDeadLetterSourceQueuesRequest.h:104