AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
ListTaskDefinitionFamiliesRequest.h
Go to the documentation of this file.
1
6#pragma once
11#include <utility>
12
13namespace Aws
14{
15namespace ECS
16{
17namespace Model
18{
19
23 {
24 public:
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListTaskDefinitionFamilies"; }
32
34
36
37
44 inline const Aws::String& GetFamilyPrefix() const{ return m_familyPrefix; }
45
52 inline bool FamilyPrefixHasBeenSet() const { return m_familyPrefixHasBeenSet; }
53
60 inline void SetFamilyPrefix(const Aws::String& value) { m_familyPrefixHasBeenSet = true; m_familyPrefix = value; }
61
68 inline void SetFamilyPrefix(Aws::String&& value) { m_familyPrefixHasBeenSet = true; m_familyPrefix = std::move(value); }
69
76 inline void SetFamilyPrefix(const char* value) { m_familyPrefixHasBeenSet = true; m_familyPrefix.assign(value); }
77
85
92 inline ListTaskDefinitionFamiliesRequest& WithFamilyPrefix(Aws::String&& value) { SetFamilyPrefix(std::move(value)); return *this;}
93
100 inline ListTaskDefinitionFamiliesRequest& WithFamilyPrefix(const char* value) { SetFamilyPrefix(value); return *this;}
101
102
114 inline const TaskDefinitionFamilyStatus& GetStatus() const{ return m_status; }
115
127 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
128
140 inline void SetStatus(const TaskDefinitionFamilyStatus& value) { m_statusHasBeenSet = true; m_status = value; }
141
153 inline void SetStatus(TaskDefinitionFamilyStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
154
167
179 inline ListTaskDefinitionFamiliesRequest& WithStatus(TaskDefinitionFamilyStatus&& value) { SetStatus(std::move(value)); return *this;}
180
181
191 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
192
202 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
203
213 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
214
224 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
225
235 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
236
246 inline ListTaskDefinitionFamiliesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
247
257 inline ListTaskDefinitionFamiliesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
258
268 inline ListTaskDefinitionFamiliesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
269
270
283 inline int GetMaxResults() const{ return m_maxResults; }
284
297 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
298
311 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
312
325 inline ListTaskDefinitionFamiliesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
326
327 private:
328
329 Aws::String m_familyPrefix;
330 bool m_familyPrefixHasBeenSet = false;
331
333 bool m_statusHasBeenSet = false;
334
335 Aws::String m_nextToken;
336 bool m_nextTokenHasBeenSet = false;
337
338 int m_maxResults;
339 bool m_maxResultsHasBeenSet = false;
340 };
341
342} // namespace Model
343} // namespace ECS
344} // namespace Aws
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
ListTaskDefinitionFamiliesRequest & WithMaxResults(int value)
ListTaskDefinitionFamiliesRequest & WithStatus(TaskDefinitionFamilyStatus &&value)
ListTaskDefinitionFamiliesRequest & WithFamilyPrefix(const char *value)
ListTaskDefinitionFamiliesRequest & WithFamilyPrefix(const Aws::String &value)
ListTaskDefinitionFamiliesRequest & WithNextToken(const char *value)
ListTaskDefinitionFamiliesRequest & WithNextToken(const Aws::String &value)
ListTaskDefinitionFamiliesRequest & WithStatus(const TaskDefinitionFamilyStatus &value)
AWS_ECS_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetStatus(const TaskDefinitionFamilyStatus &value)
ListTaskDefinitionFamiliesRequest & WithNextToken(Aws::String &&value)
AWS_ECS_API Aws::String SerializePayload() const override
ListTaskDefinitionFamiliesRequest & WithFamilyPrefix(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String