AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListQueuesRequest.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/ConnectRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/connect/model/QueueType.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Http
17{
18 class URI;
19} //namespace Http
20namespace Connect
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_CONNECT_API ListQueuesRequest();
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "ListQueues"; }
37
38 AWS_CONNECT_API Aws::String SerializePayload() const override;
39
40 AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
41
42
44
49 inline const Aws::String& GetInstanceId() const{ return m_instanceId; }
50 inline bool InstanceIdHasBeenSet() const { return m_instanceIdHasBeenSet; }
51 inline void SetInstanceId(const Aws::String& value) { m_instanceIdHasBeenSet = true; m_instanceId = value; }
52 inline void SetInstanceId(Aws::String&& value) { m_instanceIdHasBeenSet = true; m_instanceId = std::move(value); }
53 inline void SetInstanceId(const char* value) { m_instanceIdHasBeenSet = true; m_instanceId.assign(value); }
54 inline ListQueuesRequest& WithInstanceId(const Aws::String& value) { SetInstanceId(value); return *this;}
55 inline ListQueuesRequest& WithInstanceId(Aws::String&& value) { SetInstanceId(std::move(value)); return *this;}
56 inline ListQueuesRequest& WithInstanceId(const char* value) { SetInstanceId(value); return *this;}
58
60
63 inline const Aws::Vector<QueueType>& GetQueueTypes() const{ return m_queueTypes; }
64 inline bool QueueTypesHasBeenSet() const { return m_queueTypesHasBeenSet; }
65 inline void SetQueueTypes(const Aws::Vector<QueueType>& value) { m_queueTypesHasBeenSet = true; m_queueTypes = value; }
66 inline void SetQueueTypes(Aws::Vector<QueueType>&& value) { m_queueTypesHasBeenSet = true; m_queueTypes = std::move(value); }
67 inline ListQueuesRequest& WithQueueTypes(const Aws::Vector<QueueType>& value) { SetQueueTypes(value); return *this;}
68 inline ListQueuesRequest& WithQueueTypes(Aws::Vector<QueueType>&& value) { SetQueueTypes(std::move(value)); return *this;}
69 inline ListQueuesRequest& AddQueueTypes(const QueueType& value) { m_queueTypesHasBeenSet = true; m_queueTypes.push_back(value); return *this; }
70 inline ListQueuesRequest& AddQueueTypes(QueueType&& value) { m_queueTypesHasBeenSet = true; m_queueTypes.push_back(std::move(value)); return *this; }
72
74
78 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
79 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
80 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
81 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
82 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
83 inline ListQueuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
84 inline ListQueuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
85 inline ListQueuesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
87
89
93 inline int GetMaxResults() const{ return m_maxResults; }
94 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
95 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
96 inline ListQueuesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
98 private:
99
100 Aws::String m_instanceId;
101 bool m_instanceIdHasBeenSet = false;
102
103 Aws::Vector<QueueType> m_queueTypes;
104 bool m_queueTypesHasBeenSet = false;
105
106 Aws::String m_nextToken;
107 bool m_nextTokenHasBeenSet = false;
108
109 int m_maxResults;
110 bool m_maxResultsHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace Connect
115} // namespace Aws
ListQueuesRequest & AddQueueTypes(QueueType &&value)
void SetQueueTypes(const Aws::Vector< QueueType > &value)
const Aws::String & GetNextToken() const
void SetInstanceId(Aws::String &&value)
ListQueuesRequest & WithNextToken(const char *value)
ListQueuesRequest & WithNextToken(const Aws::String &value)
void SetQueueTypes(Aws::Vector< QueueType > &&value)
AWS_CONNECT_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
const Aws::String & GetInstanceId() const
ListQueuesRequest & WithNextToken(Aws::String &&value)
void SetInstanceId(const Aws::String &value)
ListQueuesRequest & AddQueueTypes(const QueueType &value)
ListQueuesRequest & WithInstanceId(const char *value)
const Aws::Vector< QueueType > & GetQueueTypes() const
ListQueuesRequest & WithInstanceId(const Aws::String &value)
ListQueuesRequest & WithQueueTypes(Aws::Vector< QueueType > &&value)
void SetNextToken(const Aws::String &value)
AWS_CONNECT_API Aws::String SerializePayload() const override
ListQueuesRequest & WithInstanceId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
ListQueuesRequest & WithMaxResults(int value)
ListQueuesRequest & WithQueueTypes(const Aws::Vector< QueueType > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector