AWS SDK for C++  1.9.160
AWS SDK for C++
ListTaskExecutionsResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace DataSync
26 {
27 namespace Model
28 {
35  {
36  public:
40 
41 
45  inline const Aws::Vector<TaskExecutionListEntry>& GetTaskExecutions() const{ return m_taskExecutions; }
46 
50  inline void SetTaskExecutions(const Aws::Vector<TaskExecutionListEntry>& value) { m_taskExecutions = value; }
51 
55  inline void SetTaskExecutions(Aws::Vector<TaskExecutionListEntry>&& value) { m_taskExecutions = std::move(value); }
56 
60  inline ListTaskExecutionsResult& WithTaskExecutions(const Aws::Vector<TaskExecutionListEntry>& value) { SetTaskExecutions(value); return *this;}
61 
65  inline ListTaskExecutionsResult& WithTaskExecutions(Aws::Vector<TaskExecutionListEntry>&& value) { SetTaskExecutions(std::move(value)); return *this;}
66 
70  inline ListTaskExecutionsResult& AddTaskExecutions(const TaskExecutionListEntry& value) { m_taskExecutions.push_back(value); return *this; }
71 
75  inline ListTaskExecutionsResult& AddTaskExecutions(TaskExecutionListEntry&& value) { m_taskExecutions.push_back(std::move(value)); return *this; }
76 
77 
82  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
83 
88  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
89 
94  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
95 
100  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
101 
106  inline ListTaskExecutionsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
107 
112  inline ListTaskExecutionsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
113 
118  inline ListTaskExecutionsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
119 
120  private:
121 
122  Aws::Vector<TaskExecutionListEntry> m_taskExecutions;
123 
124  Aws::String m_nextToken;
125  };
126 
127 } // namespace Model
128 } // namespace DataSync
129 } // namespace Aws
TaskExecutionListEntry.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::DataSync::Model::ListTaskExecutionsResult::AddTaskExecutions
ListTaskExecutionsResult & AddTaskExecutions(TaskExecutionListEntry &&value)
Definition: ListTaskExecutionsResult.h:75
AWS_DATASYNC_API
#define AWS_DATASYNC_API
Definition: DataSync_EXPORTS.h:28
Aws::DataSync::Model::ListTaskExecutionsResult::WithNextToken
ListTaskExecutionsResult & WithNextToken(Aws::String &&value)
Definition: ListTaskExecutionsResult.h:112
Aws::DataSync::Model::ListTaskExecutionsResult::SetTaskExecutions
void SetTaskExecutions(Aws::Vector< TaskExecutionListEntry > &&value)
Definition: ListTaskExecutionsResult.h:55
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::DataSync::Model::ListTaskExecutionsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListTaskExecutionsResult.h:100
AWSVector.h
Aws::DataSync::Model::ListTaskExecutionsResult::ListTaskExecutionsResult
ListTaskExecutionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DataSync::Model::ListTaskExecutionsResult::WithTaskExecutions
ListTaskExecutionsResult & WithTaskExecutions(Aws::Vector< TaskExecutionListEntry > &&value)
Definition: ListTaskExecutionsResult.h:65
Aws::DataSync::Model::ListTaskExecutionsResult::WithTaskExecutions
ListTaskExecutionsResult & WithTaskExecutions(const Aws::Vector< TaskExecutionListEntry > &value)
Definition: ListTaskExecutionsResult.h:60
Aws::DataSync::Model::ListTaskExecutionsResult::WithNextToken
ListTaskExecutionsResult & WithNextToken(const Aws::String &value)
Definition: ListTaskExecutionsResult.h:106
Aws::DataSync::Model::ListTaskExecutionsResult::WithNextToken
ListTaskExecutionsResult & WithNextToken(const char *value)
Definition: ListTaskExecutionsResult.h:118
Aws::DataSync::Model::ListTaskExecutionsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListTaskExecutionsResult.h:88
Aws::DataSync::Model::ListTaskExecutionsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListTaskExecutionsResult.h:94
AWSString.h
DataSync_EXPORTS.h
Aws::DataSync::Model::ListTaskExecutionsResult::operator=
ListTaskExecutionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::DataSync::Model::ListTaskExecutionsResult::SetTaskExecutions
void SetTaskExecutions(const Aws::Vector< TaskExecutionListEntry > &value)
Definition: ListTaskExecutionsResult.h:50
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DataSync::Model::ListTaskExecutionsResult::AddTaskExecutions
ListTaskExecutionsResult & AddTaskExecutions(const TaskExecutionListEntry &value)
Definition: ListTaskExecutionsResult.h:70
Aws::DataSync::Model::TaskExecutionListEntry
Definition: TaskExecutionListEntry.h:37
Aws::DataSync::Model::ListTaskExecutionsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListTaskExecutionsResult.h:82
Aws::DataSync::Model::ListTaskExecutionsResult::GetTaskExecutions
const Aws::Vector< TaskExecutionListEntry > & GetTaskExecutions() const
Definition: ListTaskExecutionsResult.h:45
Aws::DataSync::Model::ListTaskExecutionsResult::ListTaskExecutionsResult
ListTaskExecutionsResult()
Aws::DataSync::Model::ListTaskExecutionsResult
Definition: ListTaskExecutionsResult.h:35