AWS SDK for C++  1.9.109
AWS SDK for C++
ListClusterJobsResult.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 Snowball
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
42  inline const Aws::Vector<JobListEntry>& GetJobListEntries() const{ return m_jobListEntries; }
43 
49  inline void SetJobListEntries(const Aws::Vector<JobListEntry>& value) { m_jobListEntries = value; }
50 
56  inline void SetJobListEntries(Aws::Vector<JobListEntry>&& value) { m_jobListEntries = std::move(value); }
57 
63  inline ListClusterJobsResult& WithJobListEntries(const Aws::Vector<JobListEntry>& value) { SetJobListEntries(value); return *this;}
64 
70  inline ListClusterJobsResult& WithJobListEntries(Aws::Vector<JobListEntry>&& value) { SetJobListEntries(std::move(value)); return *this;}
71 
77  inline ListClusterJobsResult& AddJobListEntries(const JobListEntry& value) { m_jobListEntries.push_back(value); return *this; }
78 
84  inline ListClusterJobsResult& AddJobListEntries(JobListEntry&& value) { m_jobListEntries.push_back(std::move(value)); return *this; }
85 
86 
92  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
93 
99  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
100 
106  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
107 
113  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
114 
120  inline ListClusterJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
121 
127  inline ListClusterJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
128 
134  inline ListClusterJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
135 
136  private:
137 
138  Aws::Vector<JobListEntry> m_jobListEntries;
139 
140  Aws::String m_nextToken;
141  };
142 
143 } // namespace Model
144 } // namespace Snowball
145 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::ListClusterJobsResult::SetJobListEntries
void SetJobListEntries(const Aws::Vector< JobListEntry > &value)
Definition: ListClusterJobsResult.h:49
Aws::Snowball::Model::ListClusterJobsResult
Definition: ListClusterJobsResult.h:30
Aws::Snowball::Model::ListClusterJobsResult::AddJobListEntries
ListClusterJobsResult & AddJobListEntries(const JobListEntry &value)
Definition: ListClusterJobsResult.h:77
Aws::Snowball::Model::ListClusterJobsResult::AddJobListEntries
ListClusterJobsResult & AddJobListEntries(JobListEntry &&value)
Definition: ListClusterJobsResult.h:84
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Snowball::Model::ListClusterJobsResult::ListClusterJobsResult
ListClusterJobsResult()
Aws::Snowball::Model::ListClusterJobsResult::WithNextToken
ListClusterJobsResult & WithNextToken(Aws::String &&value)
Definition: ListClusterJobsResult.h:127
Aws::Snowball::Model::ListClusterJobsResult::WithJobListEntries
ListClusterJobsResult & WithJobListEntries(const Aws::Vector< JobListEntry > &value)
Definition: ListClusterJobsResult.h:63
AWSVector.h
Aws::Snowball::Model::ListClusterJobsResult::WithNextToken
ListClusterJobsResult & WithNextToken(const Aws::String &value)
Definition: ListClusterJobsResult.h:120
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::ListClusterJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListClusterJobsResult.h:106
Aws::Snowball::Model::ListClusterJobsResult::GetJobListEntries
const Aws::Vector< JobListEntry > & GetJobListEntries() const
Definition: ListClusterJobsResult.h:42
JobListEntry.h
AWSString.h
Aws::Snowball::Model::ListClusterJobsResult::WithJobListEntries
ListClusterJobsResult & WithJobListEntries(Aws::Vector< JobListEntry > &&value)
Definition: ListClusterJobsResult.h:70
Aws::Snowball::Model::JobListEntry
Definition: JobListEntry.h:38
Aws::Snowball::Model::ListClusterJobsResult::WithNextToken
ListClusterJobsResult & WithNextToken(const char *value)
Definition: ListClusterJobsResult.h:134
Aws::Snowball::Model::ListClusterJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListClusterJobsResult.h:92
Aws::Snowball::Model::ListClusterJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListClusterJobsResult.h:99
Aws
Definition: AccessManagementClient.h:15
Aws::Snowball::Model::ListClusterJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListClusterJobsResult.h:113
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::ListClusterJobsResult::SetJobListEntries
void SetJobListEntries(Aws::Vector< JobListEntry > &&value)
Definition: ListClusterJobsResult.h:56
Aws::Snowball::Model::ListClusterJobsResult::operator=
ListClusterJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Snowball_EXPORTS.h
Aws::Snowball::Model::ListClusterJobsResult::ListClusterJobsResult
ListClusterJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)