AWS SDK for C++

AWS SDK for C++ Version 1.11.795

Loading...
Searching...
No Matches
ListContactsRequest.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/ContactStatus.h>
13#include <aws/groundstation/model/EphemerisFilter.h>
14
15#include <utility>
16
17namespace Aws {
18namespace GroundStation {
19namespace Model {
20
28 public:
29 AWS_GROUNDSTATION_API ListContactsRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "ListContacts"; }
36
37 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
38
40
43 inline int GetMaxResults() const { return m_maxResults; }
44 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
45 inline void SetMaxResults(int value) {
46 m_maxResultsHasBeenSet = true;
47 m_maxResults = value;
48 }
50 SetMaxResults(value);
51 return *this;
52 }
54
56
60 inline const Aws::String& GetNextToken() const { return m_nextToken; }
61 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
62 template <typename NextTokenT = Aws::String>
63 void SetNextToken(NextTokenT&& value) {
64 m_nextTokenHasBeenSet = true;
65 m_nextToken = std::forward<NextTokenT>(value);
66 }
67 template <typename NextTokenT = Aws::String>
68 ListContactsRequest& WithNextToken(NextTokenT&& value) {
69 SetNextToken(std::forward<NextTokenT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Vector<ContactStatus>& GetStatusList() const { return m_statusList; }
79 inline bool StatusListHasBeenSet() const { return m_statusListHasBeenSet; }
80 template <typename StatusListT = Aws::Vector<ContactStatus>>
81 void SetStatusList(StatusListT&& value) {
82 m_statusListHasBeenSet = true;
83 m_statusList = std::forward<StatusListT>(value);
84 }
85 template <typename StatusListT = Aws::Vector<ContactStatus>>
86 ListContactsRequest& WithStatusList(StatusListT&& value) {
87 SetStatusList(std::forward<StatusListT>(value));
88 return *this;
89 }
91 m_statusListHasBeenSet = true;
92 m_statusList.push_back(value);
93 return *this;
94 }
96
98
101 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
102 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
103 template <typename StartTimeT = Aws::Utils::DateTime>
104 void SetStartTime(StartTimeT&& value) {
105 m_startTimeHasBeenSet = true;
106 m_startTime = std::forward<StartTimeT>(value);
107 }
108 template <typename StartTimeT = Aws::Utils::DateTime>
109 ListContactsRequest& WithStartTime(StartTimeT&& value) {
110 SetStartTime(std::forward<StartTimeT>(value));
111 return *this;
112 }
114
116
119 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
120 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
121 template <typename EndTimeT = Aws::Utils::DateTime>
122 void SetEndTime(EndTimeT&& value) {
123 m_endTimeHasBeenSet = true;
124 m_endTime = std::forward<EndTimeT>(value);
125 }
126 template <typename EndTimeT = Aws::Utils::DateTime>
127 ListContactsRequest& WithEndTime(EndTimeT&& value) {
128 SetEndTime(std::forward<EndTimeT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetGroundStation() const { return m_groundStation; }
138 inline bool GroundStationHasBeenSet() const { return m_groundStationHasBeenSet; }
139 template <typename GroundStationT = Aws::String>
140 void SetGroundStation(GroundStationT&& value) {
141 m_groundStationHasBeenSet = true;
142 m_groundStation = std::forward<GroundStationT>(value);
143 }
144 template <typename GroundStationT = Aws::String>
145 ListContactsRequest& WithGroundStation(GroundStationT&& value) {
146 SetGroundStation(std::forward<GroundStationT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetSatelliteArn() const { return m_satelliteArn; }
156 inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
157 template <typename SatelliteArnT = Aws::String>
158 void SetSatelliteArn(SatelliteArnT&& value) {
159 m_satelliteArnHasBeenSet = true;
160 m_satelliteArn = std::forward<SatelliteArnT>(value);
161 }
162 template <typename SatelliteArnT = Aws::String>
163 ListContactsRequest& WithSatelliteArn(SatelliteArnT&& value) {
164 SetSatelliteArn(std::forward<SatelliteArnT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::String& GetMissionProfileArn() const { return m_missionProfileArn; }
174 inline bool MissionProfileArnHasBeenSet() const { return m_missionProfileArnHasBeenSet; }
175 template <typename MissionProfileArnT = Aws::String>
176 void SetMissionProfileArn(MissionProfileArnT&& value) {
177 m_missionProfileArnHasBeenSet = true;
178 m_missionProfileArn = std::forward<MissionProfileArnT>(value);
179 }
180 template <typename MissionProfileArnT = Aws::String>
181 ListContactsRequest& WithMissionProfileArn(MissionProfileArnT&& value) {
182 SetMissionProfileArn(std::forward<MissionProfileArnT>(value));
183 return *this;
184 }
186
188
191 inline const EphemerisFilter& GetEphemeris() const { return m_ephemeris; }
192 inline bool EphemerisHasBeenSet() const { return m_ephemerisHasBeenSet; }
193 template <typename EphemerisT = EphemerisFilter>
194 void SetEphemeris(EphemerisT&& value) {
195 m_ephemerisHasBeenSet = true;
196 m_ephemeris = std::forward<EphemerisT>(value);
197 }
198 template <typename EphemerisT = EphemerisFilter>
199 ListContactsRequest& WithEphemeris(EphemerisT&& value) {
200 SetEphemeris(std::forward<EphemerisT>(value));
201 return *this;
202 }
204 private:
205 int m_maxResults{0};
206
207 Aws::String m_nextToken;
208
209 Aws::Vector<ContactStatus> m_statusList;
210
211 Aws::Utils::DateTime m_startTime{};
212
213 Aws::Utils::DateTime m_endTime{};
214
215 Aws::String m_groundStation;
216
217 Aws::String m_satelliteArn;
218
219 Aws::String m_missionProfileArn;
220
221 EphemerisFilter m_ephemeris;
222 bool m_maxResultsHasBeenSet = false;
223 bool m_nextTokenHasBeenSet = false;
224 bool m_statusListHasBeenSet = false;
225 bool m_startTimeHasBeenSet = false;
226 bool m_endTimeHasBeenSet = false;
227 bool m_groundStationHasBeenSet = false;
228 bool m_satelliteArnHasBeenSet = false;
229 bool m_missionProfileArnHasBeenSet = false;
230 bool m_ephemerisHasBeenSet = false;
231};
232
233} // namespace Model
234} // namespace GroundStation
235} // namespace Aws
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
void SetMissionProfileArn(MissionProfileArnT &&value)
ListContactsRequest & WithNextToken(NextTokenT &&value)
ListContactsRequest & WithGroundStation(GroundStationT &&value)
const Aws::Vector< ContactStatus > & GetStatusList() const
ListContactsRequest & WithEphemeris(EphemerisT &&value)
ListContactsRequest & WithMissionProfileArn(MissionProfileArnT &&value)
AWS_GROUNDSTATION_API ListContactsRequest()=default
ListContactsRequest & WithEndTime(EndTimeT &&value)
ListContactsRequest & WithStatusList(StatusListT &&value)
virtual const char * GetServiceRequestName() const override
ListContactsRequest & WithMaxResults(int value)
const Aws::Utils::DateTime & GetEndTime() const
ListContactsRequest & WithStartTime(StartTimeT &&value)
const Aws::Utils::DateTime & GetStartTime() const
ListContactsRequest & WithSatelliteArn(SatelliteArnT &&value)
ListContactsRequest & AddStatusList(ContactStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector