AWS SDK for C++  1.8.71
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 
38  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
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
DescribeFleetEventsRequest & WithFleetId(const Aws::String &value)
DescribeFleetEventsRequest & WithFleetId(Aws::String &&value)
DescribeFleetEventsRequest & WithEndTime(Aws::Utils::DateTime &&value)
#define AWS_GAMELIFT_API
DescribeFleetEventsRequest & WithFleetId(const char *value)
void SetStartTime(const Aws::Utils::DateTime &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
DescribeFleetEventsRequest & WithEndTime(const Aws::Utils::DateTime &value)
DescribeFleetEventsRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeFleetEventsRequest & WithNextToken(const char *value)
DescribeFleetEventsRequest & WithStartTime(Aws::Utils::DateTime &&value)
virtual const char * GetServiceRequestName() const override
DescribeFleetEventsRequest & WithNextToken(const Aws::String &value)
DescribeFleetEventsRequest & WithLimit(int value)
DescribeFleetEventsRequest & WithNextToken(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
void SetEndTime(const Aws::Utils::DateTime &value)