AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
ListQueuesRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sqs/SQSRequest.h>
9#include <aws/sqs/SQS_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace SQS {
15namespace Model {
16
23 public:
24 AWS_SQS_API ListQueuesRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "ListQueues"; }
31
32 AWS_SQS_API Aws::String SerializePayload() const override;
33
35
37
42 inline const Aws::String& GetQueueNamePrefix() const { return m_queueNamePrefix; }
43 inline bool QueueNamePrefixHasBeenSet() const { return m_queueNamePrefixHasBeenSet; }
44 template <typename QueueNamePrefixT = Aws::String>
45 void SetQueueNamePrefix(QueueNamePrefixT&& value) {
46 m_queueNamePrefixHasBeenSet = true;
47 m_queueNamePrefix = std::forward<QueueNamePrefixT>(value);
48 }
49 template <typename QueueNamePrefixT = Aws::String>
50 ListQueuesRequest& WithQueueNamePrefix(QueueNamePrefixT&& value) {
51 SetQueueNamePrefix(std::forward<QueueNamePrefixT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 template <typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) {
64 m_nextTokenHasBeenSet = true;
65 m_nextToken = std::forward<NextTokenT>(value);
66 }
67 template <typename NextTokenT = Aws::String>
68 ListQueuesRequest& WithNextToken(NextTokenT&& value) {
69 SetNextToken(std::forward<NextTokenT>(value));
70 return *this;
71 }
73
75
80 inline int GetMaxResults() const { return m_maxResults; }
81 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
82 inline void SetMaxResults(int value) {
83 m_maxResultsHasBeenSet = true;
84 m_maxResults = value;
85 }
86 inline ListQueuesRequest& WithMaxResults(int value) {
87 SetMaxResults(value);
88 return *this;
89 }
91 private:
92 Aws::String m_queueNamePrefix;
93
94 Aws::String m_nextToken;
95
96 int m_maxResults{0};
97 bool m_queueNamePrefixHasBeenSet = false;
98 bool m_nextTokenHasBeenSet = false;
99 bool m_maxResultsHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace SQS
104} // namespace Aws
ListQueuesRequest & WithNextToken(NextTokenT &&value)
void SetQueueNamePrefix(QueueNamePrefixT &&value)
AWS_SQS_API ListQueuesRequest()=default
const Aws::String & GetNextToken() const
const Aws::String & GetQueueNamePrefix() const
void SetNextToken(NextTokenT &&value)
ListQueuesRequest & WithQueueNamePrefix(QueueNamePrefixT &&value)
AWS_SQS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
AWS_SQS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListQueuesRequest & WithMaxResults(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String