AWS SDK for C++  1.9.153
AWS SDK for C++
ListTasksResult.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/ecs/ECS_EXPORTS.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace ECS
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<Aws::String>& GetTaskArns() const{ return m_taskArns; }
40 
44  inline void SetTaskArns(const Aws::Vector<Aws::String>& value) { m_taskArns = value; }
45 
49  inline void SetTaskArns(Aws::Vector<Aws::String>&& value) { m_taskArns = std::move(value); }
50 
54  inline ListTasksResult& WithTaskArns(const Aws::Vector<Aws::String>& value) { SetTaskArns(value); return *this;}
55 
59  inline ListTasksResult& WithTaskArns(Aws::Vector<Aws::String>&& value) { SetTaskArns(std::move(value)); return *this;}
60 
64  inline ListTasksResult& AddTaskArns(const Aws::String& value) { m_taskArns.push_back(value); return *this; }
65 
69  inline ListTasksResult& AddTaskArns(Aws::String&& value) { m_taskArns.push_back(std::move(value)); return *this; }
70 
74  inline ListTasksResult& AddTaskArns(const char* value) { m_taskArns.push_back(value); return *this; }
75 
76 
84  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
85 
93  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
94 
102  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
103 
111  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
112 
120  inline ListTasksResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
121 
129  inline ListTasksResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
130 
138  inline ListTasksResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
139 
140  private:
141 
142  Aws::Vector<Aws::String> m_taskArns;
143 
144  Aws::String m_nextToken;
145  };
146 
147 } // namespace Model
148 } // namespace ECS
149 } // namespace Aws
Aws::ECS::Model::ListTasksResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTasksResult.h:93
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECS::Model::ListTasksResult::SetTaskArns
void SetTaskArns(Aws::Vector< Aws::String > &&value)
Definition: ListTasksResult.h:49
Aws::ECS::Model::ListTasksResult::WithNextToken
ListTasksResult & WithNextToken(Aws::String &&value)
Definition: ListTasksResult.h:129
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::ListTasksResult::operator=
ListTasksResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::ECS::Model::ListTasksResult::ListTasksResult
ListTasksResult()
Aws::ECS::Model::ListTasksResult::WithNextToken
ListTasksResult & WithNextToken(const Aws::String &value)
Definition: ListTasksResult.h:120
Aws::ECS::Model::ListTasksResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTasksResult.h:84
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ListTasksResult
Definition: ListTasksResult.h:29
Aws::ECS::Model::ListTasksResult::AddTaskArns
ListTasksResult & AddTaskArns(const char *value)
Definition: ListTasksResult.h:74
Aws::ECS::Model::ListTasksResult::WithNextToken
ListTasksResult & WithNextToken(const char *value)
Definition: ListTasksResult.h:138
Aws::ECS::Model::ListTasksResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTasksResult.h:102
Aws::ECS::Model::ListTasksResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTasksResult.h:111
Aws::ECS::Model::ListTasksResult::AddTaskArns
ListTasksResult & AddTaskArns(const Aws::String &value)
Definition: ListTasksResult.h:64
AWSString.h
Aws::ECS::Model::ListTasksResult::GetTaskArns
const Aws::Vector< Aws::String > & GetTaskArns() const
Definition: ListTasksResult.h:39
Aws::ECS::Model::ListTasksResult::WithTaskArns
ListTasksResult & WithTaskArns(const Aws::Vector< Aws::String > &value)
Definition: ListTasksResult.h:54
Aws::ECS::Model::ListTasksResult::AddTaskArns
ListTasksResult & AddTaskArns(Aws::String &&value)
Definition: ListTasksResult.h:69
Aws::ECS::Model::ListTasksResult::ListTasksResult
ListTasksResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::ECS::Model::ListTasksResult::SetTaskArns
void SetTaskArns(const Aws::Vector< Aws::String > &value)
Definition: ListTasksResult.h:44
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ListTasksResult::WithTaskArns
ListTasksResult & WithTaskArns(Aws::Vector< Aws::String > &&value)
Definition: ListTasksResult.h:59
ECS_EXPORTS.h