AWS SDK for C++

AWS SDK for C++ Version 1.11.686

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
27 public:
28 AWS_GROUNDSTATION_API ListContactsRequest() = 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 "ListContacts"; }
35
36 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
37
39
42 inline int GetMaxResults() const { return m_maxResults; }
43 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
44 inline void SetMaxResults(int value) {
45 m_maxResultsHasBeenSet = true;
46 m_maxResults = value;
47 }
49 SetMaxResults(value);
50 return *this;
51 }
53
55
59 inline const Aws::String& GetNextToken() const { return m_nextToken; }
60 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
61 template <typename NextTokenT = Aws::String>
62 void SetNextToken(NextTokenT&& value) {
63 m_nextTokenHasBeenSet = true;
64 m_nextToken = std::forward<NextTokenT>(value);
65 }
66 template <typename NextTokenT = Aws::String>
67 ListContactsRequest& WithNextToken(NextTokenT&& value) {
68 SetNextToken(std::forward<NextTokenT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Vector<ContactStatus>& GetStatusList() const { return m_statusList; }
78 inline bool StatusListHasBeenSet() const { return m_statusListHasBeenSet; }
79 template <typename StatusListT = Aws::Vector<ContactStatus>>
80 void SetStatusList(StatusListT&& value) {
81 m_statusListHasBeenSet = true;
82 m_statusList = std::forward<StatusListT>(value);
83 }
84 template <typename StatusListT = Aws::Vector<ContactStatus>>
85 ListContactsRequest& WithStatusList(StatusListT&& value) {
86 SetStatusList(std::forward<StatusListT>(value));
87 return *this;
88 }
90 m_statusListHasBeenSet = true;
91 m_statusList.push_back(value);
92 return *this;
93 }
95
97
100 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
101 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
102 template <typename StartTimeT = Aws::Utils::DateTime>
103 void SetStartTime(StartTimeT&& value) {
104 m_startTimeHasBeenSet = true;
105 m_startTime = std::forward<StartTimeT>(value);
106 }
107 template <typename StartTimeT = Aws::Utils::DateTime>
108 ListContactsRequest& WithStartTime(StartTimeT&& value) {
109 SetStartTime(std::forward<StartTimeT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
119 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
120 template <typename EndTimeT = Aws::Utils::DateTime>
121 void SetEndTime(EndTimeT&& value) {
122 m_endTimeHasBeenSet = true;
123 m_endTime = std::forward<EndTimeT>(value);
124 }
125 template <typename EndTimeT = Aws::Utils::DateTime>
126 ListContactsRequest& WithEndTime(EndTimeT&& value) {
127 SetEndTime(std::forward<EndTimeT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetGroundStation() const { return m_groundStation; }
137 inline bool GroundStationHasBeenSet() const { return m_groundStationHasBeenSet; }
138 template <typename GroundStationT = Aws::String>
139 void SetGroundStation(GroundStationT&& value) {
140 m_groundStationHasBeenSet = true;
141 m_groundStation = std::forward<GroundStationT>(value);
142 }
143 template <typename GroundStationT = Aws::String>
144 ListContactsRequest& WithGroundStation(GroundStationT&& value) {
145 SetGroundStation(std::forward<GroundStationT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetSatelliteArn() const { return m_satelliteArn; }
155 inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
156 template <typename SatelliteArnT = Aws::String>
157 void SetSatelliteArn(SatelliteArnT&& value) {
158 m_satelliteArnHasBeenSet = true;
159 m_satelliteArn = std::forward<SatelliteArnT>(value);
160 }
161 template <typename SatelliteArnT = Aws::String>
162 ListContactsRequest& WithSatelliteArn(SatelliteArnT&& value) {
163 SetSatelliteArn(std::forward<SatelliteArnT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::String& GetMissionProfileArn() const { return m_missionProfileArn; }
173 inline bool MissionProfileArnHasBeenSet() const { return m_missionProfileArnHasBeenSet; }
174 template <typename MissionProfileArnT = Aws::String>
175 void SetMissionProfileArn(MissionProfileArnT&& value) {
176 m_missionProfileArnHasBeenSet = true;
177 m_missionProfileArn = std::forward<MissionProfileArnT>(value);
178 }
179 template <typename MissionProfileArnT = Aws::String>
180 ListContactsRequest& WithMissionProfileArn(MissionProfileArnT&& value) {
181 SetMissionProfileArn(std::forward<MissionProfileArnT>(value));
182 return *this;
183 }
185
187
190 inline const EphemerisFilter& GetEphemeris() const { return m_ephemeris; }
191 inline bool EphemerisHasBeenSet() const { return m_ephemerisHasBeenSet; }
192 template <typename EphemerisT = EphemerisFilter>
193 void SetEphemeris(EphemerisT&& value) {
194 m_ephemerisHasBeenSet = true;
195 m_ephemeris = std::forward<EphemerisT>(value);
196 }
197 template <typename EphemerisT = EphemerisFilter>
198 ListContactsRequest& WithEphemeris(EphemerisT&& value) {
199 SetEphemeris(std::forward<EphemerisT>(value));
200 return *this;
201 }
203 private:
204 int m_maxResults{0};
205 bool m_maxResultsHasBeenSet = false;
206
207 Aws::String m_nextToken;
208 bool m_nextTokenHasBeenSet = false;
209
210 Aws::Vector<ContactStatus> m_statusList;
211 bool m_statusListHasBeenSet = false;
212
213 Aws::Utils::DateTime m_startTime{};
214 bool m_startTimeHasBeenSet = false;
215
216 Aws::Utils::DateTime m_endTime{};
217 bool m_endTimeHasBeenSet = false;
218
219 Aws::String m_groundStation;
220 bool m_groundStationHasBeenSet = false;
221
222 Aws::String m_satelliteArn;
223 bool m_satelliteArnHasBeenSet = false;
224
225 Aws::String m_missionProfileArn;
226 bool m_missionProfileArnHasBeenSet = false;
227
228 EphemerisFilter m_ephemeris;
229 bool m_ephemerisHasBeenSet = false;
230};
231
232} // namespace Model
233} // namespace GroundStation
234} // 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