AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListClustersRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace ECS
15{
16namespace Model
17{
18
22 {
23 public:
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 "ListClusters"; }
31
33
35
36
46 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
47
57 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
58
68 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
69
79 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
80
90 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
91
101 inline ListClustersRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
102
112 inline ListClustersRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113
123 inline ListClustersRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
124
125
136 inline int GetMaxResults() const{ return m_maxResults; }
137
148 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
149
160 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
161
172 inline ListClustersRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
173
174 private:
175
176 Aws::String m_nextToken;
177 bool m_nextTokenHasBeenSet = false;
178
179 int m_maxResults;
180 bool m_maxResultsHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace ECS
185} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
AWS_ECS_API Aws::String SerializePayload() const override
const Aws::String & GetNextToken() const
ListClustersRequest & WithNextToken(Aws::String &&value)
ListClustersRequest & WithMaxResults(int value)
void SetNextToken(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
ListClustersRequest & WithNextToken(const char *value)
ListClustersRequest & WithNextToken(const Aws::String &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetNextToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String