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/pcs/PCS_EXPORTS.h>
8#include <aws/pcs/PCSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace PCS
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_PCS_API ListQueuesRequest();
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_PCS_API Aws::String SerializePayload() const override;
33
35
36
38
41 inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; }
42 inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; }
43 inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; }
44 inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); }
45 inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); }
46 inline ListQueuesRequest& WithClusterIdentifier(const Aws::String& value) { SetClusterIdentifier(value); return *this;}
47 inline ListQueuesRequest& WithClusterIdentifier(Aws::String&& value) { SetClusterIdentifier(std::move(value)); return *this;}
48 inline ListQueuesRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;}
50
52
60 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
63 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
64 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
65 inline ListQueuesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
66 inline ListQueuesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
67 inline ListQueuesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
69
71
77 inline int GetMaxResults() const{ return m_maxResults; }
78 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
79 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
80 inline ListQueuesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
82 private:
83
84 Aws::String m_clusterIdentifier;
85 bool m_clusterIdentifierHasBeenSet = false;
86
87 Aws::String m_nextToken;
88 bool m_nextTokenHasBeenSet = false;
89
90 int m_maxResults;
91 bool m_maxResultsHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace PCS
96} // namespace Aws
ListQueuesRequest & WithClusterIdentifier(const Aws::String &value)
void SetNextToken(const Aws::String &value)
ListQueuesRequest & WithMaxResults(int value)
void SetNextToken(Aws::String &&value)
ListQueuesRequest & WithClusterIdentifier(const char *value)
ListQueuesRequest & WithNextToken(const char *value)
AWS_PCS_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
const Aws::String & GetClusterIdentifier() const
ListQueuesRequest & WithClusterIdentifier(Aws::String &&value)
ListQueuesRequest & WithNextToken(const Aws::String &value)
const Aws::String & GetNextToken() const
ListQueuesRequest & WithNextToken(Aws::String &&value)
AWS_PCS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetNextToken(const char *value)
void SetClusterIdentifier(const Aws::String &value)
void SetClusterIdentifier(const char *value)
void SetClusterIdentifier(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String