AWS SDK for C++  1.9.123
AWS SDK for C++
ListContactsRequest.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace GroundStation
18 {
19 namespace Model
20 {
21 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "ListContacts"; }
37 
38  Aws::String SerializePayload() const override;
39 
40 
44  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
45 
49  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
50 
54  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
55 
59  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
60 
64  inline ListContactsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
65 
69  inline ListContactsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
70 
71 
75  inline const Aws::String& GetGroundStation() const{ return m_groundStation; }
76 
80  inline bool GroundStationHasBeenSet() const { return m_groundStationHasBeenSet; }
81 
85  inline void SetGroundStation(const Aws::String& value) { m_groundStationHasBeenSet = true; m_groundStation = value; }
86 
90  inline void SetGroundStation(Aws::String&& value) { m_groundStationHasBeenSet = true; m_groundStation = std::move(value); }
91 
95  inline void SetGroundStation(const char* value) { m_groundStationHasBeenSet = true; m_groundStation.assign(value); }
96 
100  inline ListContactsRequest& WithGroundStation(const Aws::String& value) { SetGroundStation(value); return *this;}
101 
105  inline ListContactsRequest& WithGroundStation(Aws::String&& value) { SetGroundStation(std::move(value)); return *this;}
106 
110  inline ListContactsRequest& WithGroundStation(const char* value) { SetGroundStation(value); return *this;}
111 
112 
116  inline int GetMaxResults() const{ return m_maxResults; }
117 
121  inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
122 
126  inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
127 
131  inline ListContactsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
132 
133 
137  inline const Aws::String& GetMissionProfileArn() const{ return m_missionProfileArn; }
138 
142  inline bool MissionProfileArnHasBeenSet() const { return m_missionProfileArnHasBeenSet; }
143 
147  inline void SetMissionProfileArn(const Aws::String& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = value; }
148 
152  inline void SetMissionProfileArn(Aws::String&& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = std::move(value); }
153 
157  inline void SetMissionProfileArn(const char* value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn.assign(value); }
158 
162  inline ListContactsRequest& WithMissionProfileArn(const Aws::String& value) { SetMissionProfileArn(value); return *this;}
163 
167  inline ListContactsRequest& WithMissionProfileArn(Aws::String&& value) { SetMissionProfileArn(std::move(value)); return *this;}
168 
172  inline ListContactsRequest& WithMissionProfileArn(const char* value) { SetMissionProfileArn(value); return *this;}
173 
174 
179  inline const Aws::String& GetNextToken() const{ return m_nextToken; }
180 
185  inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
186 
191  inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
192 
197  inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
198 
203  inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
204 
209  inline ListContactsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
210 
215  inline ListContactsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
216 
221  inline ListContactsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
222 
223 
227  inline const Aws::String& GetSatelliteArn() const{ return m_satelliteArn; }
228 
232  inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
233 
237  inline void SetSatelliteArn(const Aws::String& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = value; }
238 
242  inline void SetSatelliteArn(Aws::String&& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = std::move(value); }
243 
247  inline void SetSatelliteArn(const char* value) { m_satelliteArnHasBeenSet = true; m_satelliteArn.assign(value); }
248 
252  inline ListContactsRequest& WithSatelliteArn(const Aws::String& value) { SetSatelliteArn(value); return *this;}
253 
257  inline ListContactsRequest& WithSatelliteArn(Aws::String&& value) { SetSatelliteArn(std::move(value)); return *this;}
258 
262  inline ListContactsRequest& WithSatelliteArn(const char* value) { SetSatelliteArn(value); return *this;}
263 
264 
268  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
269 
273  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
274 
278  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
279 
283  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
284 
288  inline ListContactsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
289 
293  inline ListContactsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
294 
295 
299  inline const Aws::Vector<ContactStatus>& GetStatusList() const{ return m_statusList; }
300 
304  inline bool StatusListHasBeenSet() const { return m_statusListHasBeenSet; }
305 
309  inline void SetStatusList(const Aws::Vector<ContactStatus>& value) { m_statusListHasBeenSet = true; m_statusList = value; }
310 
314  inline void SetStatusList(Aws::Vector<ContactStatus>&& value) { m_statusListHasBeenSet = true; m_statusList = std::move(value); }
315 
319  inline ListContactsRequest& WithStatusList(const Aws::Vector<ContactStatus>& value) { SetStatusList(value); return *this;}
320 
324  inline ListContactsRequest& WithStatusList(Aws::Vector<ContactStatus>&& value) { SetStatusList(std::move(value)); return *this;}
325 
329  inline ListContactsRequest& AddStatusList(const ContactStatus& value) { m_statusListHasBeenSet = true; m_statusList.push_back(value); return *this; }
330 
334  inline ListContactsRequest& AddStatusList(ContactStatus&& value) { m_statusListHasBeenSet = true; m_statusList.push_back(std::move(value)); return *this; }
335 
336  private:
337 
338  Aws::Utils::DateTime m_endTime;
339  bool m_endTimeHasBeenSet;
340 
341  Aws::String m_groundStation;
342  bool m_groundStationHasBeenSet;
343 
344  int m_maxResults;
345  bool m_maxResultsHasBeenSet;
346 
347  Aws::String m_missionProfileArn;
348  bool m_missionProfileArnHasBeenSet;
349 
350  Aws::String m_nextToken;
351  bool m_nextTokenHasBeenSet;
352 
353  Aws::String m_satelliteArn;
354  bool m_satelliteArnHasBeenSet;
355 
356  Aws::Utils::DateTime m_startTime;
357  bool m_startTimeHasBeenSet;
358 
359  Aws::Vector<ContactStatus> m_statusList;
360  bool m_statusListHasBeenSet;
361  };
362 
363 } // namespace Model
364 } // namespace GroundStation
365 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GroundStation::Model::ListContactsRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GroundStation::Model::ListContactsRequest::WithSatelliteArn
ListContactsRequest & WithSatelliteArn(const Aws::String &value)
Definition: ListContactsRequest.h:252
Aws::GroundStation::Model::ListContactsRequest::SetGroundStation
void SetGroundStation(const char *value)
Definition: ListContactsRequest.h:95
Aws::GroundStation::Model::ListContactsRequest::WithEndTime
ListContactsRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ListContactsRequest.h:64
Aws::GroundStation::Model::ListContactsRequest::SetMaxResults
void SetMaxResults(int value)
Definition: ListContactsRequest.h:126
Aws::GroundStation::Model::ListContactsRequest::GetSatelliteArn
const Aws::String & GetSatelliteArn() const
Definition: ListContactsRequest.h:227
Aws::GroundStation::Model::ListContactsRequest::SetMissionProfileArn
void SetMissionProfileArn(const Aws::String &value)
Definition: ListContactsRequest.h:147
Aws::GroundStation::Model::ListContactsRequest::WithStatusList
ListContactsRequest & WithStatusList(Aws::Vector< ContactStatus > &&value)
Definition: ListContactsRequest.h:324
Aws::GroundStation::Model::ListContactsRequest
Definition: ListContactsRequest.h:28
Aws::GroundStation::Model::ListContactsRequest::WithGroundStation
ListContactsRequest & WithGroundStation(Aws::String &&value)
Definition: ListContactsRequest.h:105
Aws::GroundStation::Model::ListContactsRequest::SetSatelliteArn
void SetSatelliteArn(const char *value)
Definition: ListContactsRequest.h:247
Aws::GroundStation::Model::ListContactsRequest::SetNextToken
void SetNextToken(Aws::String &&value)
Definition: ListContactsRequest.h:197
Aws::GroundStation::Model::ListContactsRequest::GetMissionProfileArn
const Aws::String & GetMissionProfileArn() const
Definition: ListContactsRequest.h:137
DateTime.h
Aws::GroundStation::Model::ListContactsRequest::SetStatusList
void SetStatusList(const Aws::Vector< ContactStatus > &value)
Definition: ListContactsRequest.h:309
Aws::GroundStation::Model::ListContactsRequest::SetMissionProfileArn
void SetMissionProfileArn(const char *value)
Definition: ListContactsRequest.h:157
Aws::GroundStation::GroundStationRequest
Definition: GroundStationRequest.h:17
Aws::GroundStation::Model::ListContactsRequest::WithEndTime
ListContactsRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ListContactsRequest.h:69
Aws::GroundStation::Model::ListContactsRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ListContactsRequest.h:273
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::GroundStation::Model::ListContactsRequest::SetMissionProfileArn
void SetMissionProfileArn(Aws::String &&value)
Definition: ListContactsRequest.h:152
Aws::GroundStation::Model::ListContactsRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ListContactsRequest.h:54
Aws::GroundStation::Model::ListContactsRequest::ListContactsRequest
ListContactsRequest()
Aws::GroundStation::Model::ListContactsRequest::WithMissionProfileArn
ListContactsRequest & WithMissionProfileArn(const char *value)
Definition: ListContactsRequest.h:172
Aws::GroundStation::Model::ListContactsRequest::WithNextToken
ListContactsRequest & WithNextToken(const char *value)
Definition: ListContactsRequest.h:221
Aws::GroundStation::Model::ListContactsRequest::StatusListHasBeenSet
bool StatusListHasBeenSet() const
Definition: ListContactsRequest.h:304
Aws::GroundStation::Model::ListContactsRequest::NextTokenHasBeenSet
bool NextTokenHasBeenSet() const
Definition: ListContactsRequest.h:185
AWSVector.h
Aws::GroundStation::Model::ListContactsRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ListContactsRequest.h:278
Aws::GroundStation::Model::ListContactsRequest::SetSatelliteArn
void SetSatelliteArn(Aws::String &&value)
Definition: ListContactsRequest.h:242
Aws::GroundStation::Model::ListContactsRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: ListContactsRequest.h:49
Aws::GroundStation::Model::ListContactsRequest::WithGroundStation
ListContactsRequest & WithGroundStation(const Aws::String &value)
Definition: ListContactsRequest.h:100
Aws::GroundStation::Model::ListContactsRequest::AddStatusList
ListContactsRequest & AddStatusList(ContactStatus &&value)
Definition: ListContactsRequest.h:334
Aws::GroundStation::Model::ListContactsRequest::GetGroundStation
const Aws::String & GetGroundStation() const
Definition: ListContactsRequest.h:75
GroundStationRequest.h
Aws::GroundStation::Model::ListContactsRequest::SatelliteArnHasBeenSet
bool SatelliteArnHasBeenSet() const
Definition: ListContactsRequest.h:232
Aws::GroundStation::Model::ListContactsRequest::WithSatelliteArn
ListContactsRequest & WithSatelliteArn(Aws::String &&value)
Definition: ListContactsRequest.h:257
GroundStation_EXPORTS.h
Aws::GroundStation::Model::ListContactsRequest::MissionProfileArnHasBeenSet
bool MissionProfileArnHasBeenSet() const
Definition: ListContactsRequest.h:142
Aws::GroundStation::Model::ListContactsRequest::GetStatusList
const Aws::Vector< ContactStatus > & GetStatusList() const
Definition: ListContactsRequest.h:299
Aws::GroundStation::Model::ListContactsRequest::MaxResultsHasBeenSet
bool MaxResultsHasBeenSet() const
Definition: ListContactsRequest.h:121
Aws::GroundStation::Model::ContactStatus
ContactStatus
Definition: ContactStatus.h:17
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::GroundStation::Model::ListContactsRequest::SetSatelliteArn
void SetSatelliteArn(const Aws::String &value)
Definition: ListContactsRequest.h:237
Aws::GroundStation::Model::ListContactsRequest::WithGroundStation
ListContactsRequest & WithGroundStation(const char *value)
Definition: ListContactsRequest.h:110
AWSString.h
Aws::GroundStation::Model::ListContactsRequest::WithStartTime
ListContactsRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ListContactsRequest.h:293
Aws::GroundStation::Model::ListContactsRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ListContactsRequest.h:283
Aws::GroundStation::Model::ListContactsRequest::SetGroundStation
void SetGroundStation(Aws::String &&value)
Definition: ListContactsRequest.h:90
Aws::GroundStation::Model::ListContactsRequest::WithStatusList
ListContactsRequest & WithStatusList(const Aws::Vector< ContactStatus > &value)
Definition: ListContactsRequest.h:319
ContactStatus.h
Aws::GroundStation::Model::ListContactsRequest::WithSatelliteArn
ListContactsRequest & WithSatelliteArn(const char *value)
Definition: ListContactsRequest.h:262
Aws::GroundStation::Model::ListContactsRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ListContactsRequest.h:36
Aws::GroundStation::Model::ListContactsRequest::WithNextToken
ListContactsRequest & WithNextToken(const Aws::String &value)
Definition: ListContactsRequest.h:209
Aws::GroundStation::Model::ListContactsRequest::GetMaxResults
int GetMaxResults() const
Definition: ListContactsRequest.h:116
Aws::GroundStation::Model::ListContactsRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ListContactsRequest.h:44
Aws::GroundStation::Model::ListContactsRequest::GetNextToken
const Aws::String & GetNextToken() const
Definition: ListContactsRequest.h:179
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::ListContactsRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ListContactsRequest.h:268
Aws::GroundStation::Model::ListContactsRequest::WithNextToken
ListContactsRequest & WithNextToken(Aws::String &&value)
Definition: ListContactsRequest.h:215
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ListContactsRequest::AddStatusList
ListContactsRequest & AddStatusList(const ContactStatus &value)
Definition: ListContactsRequest.h:329
Aws::GroundStation::Model::ListContactsRequest::WithMaxResults
ListContactsRequest & WithMaxResults(int value)
Definition: ListContactsRequest.h:131
Aws::GroundStation::Model::ListContactsRequest::WithMissionProfileArn
ListContactsRequest & WithMissionProfileArn(Aws::String &&value)
Definition: ListContactsRequest.h:167
Aws::GroundStation::Model::ListContactsRequest::SetNextToken
void SetNextToken(const Aws::String &value)
Definition: ListContactsRequest.h:191
Aws::GroundStation::Model::ListContactsRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ListContactsRequest.h:59
Aws::GroundStation::Model::ListContactsRequest::SetStatusList
void SetStatusList(Aws::Vector< ContactStatus > &&value)
Definition: ListContactsRequest.h:314
Aws::GroundStation::Model::ListContactsRequest::WithMissionProfileArn
ListContactsRequest & WithMissionProfileArn(const Aws::String &value)
Definition: ListContactsRequest.h:162
Aws::GroundStation::Model::ListContactsRequest::WithStartTime
ListContactsRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ListContactsRequest.h:288
Aws::GroundStation::Model::ListContactsRequest::SetGroundStation
void SetGroundStation(const Aws::String &value)
Definition: ListContactsRequest.h:85
Aws::GroundStation::Model::ListContactsRequest::SetNextToken
void SetNextToken(const char *value)
Definition: ListContactsRequest.h:203
Aws::GroundStation::Model::ListContactsRequest::GroundStationHasBeenSet
bool GroundStationHasBeenSet() const
Definition: ListContactsRequest.h:80