AWS SDK for C++  1.9.157
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 Amplify
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
46  inline const Aws::Vector<JobSummary>& GetJobSummaries() const{ return m_jobSummaries; }
47 
51  inline void SetJobSummaries(const Aws::Vector<JobSummary>& value) { m_jobSummaries = value; }
52 
56  inline void SetJobSummaries(Aws::Vector<JobSummary>&& value) { m_jobSummaries = std::move(value); }
57 
61  inline ListJobsResult& WithJobSummaries(const Aws::Vector<JobSummary>& value) { SetJobSummaries(value); return *this;}
62 
66  inline ListJobsResult& WithJobSummaries(Aws::Vector<JobSummary>&& value) { SetJobSummaries(std::move(value)); return *this;}
67 
71  inline ListJobsResult& AddJobSummaries(const JobSummary& value) { m_jobSummaries.push_back(value); return *this; }
72 
76  inline ListJobsResult& AddJobSummaries(JobSummary&& value) { m_jobSummaries.push_back(std::move(value)); return *this; }
77 
78 
83  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
84 
89  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
90 
95  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
96 
101  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
102 
107  inline ListJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
108 
113  inline ListJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
114 
119  inline ListJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
120 
121  private:
122 
123  Aws::Vector<JobSummary> m_jobSummaries;
124 
125  Aws::String m_nextToken;
126  };
127 
128 } // namespace Model
129 } // namespace Amplify
130 } // namespace Aws
Amplify_EXPORTS.h
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Amplify::Model::ListJobsResult::SetJobSummaries
void SetJobSummaries(const Aws::Vector< JobSummary > &value)
Definition: ListJobsResult.h:51
Aws::Amplify::Model::ListJobsResult::SetJobSummaries
void SetJobSummaries(Aws::Vector< JobSummary > &&value)
Definition: ListJobsResult.h:56
Aws::Amplify::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(const Aws::String &value)
Definition: ListJobsResult.h:107
Aws::Amplify::Model::ListJobsResult
Definition: ListJobsResult.h:36
Aws::Amplify::Model::ListJobsResult::AddJobSummaries
ListJobsResult & AddJobSummaries(JobSummary &&value)
Definition: ListJobsResult.h:76
Aws::Amplify::Model::ListJobsResult::WithJobSummaries
ListJobsResult & WithJobSummaries(const Aws::Vector< JobSummary > &value)
Definition: ListJobsResult.h:61
JobSummary.h
Aws::Amplify::Model::ListJobsResult::ListJobsResult
ListJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::ListJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListJobsResult.h:83
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Amplify::Model::ListJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListJobsResult.h:95
Aws::Amplify::Model::ListJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListJobsResult.h:89
Aws::Amplify::Model::JobSummary
Definition: JobSummary.h:36
AWSString.h
Aws::Amplify::Model::ListJobsResult::ListJobsResult
ListJobsResult()
Aws::Amplify::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(Aws::String &&value)
Definition: ListJobsResult.h:113
Aws::Amplify::Model::ListJobsResult::AddJobSummaries
ListJobsResult & AddJobSummaries(const JobSummary &value)
Definition: ListJobsResult.h:71
Aws::Amplify::Model::ListJobsResult::WithNextToken
ListJobsResult & WithNextToken(const char *value)
Definition: ListJobsResult.h:119
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Amplify::Model::ListJobsResult::GetJobSummaries
const Aws::Vector< JobSummary > & GetJobSummaries() const
Definition: ListJobsResult.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Amplify::Model::ListJobsResult::operator=
ListJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Amplify::Model::ListJobsResult::WithJobSummaries
ListJobsResult & WithJobSummaries(Aws::Vector< JobSummary > &&value)
Definition: ListJobsResult.h:66
AWS_AMPLIFY_API
#define AWS_AMPLIFY_API
Definition: Amplify_EXPORTS.h:28
Aws::Amplify::Model::ListJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListJobsResult.h:101