AWS SDK for C++  1.9.46
AWS SDK for C++
DescribeFleetEventsResult.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 GameLift
26 {
27 namespace Model
28 {
36  {
37  public:
41 
42 
47  inline const Aws::Vector<Event>& GetEvents() const{ return m_events; }
48 
53  inline void SetEvents(const Aws::Vector<Event>& value) { m_events = value; }
54 
59  inline void SetEvents(Aws::Vector<Event>&& value) { m_events = std::move(value); }
60 
65  inline DescribeFleetEventsResult& WithEvents(const Aws::Vector<Event>& value) { SetEvents(value); return *this;}
66 
71  inline DescribeFleetEventsResult& WithEvents(Aws::Vector<Event>&& value) { SetEvents(std::move(value)); return *this;}
72 
77  inline DescribeFleetEventsResult& AddEvents(const Event& value) { m_events.push_back(value); return *this; }
78 
83  inline DescribeFleetEventsResult& AddEvents(Event&& value) { m_events.push_back(std::move(value)); return *this; }
84 
85 
91  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
92 
98  inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
99 
105  inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
106 
112  inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
113 
119  inline DescribeFleetEventsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
120 
126  inline DescribeFleetEventsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
127 
133  inline DescribeFleetEventsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
134 
135  private:
136 
137  Aws::Vector<Event> m_events;
138 
139  Aws::String m_nextToken;
140  };
141 
142 } // namespace Model
143 } // namespace GameLift
144 } // namespace Aws
Aws::GameLift::Model::DescribeFleetEventsResult::SetEvents
void SetEvents(Aws::Vector< Event > &&value)
Definition: DescribeFleetEventsResult.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::GameLift::Model::DescribeFleetEventsResult::DescribeFleetEventsResult
DescribeFleetEventsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Event.h
Aws::GameLift::Model::DescribeFleetEventsResult::AddEvents
DescribeFleetEventsResult & AddEvents(const Event &value)
Definition: DescribeFleetEventsResult.h:77
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeFleetEventsResult::WithNextToken
DescribeFleetEventsResult & WithNextToken(Aws::String &&value)
Definition: DescribeFleetEventsResult.h:126
Aws::GameLift::Model::DescribeFleetEventsResult::AddEvents
DescribeFleetEventsResult & AddEvents(Event &&value)
Definition: DescribeFleetEventsResult.h:83
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeFleetEventsResult
Definition: DescribeFleetEventsResult.h:36
Aws::GameLift::Model::DescribeFleetEventsResult::WithEvents
DescribeFleetEventsResult & WithEvents(const Aws::Vector< Event > &value)
Definition: DescribeFleetEventsResult.h:65
Aws::GameLift::Model::DescribeFleetEventsResult::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeFleetEventsResult.h:91
Aws::GameLift::Model::DescribeFleetEventsResult::DescribeFleetEventsResult
DescribeFleetEventsResult()
Aws::GameLift::Model::DescribeFleetEventsResult::GetEvents
const Aws::Vector< Event > & GetEvents() const
Definition: DescribeFleetEventsResult.h:47
AWSString.h
Aws::GameLift::Model::DescribeFleetEventsResult::WithNextToken
DescribeFleetEventsResult & WithNextToken(const Aws::String &value)
Definition: DescribeFleetEventsResult.h:119
Aws::GameLift::Model::Event
Definition: Event.h:38
Aws::GameLift::Model::DescribeFleetEventsResult::SetEvents
void SetEvents(const Aws::Vector< Event > &value)
Definition: DescribeFleetEventsResult.h:53
Aws::GameLift::Model::DescribeFleetEventsResult::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeFleetEventsResult.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeFleetEventsResult::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeFleetEventsResult.h:112
Aws::GameLift::Model::DescribeFleetEventsResult::WithEvents
DescribeFleetEventsResult & WithEvents(Aws::Vector< Event > &&value)
Definition: DescribeFleetEventsResult.h:71
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeFleetEventsResult::operator=
DescribeFleetEventsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::GameLift::Model::DescribeFleetEventsResult::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeFleetEventsResult.h:98
Aws::GameLift::Model::DescribeFleetEventsResult::WithNextToken
DescribeFleetEventsResult & WithNextToken(const char *value)
Definition: DescribeFleetEventsResult.h:133