AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListServicesByNamespaceRequest.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 "ListServicesByNamespace"; }
31
33
35
36
48 inline const Aws::String& GetNamespace() const{ return m_namespace; }
49
61 inline bool NamespaceHasBeenSet() const { return m_namespaceHasBeenSet; }
62
74 inline void SetNamespace(const Aws::String& value) { m_namespaceHasBeenSet = true; m_namespace = value; }
75
87 inline void SetNamespace(Aws::String&& value) { m_namespaceHasBeenSet = true; m_namespace = std::move(value); }
88
100 inline void SetNamespace(const char* value) { m_namespaceHasBeenSet = true; m_namespace.assign(value); }
101
113 inline ListServicesByNamespaceRequest& WithNamespace(const Aws::String& value) { SetNamespace(value); return *this;}
114
126 inline ListServicesByNamespaceRequest& WithNamespace(Aws::String&& value) { SetNamespace(std::move(value)); return *this;}
127
139 inline ListServicesByNamespaceRequest& WithNamespace(const char* value) { SetNamespace(value); return *this;}
140
141
149 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
150
158 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
159
167 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
168
176 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
177
185 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
186
194 inline ListServicesByNamespaceRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
195
203 inline ListServicesByNamespaceRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
204
212 inline ListServicesByNamespaceRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
213
214
227 inline int GetMaxResults() const{ return m_maxResults; }
228
241 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
242
255 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
256
269 inline ListServicesByNamespaceRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
270
271 private:
272
273 Aws::String m_namespace;
274 bool m_namespaceHasBeenSet = false;
275
276 Aws::String m_nextToken;
277 bool m_nextTokenHasBeenSet = false;
278
279 int m_maxResults;
280 bool m_maxResultsHasBeenSet = false;
281 };
282
283} // namespace Model
284} // namespace ECS
285} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
ListServicesByNamespaceRequest & WithNextToken(const char *value)
ListServicesByNamespaceRequest & WithNextToken(const Aws::String &value)
AWS_ECS_API Aws::String SerializePayload() const override
ListServicesByNamespaceRequest & WithNextToken(Aws::String &&value)
ListServicesByNamespaceRequest & WithNamespace(const Aws::String &value)
ListServicesByNamespaceRequest & WithMaxResults(int value)
virtual const char * GetServiceRequestName() const override
ListServicesByNamespaceRequest & WithNamespace(const char *value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ListServicesByNamespaceRequest & WithNamespace(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String