AWS SDK for C++  1.9.159
AWS SDK for C++
ListTaskDefinitionsResult.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 
40  inline const Aws::Vector<Aws::String>& GetTaskDefinitionArns() const{ return m_taskDefinitionArns; }
41 
46  inline void SetTaskDefinitionArns(const Aws::Vector<Aws::String>& value) { m_taskDefinitionArns = value; }
47 
52  inline void SetTaskDefinitionArns(Aws::Vector<Aws::String>&& value) { m_taskDefinitionArns = std::move(value); }
53 
58  inline ListTaskDefinitionsResult& WithTaskDefinitionArns(const Aws::Vector<Aws::String>& value) { SetTaskDefinitionArns(value); return *this;}
59 
64  inline ListTaskDefinitionsResult& WithTaskDefinitionArns(Aws::Vector<Aws::String>&& value) { SetTaskDefinitionArns(std::move(value)); return *this;}
65 
70  inline ListTaskDefinitionsResult& AddTaskDefinitionArns(const Aws::String& value) { m_taskDefinitionArns.push_back(value); return *this; }
71 
76  inline ListTaskDefinitionsResult& AddTaskDefinitionArns(Aws::String&& value) { m_taskDefinitionArns.push_back(std::move(value)); return *this; }
77 
82  inline ListTaskDefinitionsResult& AddTaskDefinitionArns(const char* value) { m_taskDefinitionArns.push_back(value); return *this; }
83 
84 
92  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 
101  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
102 
110  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
111 
119  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
120 
128  inline ListTaskDefinitionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 
137  inline ListTaskDefinitionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
138 
146  inline ListTaskDefinitionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
147 
148  private:
149 
150  Aws::Vector<Aws::String> m_taskDefinitionArns;
151 
152  Aws::String m_nextToken;
153  };
154 
155 } // namespace Model
156 } // namespace ECS
157 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::ECS::Model::ListTaskDefinitionsResult::AddTaskDefinitionArns
ListTaskDefinitionsResult & AddTaskDefinitionArns(const char *value)
Definition: ListTaskDefinitionsResult.h:82
Aws::CodeDeploy::Model::ComputePlatform::NOT_SET
@ NOT_SET
Aws::ECS::Model::ListTaskDefinitionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTaskDefinitionsResult.h:101
Aws::ECS::Model::ListTaskDefinitionsResult::ListTaskDefinitionsResult
ListTaskDefinitionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::ECS::Model::ListTaskDefinitionsResult::WithNextToken
ListTaskDefinitionsResult & WithNextToken(const char *value)
Definition: ListTaskDefinitionsResult.h:146
Aws::ECS::Model::ListTaskDefinitionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTaskDefinitionsResult.h:119
AWSVector.h
AWS_ECS_API
#define AWS_ECS_API
Definition: ECS_EXPORTS.h:28
Aws::ECS::Model::ListTaskDefinitionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTaskDefinitionsResult.h:92
Aws::ECS::Model::ListTaskDefinitionsResult::SetTaskDefinitionArns
void SetTaskDefinitionArns(const Aws::Vector< Aws::String > &value)
Definition: ListTaskDefinitionsResult.h:46
Aws::ECS::Model::ListTaskDefinitionsResult::AddTaskDefinitionArns
ListTaskDefinitionsResult & AddTaskDefinitionArns(const Aws::String &value)
Definition: ListTaskDefinitionsResult.h:70
Aws::ECS::Model::ListTaskDefinitionsResult::operator=
ListTaskDefinitionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::ECS::Model::ListTaskDefinitionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTaskDefinitionsResult.h:110
Aws::ECS::Model::ListTaskDefinitionsResult::WithNextToken
ListTaskDefinitionsResult & WithNextToken(const Aws::String &value)
Definition: ListTaskDefinitionsResult.h:128
Aws::ECS::Model::ListTaskDefinitionsResult::GetTaskDefinitionArns
const Aws::Vector< Aws::String > & GetTaskDefinitionArns() const
Definition: ListTaskDefinitionsResult.h:40
Aws::ECS::Model::ListTaskDefinitionsResult::ListTaskDefinitionsResult
ListTaskDefinitionsResult()
Aws::ECS::Model::ListTaskDefinitionsResult::WithNextToken
ListTaskDefinitionsResult & WithNextToken(Aws::String &&value)
Definition: ListTaskDefinitionsResult.h:137
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::ECS::Model::ListTaskDefinitionsResult::SetTaskDefinitionArns
void SetTaskDefinitionArns(Aws::Vector< Aws::String > &&value)
Definition: ListTaskDefinitionsResult.h:52
Aws::ECS::Model::ListTaskDefinitionsResult::AddTaskDefinitionArns
ListTaskDefinitionsResult & AddTaskDefinitionArns(Aws::String &&value)
Definition: ListTaskDefinitionsResult.h:76
Aws::ECS::Model::ListTaskDefinitionsResult
Definition: ListTaskDefinitionsResult.h:29
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ECS::Model::ListTaskDefinitionsResult::WithTaskDefinitionArns
ListTaskDefinitionsResult & WithTaskDefinitionArns(const Aws::Vector< Aws::String > &value)
Definition: ListTaskDefinitionsResult.h:58
ECS_EXPORTS.h
Aws::ECS::Model::ListTaskDefinitionsResult::WithTaskDefinitionArns
ListTaskDefinitionsResult & WithTaskDefinitionArns(Aws::Vector< Aws::String > &&value)
Definition: ListTaskDefinitionsResult.h:64