AWS SDK for C++  1.9.20
AWS SDK for C++
ListSimulationApplicationsResult.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 
41  inline const Aws::Vector<SimulationApplicationSummary>& GetSimulationApplicationSummaries() const{ return m_simulationApplicationSummaries; }
42 
47  inline void SetSimulationApplicationSummaries(const Aws::Vector<SimulationApplicationSummary>& value) { m_simulationApplicationSummaries = value; }
48 
53  inline void SetSimulationApplicationSummaries(Aws::Vector<SimulationApplicationSummary>&& value) { m_simulationApplicationSummaries = std::move(value); }
54 
59  inline ListSimulationApplicationsResult& WithSimulationApplicationSummaries(const Aws::Vector<SimulationApplicationSummary>& value) { SetSimulationApplicationSummaries(value); return *this;}
60 
65  inline ListSimulationApplicationsResult& WithSimulationApplicationSummaries(Aws::Vector<SimulationApplicationSummary>&& value) { SetSimulationApplicationSummaries(std::move(value)); return *this;}
66 
71  inline ListSimulationApplicationsResult& AddSimulationApplicationSummaries(const SimulationApplicationSummary& value) { m_simulationApplicationSummaries.push_back(value); return *this; }
72 
77  inline ListSimulationApplicationsResult& AddSimulationApplicationSummaries(SimulationApplicationSummary&& value) { m_simulationApplicationSummaries.push_back(std::move(value)); return *this; }
78 
79 
88  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
89 
98  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
99 
108  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
109 
118  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
119 
128  inline ListSimulationApplicationsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
129 
138  inline ListSimulationApplicationsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
139 
148  inline ListSimulationApplicationsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
149 
150  private:
151 
152  Aws::Vector<SimulationApplicationSummary> m_simulationApplicationSummaries;
153 
154  Aws::String m_nextToken;
155  };
156 
157 } // namespace Model
158 } // namespace RoboMaker
159 } // namespace Aws
Aws::RoboMaker::Model::ListSimulationApplicationsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListSimulationApplicationsResult.h:98
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::RoboMaker::Model::ListSimulationApplicationsResult::SetSimulationApplicationSummaries
void SetSimulationApplicationSummaries(const Aws::Vector< SimulationApplicationSummary > &value)
Definition: ListSimulationApplicationsResult.h:47
Aws::RoboMaker::Model::ListSimulationApplicationsResult::operator=
ListSimulationApplicationsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
SimulationApplicationSummary.h
Aws::RoboMaker::Model::ListSimulationApplicationsResult::SetNextToken
void SetNextToken(const char *value)
Definition: ListSimulationApplicationsResult.h:118
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::RoboMaker::Model::ListSimulationApplicationsResult::AddSimulationApplicationSummaries
ListSimulationApplicationsResult & AddSimulationApplicationSummaries(const SimulationApplicationSummary &value)
Definition: ListSimulationApplicationsResult.h:71
AWSVector.h
Aws::RoboMaker::Model::ListSimulationApplicationsResult::AddSimulationApplicationSummaries
ListSimulationApplicationsResult & AddSimulationApplicationSummaries(SimulationApplicationSummary &&value)
Definition: ListSimulationApplicationsResult.h:77
Aws::RoboMaker::Model::ListSimulationApplicationsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListSimulationApplicationsResult.h:108
Aws::RoboMaker::Model::ListSimulationApplicationsResult::ListSimulationApplicationsResult
ListSimulationApplicationsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ROBOMAKER_API
#define AWS_ROBOMAKER_API
Definition: RoboMaker_EXPORTS.h:28
Aws::RoboMaker::Model::ListSimulationApplicationsResult::WithSimulationApplicationSummaries
ListSimulationApplicationsResult & WithSimulationApplicationSummaries(Aws::Vector< SimulationApplicationSummary > &&value)
Definition: ListSimulationApplicationsResult.h:65
Aws::RoboMaker::Model::ListSimulationApplicationsResult::GetSimulationApplicationSummaries
const Aws::Vector< SimulationApplicationSummary > & GetSimulationApplicationSummaries() const
Definition: ListSimulationApplicationsResult.h:41
Aws::RoboMaker::Model::ListSimulationApplicationsResult::WithNextToken
ListSimulationApplicationsResult & WithNextToken(Aws::String &&value)
Definition: ListSimulationApplicationsResult.h:138
RoboMaker_EXPORTS.h
AWSString.h
Aws::RoboMaker::Model::ListSimulationApplicationsResult::WithNextToken
ListSimulationApplicationsResult & WithNextToken(const Aws::String &value)
Definition: ListSimulationApplicationsResult.h:128
Aws::RoboMaker::Model::SimulationApplicationSummary
Definition: SimulationApplicationSummary.h:36
Aws
Definition: AccessManagementClient.h:15
Aws::RoboMaker::Model::ListSimulationApplicationsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListSimulationApplicationsResult.h:88
Aws::RoboMaker::Model::ListSimulationApplicationsResult::SetSimulationApplicationSummaries
void SetSimulationApplicationSummaries(Aws::Vector< SimulationApplicationSummary > &&value)
Definition: ListSimulationApplicationsResult.h:53
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::RoboMaker::Model::ListSimulationApplicationsResult::ListSimulationApplicationsResult
ListSimulationApplicationsResult()
Aws::RoboMaker::Model::ListSimulationApplicationsResult::WithSimulationApplicationSummaries
ListSimulationApplicationsResult & WithSimulationApplicationSummaries(const Aws::Vector< SimulationApplicationSummary > &value)
Definition: ListSimulationApplicationsResult.h:59
Aws::RoboMaker::Model::ListSimulationApplicationsResult
Definition: ListSimulationApplicationsResult.h:30
Aws::RoboMaker::Model::ListSimulationApplicationsResult::WithNextToken
ListSimulationApplicationsResult & WithNextToken(const char *value)
Definition: ListSimulationApplicationsResult.h:148