AWS SDK for C++  1.9.19
AWS SDK for C++
ListDeploymentJobsResult.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 RoboMaker
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<DeploymentJob>& GetDeploymentJobs() const{ return m_deploymentJobs; }
41 
45  inline void SetDeploymentJobs(const Aws::Vector<DeploymentJob>& value) { m_deploymentJobs = value; }
46 
50  inline void SetDeploymentJobs(Aws::Vector<DeploymentJob>&& value) { m_deploymentJobs = std::move(value); }
51 
55  inline ListDeploymentJobsResult& WithDeploymentJobs(const Aws::Vector<DeploymentJob>& value) { SetDeploymentJobs(value); return *this;}
56 
60  inline ListDeploymentJobsResult& WithDeploymentJobs(Aws::Vector<DeploymentJob>&& value) { SetDeploymentJobs(std::move(value)); return *this;}
61 
65  inline ListDeploymentJobsResult& AddDeploymentJobs(const DeploymentJob& value) { m_deploymentJobs.push_back(value); return *this; }
66 
70  inline ListDeploymentJobsResult& AddDeploymentJobs(DeploymentJob&& value) { m_deploymentJobs.push_back(std::move(value)); return *this; }
71 
72 
81  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
82 
91  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
92 
101  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
102 
111  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
112 
121  inline ListDeploymentJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
122 
131  inline ListDeploymentJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 
141  inline ListDeploymentJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<DeploymentJob> m_deploymentJobs;
146 
147  Aws::String m_nextToken;
148  };
149 
150 } // namespace Model
151 } // namespace RoboMaker
152 } // namespace Aws
Aws::RoboMaker::Model::ListDeploymentJobsResult::ListDeploymentJobsResult
ListDeploymentJobsResult()
Aws::RoboMaker::Model::ListDeploymentJobsResult
Definition: ListDeploymentJobsResult.h:30
Aws::RoboMaker::Model::ListDeploymentJobsResult::WithDeploymentJobs
ListDeploymentJobsResult & WithDeploymentJobs(const Aws::Vector< DeploymentJob > &value)
Definition: ListDeploymentJobsResult.h:55
Aws::RoboMaker::Model::ListDeploymentJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListDeploymentJobsResult.h:111
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::ListDeploymentJobsResult::WithNextToken
ListDeploymentJobsResult & WithNextToken(const Aws::String &value)
Definition: ListDeploymentJobsResult.h:121
Aws::RoboMaker::Model::ListDeploymentJobsResult::WithDeploymentJobs
ListDeploymentJobsResult & WithDeploymentJobs(Aws::Vector< DeploymentJob > &&value)
Definition: ListDeploymentJobsResult.h:60
Aws::RoboMaker::Model::ListDeploymentJobsResult::AddDeploymentJobs
ListDeploymentJobsResult & AddDeploymentJobs(DeploymentJob &&value)
Definition: ListDeploymentJobsResult.h:70
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::ListDeploymentJobsResult::WithNextToken
ListDeploymentJobsResult & WithNextToken(const char *value)
Definition: ListDeploymentJobsResult.h:141
AWSVector.h
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListDeploymentJobsResult::AddDeploymentJobs
ListDeploymentJobsResult & AddDeploymentJobs(const DeploymentJob &value)
Definition: ListDeploymentJobsResult.h:65
Aws::RoboMaker::Model::ListDeploymentJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListDeploymentJobsResult.h:81
Aws::RoboMaker::Model::ListDeploymentJobsResult::SetDeploymentJobs
void SetDeploymentJobs(const Aws::Vector< DeploymentJob > &value)
Definition: ListDeploymentJobsResult.h:45
Aws::RoboMaker::Model::DeploymentJob
Definition: DeploymentJob.h:38
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::ListDeploymentJobsResult::ListDeploymentJobsResult
ListDeploymentJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::RoboMaker::Model::ListDeploymentJobsResult::WithNextToken
ListDeploymentJobsResult & WithNextToken(Aws::String &&value)
Definition: ListDeploymentJobsResult.h:131
Aws::RoboMaker::Model::ListDeploymentJobsResult::SetDeploymentJobs
void SetDeploymentJobs(Aws::Vector< DeploymentJob > &&value)
Definition: ListDeploymentJobsResult.h:50
DeploymentJob.h
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::ListDeploymentJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListDeploymentJobsResult.h:91
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ListDeploymentJobsResult::operator=
ListDeploymentJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::ListDeploymentJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListDeploymentJobsResult.h:101
Aws::RoboMaker::Model::ListDeploymentJobsResult::GetDeploymentJobs
const Aws::Vector< DeploymentJob > & GetDeploymentJobs() const
Definition: ListDeploymentJobsResult.h:40