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