AWS SDK for C++  1.9.19
AWS SDK for C++
ListWorldGenerationJobsResult.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<WorldGenerationJobSummary>& GetWorldGenerationJobSummaries() const{ return m_worldGenerationJobSummaries; }
41 
45  inline void SetWorldGenerationJobSummaries(const Aws::Vector<WorldGenerationJobSummary>& value) { m_worldGenerationJobSummaries = value; }
46 
50  inline void SetWorldGenerationJobSummaries(Aws::Vector<WorldGenerationJobSummary>&& value) { m_worldGenerationJobSummaries = std::move(value); }
51 
55  inline ListWorldGenerationJobsResult& WithWorldGenerationJobSummaries(const Aws::Vector<WorldGenerationJobSummary>& value) { SetWorldGenerationJobSummaries(value); return *this;}
56 
60  inline ListWorldGenerationJobsResult& WithWorldGenerationJobSummaries(Aws::Vector<WorldGenerationJobSummary>&& value) { SetWorldGenerationJobSummaries(std::move(value)); return *this;}
61 
65  inline ListWorldGenerationJobsResult& AddWorldGenerationJobSummaries(const WorldGenerationJobSummary& value) { m_worldGenerationJobSummaries.push_back(value); return *this; }
66 
70  inline ListWorldGenerationJobsResult& AddWorldGenerationJobSummaries(WorldGenerationJobSummary&& value) { m_worldGenerationJobSummaries.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 ListWorldGenerationJobsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
122 
131  inline ListWorldGenerationJobsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
132 
141  inline ListWorldGenerationJobsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
142 
143  private:
144 
145  Aws::Vector<WorldGenerationJobSummary> m_worldGenerationJobSummaries;
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::ListWorldGenerationJobsResult::operator=
ListWorldGenerationJobsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::WithNextToken
ListWorldGenerationJobsResult & WithNextToken(Aws::String &&value)
Definition: ListWorldGenerationJobsResult.h:131
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListWorldGenerationJobsResult.h:111
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::AddWorldGenerationJobSummaries
ListWorldGenerationJobsResult & AddWorldGenerationJobSummaries(const WorldGenerationJobSummary &value)
Definition: ListWorldGenerationJobsResult.h:65
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::WithNextToken
ListWorldGenerationJobsResult & WithNextToken(const Aws::String &value)
Definition: ListWorldGenerationJobsResult.h:121
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::GetWorldGenerationJobSummaries
const Aws::Vector< WorldGenerationJobSummary > & GetWorldGenerationJobSummaries() const
Definition: ListWorldGenerationJobsResult.h:40
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListWorldGenerationJobsResult.h:101
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::SetWorldGenerationJobSummaries
void SetWorldGenerationJobSummaries(const Aws::Vector< WorldGenerationJobSummary > &value)
Definition: ListWorldGenerationJobsResult.h:45
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListWorldGenerationJobsResult.h:91
RoboMaker_EXPORTS.h
Aws::RoboMaker::Model::WorldGenerationJobSummary
Definition: WorldGenerationJobSummary.h:35
AWSString.h
Aws::RoboMaker::Model::ListWorldGenerationJobsResult
Definition: ListWorldGenerationJobsResult.h:30
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::WithNextToken
ListWorldGenerationJobsResult & WithNextToken(const char *value)
Definition: ListWorldGenerationJobsResult.h:141
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::ListWorldGenerationJobsResult
ListWorldGenerationJobsResult()
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::SetWorldGenerationJobSummaries
void SetWorldGenerationJobSummaries(Aws::Vector< WorldGenerationJobSummary > &&value)
Definition: ListWorldGenerationJobsResult.h:50
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::WithWorldGenerationJobSummaries
ListWorldGenerationJobsResult & WithWorldGenerationJobSummaries(Aws::Vector< WorldGenerationJobSummary > &&value)
Definition: ListWorldGenerationJobsResult.h:60
WorldGenerationJobSummary.h
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListWorldGenerationJobsResult.h:81
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::WithWorldGenerationJobSummaries
ListWorldGenerationJobsResult & WithWorldGenerationJobSummaries(const Aws::Vector< WorldGenerationJobSummary > &value)
Definition: ListWorldGenerationJobsResult.h:55
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::ListWorldGenerationJobsResult
ListWorldGenerationJobsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::RoboMaker::Model::ListWorldGenerationJobsResult::AddWorldGenerationJobSummaries
ListWorldGenerationJobsResult & AddWorldGenerationJobSummaries(WorldGenerationJobSummary &&value)
Definition: ListWorldGenerationJobsResult.h:70