AWS SDK for C++

AWS SDK for C++ Version 1.11.685

Loading...
Searching...
No Matches
ListEphemeridesRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/groundstation/GroundStationRequest.h>
11#include <aws/groundstation/GroundStation_EXPORTS.h>
12#include <aws/groundstation/model/EphemerisStatus.h>
13#include <aws/groundstation/model/EphemerisType.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Http {
19class URI;
20} // namespace Http
21namespace GroundStation {
22namespace Model {
23
27 public:
28 AWS_GROUNDSTATION_API ListEphemeridesRequest() = default;
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 "ListEphemerides"; }
35
36 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
37
38 AWS_GROUNDSTATION_API void AddQueryStringParameters(Aws::Http::URI& uri) const override;
39
41
44 inline const Aws::String& GetSatelliteId() const { return m_satelliteId; }
45 inline bool SatelliteIdHasBeenSet() const { return m_satelliteIdHasBeenSet; }
46 template <typename SatelliteIdT = Aws::String>
47 void SetSatelliteId(SatelliteIdT&& value) {
48 m_satelliteIdHasBeenSet = true;
49 m_satelliteId = std::forward<SatelliteIdT>(value);
50 }
51 template <typename SatelliteIdT = Aws::String>
52 ListEphemeridesRequest& WithSatelliteId(SatelliteIdT&& value) {
53 SetSatelliteId(std::forward<SatelliteIdT>(value));
54 return *this;
55 }
57
59
63 inline EphemerisType GetEphemerisType() const { return m_ephemerisType; }
64 inline bool EphemerisTypeHasBeenSet() const { return m_ephemerisTypeHasBeenSet; }
65 inline void SetEphemerisType(EphemerisType value) {
66 m_ephemerisTypeHasBeenSet = true;
67 m_ephemerisType = value;
68 }
70 SetEphemerisType(value);
71 return *this;
72 }
74
76
80 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
81 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
82 template <typename StartTimeT = Aws::Utils::DateTime>
83 void SetStartTime(StartTimeT&& value) {
84 m_startTimeHasBeenSet = true;
85 m_startTime = std::forward<StartTimeT>(value);
86 }
87 template <typename StartTimeT = Aws::Utils::DateTime>
89 SetStartTime(std::forward<StartTimeT>(value));
90 return *this;
91 }
93
95
99 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
100 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
101 template <typename EndTimeT = Aws::Utils::DateTime>
102 void SetEndTime(EndTimeT&& value) {
103 m_endTimeHasBeenSet = true;
104 m_endTime = std::forward<EndTimeT>(value);
105 }
106 template <typename EndTimeT = Aws::Utils::DateTime>
108 SetEndTime(std::forward<EndTimeT>(value));
109 return *this;
110 }
112
114
117 inline const Aws::Vector<EphemerisStatus>& GetStatusList() const { return m_statusList; }
118 inline bool StatusListHasBeenSet() const { return m_statusListHasBeenSet; }
119 template <typename StatusListT = Aws::Vector<EphemerisStatus>>
120 void SetStatusList(StatusListT&& value) {
121 m_statusListHasBeenSet = true;
122 m_statusList = std::forward<StatusListT>(value);
123 }
124 template <typename StatusListT = Aws::Vector<EphemerisStatus>>
126 SetStatusList(std::forward<StatusListT>(value));
127 return *this;
128 }
130 m_statusListHasBeenSet = true;
131 m_statusList.push_back(value);
132 return *this;
133 }
135
137
140 inline int GetMaxResults() const { return m_maxResults; }
141 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
142 inline void SetMaxResults(int value) {
143 m_maxResultsHasBeenSet = true;
144 m_maxResults = value;
145 }
147 SetMaxResults(value);
148 return *this;
149 }
151
153
156 inline const Aws::String& GetNextToken() const { return m_nextToken; }
157 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
158 template <typename NextTokenT = Aws::String>
159 void SetNextToken(NextTokenT&& value) {
160 m_nextTokenHasBeenSet = true;
161 m_nextToken = std::forward<NextTokenT>(value);
162 }
163 template <typename NextTokenT = Aws::String>
165 SetNextToken(std::forward<NextTokenT>(value));
166 return *this;
167 }
169 private:
170 Aws::String m_satelliteId;
171 bool m_satelliteIdHasBeenSet = false;
172
173 EphemerisType m_ephemerisType{EphemerisType::NOT_SET};
174 bool m_ephemerisTypeHasBeenSet = false;
175
176 Aws::Utils::DateTime m_startTime{};
177 bool m_startTimeHasBeenSet = false;
178
179 Aws::Utils::DateTime m_endTime{};
180 bool m_endTimeHasBeenSet = false;
181
182 Aws::Vector<EphemerisStatus> m_statusList;
183 bool m_statusListHasBeenSet = false;
184
185 int m_maxResults{0};
186 bool m_maxResultsHasBeenSet = false;
187
188 Aws::String m_nextToken;
189 bool m_nextTokenHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace GroundStation
194} // namespace Aws
AWS_GROUNDSTATION_API ListEphemeridesRequest()=default
ListEphemeridesRequest & WithSatelliteId(SatelliteIdT &&value)
const Aws::Vector< EphemerisStatus > & GetStatusList() const
ListEphemeridesRequest & WithEndTime(EndTimeT &&value)
ListEphemeridesRequest & WithStatusList(StatusListT &&value)
const Aws::Utils::DateTime & GetStartTime() const
ListEphemeridesRequest & WithNextToken(NextTokenT &&value)
virtual const char * GetServiceRequestName() const override
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
ListEphemeridesRequest & AddStatusList(EphemerisStatus value)
ListEphemeridesRequest & WithEphemerisType(EphemerisType value)
ListEphemeridesRequest & WithStartTime(StartTimeT &&value)
AWS_GROUNDSTATION_API void AddQueryStringParameters(Aws::Http::URI &uri) const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector