AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeFleetEventsRequest.h
1
6#pragma once
7#include <aws/gamelift/GameLift_EXPORTS.h>
8#include <aws/gamelift/GameLiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace GameLift
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_GAMELIFT_API DescribeFleetEventsRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DescribeFleetEvents"; }
32
33 AWS_GAMELIFT_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetFleetId() const{ return m_fleetId; }
44 inline bool FleetIdHasBeenSet() const { return m_fleetIdHasBeenSet; }
45 inline void SetFleetId(const Aws::String& value) { m_fleetIdHasBeenSet = true; m_fleetId = value; }
46 inline void SetFleetId(Aws::String&& value) { m_fleetIdHasBeenSet = true; m_fleetId = std::move(value); }
47 inline void SetFleetId(const char* value) { m_fleetIdHasBeenSet = true; m_fleetId.assign(value); }
48 inline DescribeFleetEventsRequest& WithFleetId(const Aws::String& value) { SetFleetId(value); return *this;}
49 inline DescribeFleetEventsRequest& WithFleetId(Aws::String&& value) { SetFleetId(std::move(value)); return *this;}
50 inline DescribeFleetEventsRequest& WithFleetId(const char* value) { SetFleetId(value); return *this;}
52
54
60 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
61 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
62 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
63 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
64 inline DescribeFleetEventsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
65 inline DescribeFleetEventsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
67
69
75 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
76 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
77 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
78 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
79 inline DescribeFleetEventsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
80 inline DescribeFleetEventsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
82
84
88 inline int GetLimit() const{ return m_limit; }
89 inline bool LimitHasBeenSet() const { return m_limitHasBeenSet; }
90 inline void SetLimit(int value) { m_limitHasBeenSet = true; m_limit = value; }
91 inline DescribeFleetEventsRequest& WithLimit(int value) { SetLimit(value); return *this;}
93
95
100 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
101 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
102 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
103 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
104 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
105 inline DescribeFleetEventsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
106 inline DescribeFleetEventsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
107 inline DescribeFleetEventsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
109 private:
110
111 Aws::String m_fleetId;
112 bool m_fleetIdHasBeenSet = false;
113
114 Aws::Utils::DateTime m_startTime;
115 bool m_startTimeHasBeenSet = false;
116
117 Aws::Utils::DateTime m_endTime;
118 bool m_endTimeHasBeenSet = false;
119
120 int m_limit;
121 bool m_limitHasBeenSet = false;
122
123 Aws::String m_nextToken;
124 bool m_nextTokenHasBeenSet = false;
125 };
126
127} // namespace Model
128} // namespace GameLift
129} // namespace Aws
AWS_GAMELIFT_API Aws::String SerializePayload() const override
DescribeFleetEventsRequest & WithStartTime(const Aws::Utils::DateTime &value)
DescribeFleetEventsRequest & WithFleetId(Aws::String &&value)
virtual const char * GetServiceRequestName() const override
void SetEndTime(const Aws::Utils::DateTime &value)
DescribeFleetEventsRequest & WithStartTime(Aws::Utils::DateTime &&value)
DescribeFleetEventsRequest & WithNextToken(const Aws::String &value)
void SetStartTime(const Aws::Utils::DateTime &value)
DescribeFleetEventsRequest & WithNextToken(Aws::String &&value)
DescribeFleetEventsRequest & WithLimit(int value)
AWS_GAMELIFT_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
DescribeFleetEventsRequest & WithFleetId(const char *value)
DescribeFleetEventsRequest & WithEndTime(const Aws::Utils::DateTime &value)
DescribeFleetEventsRequest & WithNextToken(const char *value)
DescribeFleetEventsRequest & WithEndTime(Aws::Utils::DateTime &&value)
DescribeFleetEventsRequest & WithFleetId(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String