AWS SDK for C++  1.9.20
AWS SDK for C++
ListSimulationJobsResult.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<SimulationJobSummary>& GetSimulationJobSummaries() const{ return m_simulationJobSummaries; }
41 
45  inline void SetSimulationJobSummaries(const Aws::Vector<SimulationJobSummary>& value) { m_simulationJobSummaries = value; }
46 
50  inline void SetSimulationJobSummaries(Aws::Vector<SimulationJobSummary>&& value) { m_simulationJobSummaries = std::move(value); }
51 
55  inline ListSimulationJobsResult& WithSimulationJobSummaries(const Aws::Vector<SimulationJobSummary>& value) { SetSimulationJobSummaries(value); return *this;}
56 
60  inline ListSimulationJobsResult& WithSimulationJobSummaries(Aws::Vector<SimulationJobSummary>&& value) { SetSimulationJobSummaries(std::move(value)); return *this;}
61 
65  inline ListSimulationJobsResult& AddSimulationJobSummaries(const SimulationJobSummary& value) { m_simulationJobSummaries.push_back(value); return *this; }
66 
70  inline ListSimulationJobsResult& AddSimulationJobSummaries(SimulationJobSummary&& value) { m_simulationJobSummaries.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 ListSimulationJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
122 
131  inline ListSimulationJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 
141  inline ListSimulationJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<SimulationJobSummary> m_simulationJobSummaries;
146 
147  Aws::String m_nextToken;
148  };
149 
150 } // namespace Model
151 } // namespace RoboMaker
152 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::ListSimulationJobsResult::ListSimulationJobsResult
ListSimulationJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::ListSimulationJobsResult::AddSimulationJobSummaries
ListSimulationJobsResult & AddSimulationJobSummaries(SimulationJobSummary &&value)
Definition: ListSimulationJobsResult.h:70
Aws::RoboMaker::Model::ListSimulationJobsResult::ListSimulationJobsResult
ListSimulationJobsResult()
Aws::RoboMaker::Model::ListSimulationJobsResult::WithNextToken
ListSimulationJobsResult & WithNextToken(const Aws::String &value)
Definition: ListSimulationJobsResult.h:121
Aws::RoboMaker::Model::ListSimulationJobsResult::SetSimulationJobSummaries
void SetSimulationJobSummaries(Aws::Vector< SimulationJobSummary > &&value)
Definition: ListSimulationJobsResult.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::ListSimulationJobsResult::WithNextToken
ListSimulationJobsResult & WithNextToken(const char *value)
Definition: ListSimulationJobsResult.h:141
Aws::RoboMaker::Model::ListSimulationJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSimulationJobsResult.h:101
AWSVector.h
Aws::RoboMaker::Model::ListSimulationJobsResult
Definition: ListSimulationJobsResult.h:30
Aws::RoboMaker::Model::ListSimulationJobsResult::GetSimulationJobSummaries
const Aws::Vector< SimulationJobSummary > & GetSimulationJobSummaries() const
Definition: ListSimulationJobsResult.h:40
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListSimulationJobsResult::WithSimulationJobSummaries
ListSimulationJobsResult & WithSimulationJobSummaries(Aws::Vector< SimulationJobSummary > &&value)
Definition: ListSimulationJobsResult.h:60
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::ListSimulationJobsResult::operator=
ListSimulationJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::RoboMaker::Model::SimulationJobSummary
Definition: SimulationJobSummary.h:35
Aws::RoboMaker::Model::ListSimulationJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSimulationJobsResult.h:91
Aws::RoboMaker::Model::ListSimulationJobsResult::AddSimulationJobSummaries
ListSimulationJobsResult & AddSimulationJobSummaries(const SimulationJobSummary &value)
Definition: ListSimulationJobsResult.h:65
Aws::RoboMaker::Model::ListSimulationJobsResult::WithSimulationJobSummaries
ListSimulationJobsResult & WithSimulationJobSummaries(const Aws::Vector< SimulationJobSummary > &value)
Definition: ListSimulationJobsResult.h:55
Aws::RoboMaker::Model::ListSimulationJobsResult::WithNextToken
ListSimulationJobsResult & WithNextToken(Aws::String &&value)
Definition: ListSimulationJobsResult.h:131
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::ListSimulationJobsResult::SetSimulationJobSummaries
void SetSimulationJobSummaries(const Aws::Vector< SimulationJobSummary > &value)
Definition: ListSimulationJobsResult.h:45
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
SimulationJobSummary.h
Aws::RoboMaker::Model::ListSimulationJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSimulationJobsResult.h:81
Aws::RoboMaker::Model::ListSimulationJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListSimulationJobsResult.h:111