AWS SDK for C++  1.9.123
AWS SDK for C++
ListJobsResult.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 ListJobsResult& WithJobListEntries(const Aws::Vector<JobListEntry>& value) { SetJobListEntries(value); return *this;}
64 
70  inline ListJobsResult& WithJobListEntries(Aws::Vector<JobListEntry>&& value) { SetJobListEntries(std::move(value)); return *this;}
71 
77  inline ListJobsResult& AddJobListEntries(const JobListEntry& value) { m_jobListEntries.push_back(value); return *this; }
78 
84  inline ListJobsResult& AddJobListEntries(JobListEntry&& value) { m_jobListEntries.push_back(std::move(value)); return *this; }
85 
86 
93  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
94 
101  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
102 
109  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
110 
117  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
118 
125  inline ListJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
126 
133  inline ListJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
134 
141  inline ListJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<JobListEntry> m_jobListEntries;
146 
147  Aws::String m_nextToken;
148  };
149 
150 } // namespace Model
151 } // namespace Snowball
152 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Snowball::Model::ListJobsResult::SetJobListEntries
void SetJobListEntries(Aws::Vector< JobListEntry > &&value)
Definition: ListJobsResult.h:56
Aws::Snowball::Model::ListJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListJobsResult.h:101
Aws::Snowball::Model::ListJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListJobsResult.h:109
Aws::Snowball::Model::ListJobsResult::AddJobListEntries
ListJobsResult & AddJobListEntries(const JobListEntry &value)
Definition: ListJobsResult.h:77
Aws::Snowball::Model::ListJobsResult::AddJobListEntries
ListJobsResult & AddJobListEntries(JobListEntry &&value)
Definition: ListJobsResult.h:84
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Snowball::Model::ListJobsResult
Definition: ListJobsResult.h:30
AWSVector.h
AWS_SNOWBALL_API
#define AWS_SNOWBALL_API
Definition: Snowball_EXPORTS.h:28
Aws::Snowball::Model::ListJobsResult::SetJobListEntries
void SetJobListEntries(const Aws::Vector< JobListEntry > &value)
Definition: ListJobsResult.h:49
Aws::Snowball::Model::ListJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListJobsResult.h:93
JobListEntry.h
AWSString.h
Aws::Snowball::Model::ListJobsResult::ListJobsResult
ListJobsResult()
Aws::Snowball::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(const Aws::String &value)
Definition: ListJobsResult.h:125
Aws::Snowball::Model::JobListEntry
Definition: JobListEntry.h:38
Aws::Snowball::Model::ListJobsResult::ListJobsResult
ListJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::ListJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListJobsResult.h:117
Aws::Snowball::Model::ListJobsResult::operator=
ListJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Snowball::Model::ListJobsResult::GetJobListEntries
const Aws::Vector< JobListEntry > & GetJobListEntries() const
Definition: ListJobsResult.h:42
Aws::Snowball::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(const char *value)
Definition: ListJobsResult.h:141
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Snowball::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(Aws::String &&value)
Definition: ListJobsResult.h:133
Aws::Snowball::Model::ListJobsResult::WithJobListEntries
ListJobsResult & WithJobListEntries(const Aws::Vector< JobListEntry > &value)
Definition: ListJobsResult.h:63
Snowball_EXPORTS.h
Aws::Snowball::Model::ListJobsResult::WithJobListEntries
ListJobsResult & WithJobListEntries(Aws::Vector< JobListEntry > &&value)
Definition: ListJobsResult.h:70