AWS SDK for C++  0.14.3
AWS SDK for C++
DescribeFleetEventsRequest.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
20 
21 namespace Aws
22 {
23 namespace GameLift
24 {
25 namespace Model
26 {
27 
32  {
33  public:
35  Aws::String SerializePayload() const override;
36 
37  Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
38 
42  inline const Aws::String& GetFleetId() const{ return m_fleetId; }
43 
47  inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
48 
52  inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
53 
57  inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
58 
62  inline DescribeFleetEventsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
63 
67  inline DescribeFleetEventsRequest& WithFleetId(Aws::String&& value) { SetFleetId(value); return *this;}
68 
72  inline DescribeFleetEventsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
73 
80  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
81 
88  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
89 
96  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
97 
104  inline DescribeFleetEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
105 
112  inline DescribeFleetEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(value); return *this;}
113 
120  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
121 
128  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
129 
136  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
137 
144  inline DescribeFleetEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
145 
152  inline DescribeFleetEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(value); return *this;}
153 
158  inline int GetLimit() const{ return m_limit; }
159 
164  inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
165 
170  inline DescribeFleetEventsRequest& WithLimit(int value) { SetLimit(value); return *this;}
171 
177  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
178 
184  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
185 
191  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
192 
198  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
199 
205  inline DescribeFleetEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
206 
212  inline DescribeFleetEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(value); return *this;}
213 
219  inline DescribeFleetEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
220 
221  private:
222  Aws::String m_fleetId;
223  bool m_fleetIdHasBeenSet;
224  Aws::Utils::DateTime m_startTime;
225  bool m_startTimeHasBeenSet;
226  Aws::Utils::DateTime m_endTime;
227  bool m_endTimeHasBeenSet;
228  int m_limit;
229  bool m_limitHasBeenSet;
230  Aws::String m_nextToken;
231  bool m_nextTokenHasBeenSet;
232  };
233 
234 } // namespace Model
235 } // namespace GameLift
236 } // 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:63
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)
DescribeFleetEventsRequest & WithNextToken(const Aws::String &value)
DescribeFleetEventsRequest & WithLimit(int value)
const Aws::Utils::DateTime & GetStartTime() const
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)
JSON (JavaScript Object Notation).