AWS SDK for C++  1.9.20
AWS SDK for C++
ListTaskDefinitionFamiliesRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
8 #include <aws/ecs/ECSRequest.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace ECS
16 {
17 namespace 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 
33  Aws::String SerializePayload() const override;
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 
84  inline ListTaskDefinitionFamiliesRequest& WithFamilyPrefix(const Aws::String& value) { SetFamilyPrefix(value); return *this;}
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 
166  inline ListTaskDefinitionFamiliesRequest& WithStatus(const TaskDefinitionFamilyStatus& value) { SetStatus(value); return *this;}
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 
282  inline int GetMaxResults() const{ return m_maxResults; }
283 
295  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
296 
308  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
309 
321  inline ListTaskDefinitionFamiliesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
322 
323  private:
324 
325  Aws::String m_familyPrefix;
326  bool m_familyPrefixHasBeenSet;
327 
329  bool m_statusHasBeenSet;
330 
331  Aws::String m_nextToken;
332  bool m_nextTokenHasBeenSet;
333 
334  int m_maxResults;
335  bool m_maxResultsHasBeenSet;
336  };
337 
338 } // namespace Model
339 } // namespace ECS
340 } // namespace Aws
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::FamilyPrefixHasBeenSet
bool FamilyPrefixHasBeenSet() const
Definition: ListTaskDefinitionFamiliesRequest.h:52
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::WithFamilyPrefix
ListTaskDefinitionFamiliesRequest & WithFamilyPrefix(const char *value)
Definition: ListTaskDefinitionFamiliesRequest.h:100
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTaskDefinitionFamiliesRequest.h:213
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTaskDefinitionFamiliesRequest.h:191
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::SetStatus
void SetStatus(TaskDefinitionFamilyStatus &&value)
Definition: ListTaskDefinitionFamiliesRequest.h:153
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::GetFamilyPrefix
const Aws::String & GetFamilyPrefix() const
Definition: ListTaskDefinitionFamiliesRequest.h:44
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListTaskDefinitionFamiliesRequest.h:235
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::ListTaskDefinitionFamiliesRequest
ListTaskDefinitionFamiliesRequest()
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::GetStatus
const TaskDefinitionFamilyStatus & GetStatus() const
Definition: ListTaskDefinitionFamiliesRequest.h:114
Aws::ECS::ECSRequest
Definition: ECSRequest.h:17
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::WithMaxResults
ListTaskDefinitionFamiliesRequest & WithMaxResults(int value)
Definition: ListTaskDefinitionFamiliesRequest.h:321
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListTaskDefinitionFamiliesRequest.h:31
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListTaskDefinitionFamiliesRequest.h:295
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: ListTaskDefinitionFamiliesRequest.h:127
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::WithNextToken
ListTaskDefinitionFamiliesRequest & WithNextToken(Aws::String &&value)
Definition: ListTaskDefinitionFamiliesRequest.h:257
AWSString.h
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::WithNextToken
ListTaskDefinitionFamiliesRequest & WithNextToken(const char *value)
Definition: ListTaskDefinitionFamiliesRequest.h:268
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::WithNextToken
ListTaskDefinitionFamiliesRequest & WithNextToken(const Aws::String &value)
Definition: ListTaskDefinitionFamiliesRequest.h:246
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListTaskDefinitionFamiliesRequest.h:202
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::WithStatus
ListTaskDefinitionFamiliesRequest & WithStatus(TaskDefinitionFamilyStatus &&value)
Definition: ListTaskDefinitionFamiliesRequest.h:179
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::WithStatus
ListTaskDefinitionFamiliesRequest & WithStatus(const TaskDefinitionFamilyStatus &value)
Definition: ListTaskDefinitionFamiliesRequest.h:166
TaskDefinitionFamilyStatus.h
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::SetStatus
void SetStatus(const TaskDefinitionFamilyStatus &value)
Definition: ListTaskDefinitionFamiliesRequest.h:140
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::SetFamilyPrefix
void SetFamilyPrefix(Aws::String &&value)
Definition: ListTaskDefinitionFamiliesRequest.h:68
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::GetMaxResults
int GetMaxResults() const
Definition: ListTaskDefinitionFamiliesRequest.h:282
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTaskDefinitionFamiliesRequest.h:224
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest
Definition: ListTaskDefinitionFamiliesRequest.h:23
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::WithFamilyPrefix
ListTaskDefinitionFamiliesRequest & WithFamilyPrefix(const Aws::String &value)
Definition: ListTaskDefinitionFamiliesRequest.h:84
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::TaskDefinitionFamilyStatus
TaskDefinitionFamilyStatus
Definition: TaskDefinitionFamilyStatus.h:17
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::SetFamilyPrefix
void SetFamilyPrefix(const char *value)
Definition: ListTaskDefinitionFamiliesRequest.h:76
ECS_EXPORTS.h
ECSRequest.h
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::SetFamilyPrefix
void SetFamilyPrefix(const Aws::String &value)
Definition: ListTaskDefinitionFamiliesRequest.h:60
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::WithFamilyPrefix
ListTaskDefinitionFamiliesRequest & WithFamilyPrefix(Aws::String &&value)
Definition: ListTaskDefinitionFamiliesRequest.h:92
Aws::ECS::Model::ListTaskDefinitionFamiliesRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListTaskDefinitionFamiliesRequest.h:308