AWS SDK for C++  1.9.153
AWS SDK for C++
DescribeFleetEventsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace GameLift
16 {
17 namespace Model
18 {
19 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DescribeFleetEvents"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
45  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
46 
51  inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
52 
57  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
58 
63  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
64 
69  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
70 
75  inline DescribeFleetEventsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
76 
81  inline DescribeFleetEventsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
82 
87  inline DescribeFleetEventsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
88 
89 
96  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
97 
104  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
105 
112  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
113 
120  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
121 
128  inline DescribeFleetEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
129 
136  inline DescribeFleetEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
137 
138 
145  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
146 
153  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
154 
161  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
162 
169  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
170 
177  inline DescribeFleetEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
178 
185  inline DescribeFleetEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
186 
187 
192  inline int GetLimit() const{ return m_limit; }
193 
198  inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
199 
204  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
205 
210  inline DescribeFleetEventsRequest& WithLimit(int value) { SetLimit(value); return *this;}
211 
212 
218  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
219 
225  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
226 
232  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
233 
239  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
240 
246  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
247 
253  inline DescribeFleetEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
254 
260  inline DescribeFleetEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
261 
267  inline DescribeFleetEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
268 
269  private:
270 
271  Aws::String m_fleetId;
272  bool m_fleetIdHasBeenSet;
273 
274  Aws::Utils::DateTime m_startTime;
275  bool m_startTimeHasBeenSet;
276 
277  Aws::Utils::DateTime m_endTime;
278  bool m_endTimeHasBeenSet;
279 
280  int m_limit;
281  bool m_limitHasBeenSet;
282 
283  Aws::String m_nextToken;
284  bool m_nextTokenHasBeenSet;
285  };
286 
287 } // namespace Model
288 } // namespace GameLift
289 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GameLift::Model::DescribeFleetEventsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: DescribeFleetEventsRequest.h:225
Aws::GameLift::Model::DescribeFleetEventsRequest::SetLimit
void SetLimit(int value)
Definition: DescribeFleetEventsRequest.h:204
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::GameLift::Model::DescribeFleetEventsRequest::FleetIdHasBeenSet
bool FleetIdHasBeenSet() const
Definition: DescribeFleetEventsRequest.h:51
Aws::GameLift::Model::DescribeFleetEventsRequest::WithFleetId
DescribeFleetEventsRequest & WithFleetId(const char *value)
Definition: DescribeFleetEventsRequest.h:87
Aws::GameLift::Model::DescribeFleetEventsRequest::WithEndTime
DescribeFleetEventsRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: DescribeFleetEventsRequest.h:177
DateTime.h
Aws::GameLift::Model::DescribeFleetEventsRequest::SerializePayload
Aws::String SerializePayload() const override
AWS_GAMELIFT_API
#define AWS_GAMELIFT_API
Definition: GameLift_EXPORTS.h:28
Aws::GameLift::Model::DescribeFleetEventsRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: DescribeFleetEventsRequest.h:153
Aws::GameLift::Model::DescribeFleetEventsRequest::WithNextToken
DescribeFleetEventsRequest & WithNextToken(const char *value)
Definition: DescribeFleetEventsRequest.h:267
Aws::GameLift::Model::DescribeFleetEventsRequest::LimitHasBeenSet
bool LimitHasBeenSet() const
Definition: DescribeFleetEventsRequest.h:198
Aws::GameLift::Model::DescribeFleetEventsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: DescribeFleetEventsRequest.h:239
Aws::GameLift::Model::DescribeFleetEventsRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: DescribeFleetEventsRequest.h:112
Aws::GameLift::Model::DescribeFleetEventsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DescribeFleetEventsRequest.h:34
Aws::GameLift::Model::DescribeFleetEventsRequest::WithNextToken
DescribeFleetEventsRequest & WithNextToken(const Aws::String &value)
Definition: DescribeFleetEventsRequest.h:253
Aws::GameLift::Model::DescribeFleetEventsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: DescribeFleetEventsRequest.h:246
Aws::GameLift::Model::DescribeFleetEventsRequest::SetFleetId
void SetFleetId(Aws::String &&value)
Definition: DescribeFleetEventsRequest.h:63
Aws::GameLift::Model::DescribeFleetEventsRequest::GetLimit
int GetLimit() const
Definition: DescribeFleetEventsRequest.h:192
GameLift_EXPORTS.h
Aws::GameLift::Model::DescribeFleetEventsRequest::DescribeFleetEventsRequest
DescribeFleetEventsRequest()
Aws::GameLift::Model::DescribeFleetEventsRequest::WithNextToken
DescribeFleetEventsRequest & WithNextToken(Aws::String &&value)
Definition: DescribeFleetEventsRequest.h:260
GameLiftRequest.h
Aws::GameLift::Model::DescribeFleetEventsRequest::WithEndTime
DescribeFleetEventsRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: DescribeFleetEventsRequest.h:185
Aws::GameLift::Model::DescribeFleetEventsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: DescribeFleetEventsRequest.h:232
Aws::GameLift::Model::DescribeFleetEventsRequest::WithLimit
DescribeFleetEventsRequest & WithLimit(int value)
Definition: DescribeFleetEventsRequest.h:210
Aws::GameLift::Model::DescribeFleetEventsRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: DescribeFleetEventsRequest.h:104
Aws::GameLift::GameLiftRequest
Definition: GameLiftRequest.h:17
AWSString.h
Aws::GameLift::Model::DescribeFleetEventsRequest::WithFleetId
DescribeFleetEventsRequest & WithFleetId(const Aws::String &value)
Definition: DescribeFleetEventsRequest.h:75
Aws::GameLift::Model::DescribeFleetEventsRequest::WithStartTime
DescribeFleetEventsRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: DescribeFleetEventsRequest.h:128
Aws::GameLift::Model::DescribeFleetEventsRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: DescribeFleetEventsRequest.h:161
Aws::GameLift::Model::DescribeFleetEventsRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: DescribeFleetEventsRequest.h:96
Aws::GameLift::Model::DescribeFleetEventsRequest::WithStartTime
DescribeFleetEventsRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: DescribeFleetEventsRequest.h:136
Aws::GameLift::Model::DescribeFleetEventsRequest
Definition: DescribeFleetEventsRequest.h:26
Aws::GameLift::Model::DescribeFleetEventsRequest::SetFleetId
void SetFleetId(const Aws::String &value)
Definition: DescribeFleetEventsRequest.h:57
Aws::GameLift::Model::DescribeFleetEventsRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: DescribeFleetEventsRequest.h:169
Aws::GameLift::Model::DescribeFleetEventsRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws
Definition: AccessManagementClient.h:15
Aws::GameLift::Model::DescribeFleetEventsRequest::SetFleetId
void SetFleetId(const char *value)
Definition: DescribeFleetEventsRequest.h:69
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GameLift::Model::DescribeFleetEventsRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: DescribeFleetEventsRequest.h:145
Aws::GameLift::Model::DescribeFleetEventsRequest::WithFleetId
DescribeFleetEventsRequest & WithFleetId(Aws::String &&value)
Definition: DescribeFleetEventsRequest.h:81
Aws::GameLift::Model::DescribeFleetEventsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: DescribeFleetEventsRequest.h:218
Aws::GameLift::Model::DescribeFleetEventsRequest::GetFleetId
const Aws::String & GetFleetId() const
Definition: DescribeFleetEventsRequest.h:45
Aws::GameLift::Model::DescribeFleetEventsRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: DescribeFleetEventsRequest.h:120