AWS SDK for C++  1.9.160
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 MediaConvert
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<Job>& GetJobs() const{ return m_jobs; }
41 
45  inline void SetJobs(const Aws::Vector<Job>& value) { m_jobs = value; }
46 
50  inline void SetJobs(Aws::Vector<Job>&& value) { m_jobs = std::move(value); }
51 
55  inline ListJobsResult& WithJobs(const Aws::Vector<Job>& value) { SetJobs(value); return *this;}
56 
60  inline ListJobsResult& WithJobs(Aws::Vector<Job>&& value) { SetJobs(std::move(value)); return *this;}
61 
65  inline ListJobsResult& AddJobs(const Job& value) { m_jobs.push_back(value); return *this; }
66 
70  inline ListJobsResult& AddJobs(Job&& value) { m_jobs.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
77 
81  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
82 
86  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
87 
91  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
92 
96  inline ListJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
97 
101  inline ListJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
102 
106  inline ListJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
107 
108  private:
109 
110  Aws::Vector<Job> m_jobs;
111 
112  Aws::String m_nextToken;
113  };
114 
115 } // namespace Model
116 } // namespace MediaConvert
117 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::MediaConvert::Model::ListJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListJobsResult.h:86
Aws::MediaConvert::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(const char *value)
Definition: ListJobsResult.h:106
Aws::MediaConvert::Model::ListJobsResult::operator=
ListJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
MediaConvert_EXPORTS.h
Aws::MediaConvert::Model::ListJobsResult
Definition: ListJobsResult.h:30
AWS_MEDIACONVERT_API
#define AWS_MEDIACONVERT_API
Definition: MediaConvert_EXPORTS.h:28
Aws::MediaConvert::Model::ListJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListJobsResult.h:81
Aws::MediaConvert::Model::ListJobsResult::WithJobs
ListJobsResult & WithJobs(Aws::Vector< Job > &&value)
Definition: ListJobsResult.h:60
Aws::MediaConvert::Model::ListJobsResult::SetJobs
void SetJobs(Aws::Vector< Job > &&value)
Definition: ListJobsResult.h:50
Aws::MediaConvert::Model::ListJobsResult::ListJobsResult
ListJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::MediaConvert::Model::Job
Definition: Job.h:51
Aws::MediaConvert::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(const Aws::String &value)
Definition: ListJobsResult.h:96
AWSVector.h
Job.h
Aws::MediaConvert::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(Aws::String &&value)
Definition: ListJobsResult.h:101
Aws::MediaConvert::Model::ListJobsResult::AddJobs
ListJobsResult & AddJobs(Job &&value)
Definition: ListJobsResult.h:70
Aws::MediaConvert::Model::ListJobsResult::WithJobs
ListJobsResult & WithJobs(const Aws::Vector< Job > &value)
Definition: ListJobsResult.h:55
AWSString.h
Aws::MediaConvert::Model::ListJobsResult::ListJobsResult
ListJobsResult()
Aws::MediaConvert::Model::ListJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListJobsResult.h:76
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::MediaConvert::Model::ListJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListJobsResult.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::MediaConvert::Model::ListJobsResult::SetJobs
void SetJobs(const Aws::Vector< Job > &value)
Definition: ListJobsResult.h:45
Aws::MediaConvert::Model::ListJobsResult::GetJobs
const Aws::Vector< Job > & GetJobs() const
Definition: ListJobsResult.h:40
Aws::MediaConvert::Model::ListJobsResult::AddJobs
ListJobsResult & AddJobs(const Job &value)
Definition: ListJobsResult.h:65