/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace GroundStation { namespace Model { /** *

See Also:

AWS * API Reference

*/ class ListContactsRequest : public GroundStationRequest { public: AWS_GROUNDSTATION_API ListContactsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "ListContacts"; } AWS_GROUNDSTATION_API Aws::String SerializePayload() const override; /** *

End time of a contact in UTC.

*/ inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; } /** *

End time of a contact in UTC.

*/ inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; } /** *

End time of a contact in UTC.

*/ inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; } /** *

End time of a contact in UTC.

*/ inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); } /** *

End time of a contact in UTC.

*/ inline ListContactsRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

End time of a contact in UTC.

*/ inline ListContactsRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;} /** *

Name of a ground station.

*/ inline const Aws::String& GetGroundStation() const{ return m_groundStation; } /** *

Name of a ground station.

*/ inline bool GroundStationHasBeenSet() const { return m_groundStationHasBeenSet; } /** *

Name of a ground station.

*/ inline void SetGroundStation(const Aws::String& value) { m_groundStationHasBeenSet = true; m_groundStation = value; } /** *

Name of a ground station.

*/ inline void SetGroundStation(Aws::String&& value) { m_groundStationHasBeenSet = true; m_groundStation = std::move(value); } /** *

Name of a ground station.

*/ inline void SetGroundStation(const char* value) { m_groundStationHasBeenSet = true; m_groundStation.assign(value); } /** *

Name of a ground station.

*/ inline ListContactsRequest& WithGroundStation(const Aws::String& value) { SetGroundStation(value); return *this;} /** *

Name of a ground station.

*/ inline ListContactsRequest& WithGroundStation(Aws::String&& value) { SetGroundStation(std::move(value)); return *this;} /** *

Name of a ground station.

*/ inline ListContactsRequest& WithGroundStation(const char* value) { SetGroundStation(value); return *this;} /** *

Maximum number of contacts returned.

*/ inline int GetMaxResults() const{ return m_maxResults; } /** *

Maximum number of contacts returned.

*/ inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; } /** *

Maximum number of contacts returned.

*/ inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; } /** *

Maximum number of contacts returned.

*/ inline ListContactsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;} /** *

ARN of a mission profile.

*/ inline const Aws::String& GetMissionProfileArn() const{ return m_missionProfileArn; } /** *

ARN of a mission profile.

*/ inline bool MissionProfileArnHasBeenSet() const { return m_missionProfileArnHasBeenSet; } /** *

ARN of a mission profile.

*/ inline void SetMissionProfileArn(const Aws::String& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = value; } /** *

ARN of a mission profile.

*/ inline void SetMissionProfileArn(Aws::String&& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = std::move(value); } /** *

ARN of a mission profile.

*/ inline void SetMissionProfileArn(const char* value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn.assign(value); } /** *

ARN of a mission profile.

*/ inline ListContactsRequest& WithMissionProfileArn(const Aws::String& value) { SetMissionProfileArn(value); return *this;} /** *

ARN of a mission profile.

*/ inline ListContactsRequest& WithMissionProfileArn(Aws::String&& value) { SetMissionProfileArn(std::move(value)); return *this;} /** *

ARN of a mission profile.

*/ inline ListContactsRequest& WithMissionProfileArn(const char* value) { SetMissionProfileArn(value); return *this;} /** *

Next token returned in the request of a previous ListContacts * call. Used to get the next page of results.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

Next token returned in the request of a previous ListContacts * call. Used to get the next page of results.

*/ inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; } /** *

Next token returned in the request of a previous ListContacts * call. Used to get the next page of results.

*/ inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; } /** *

Next token returned in the request of a previous ListContacts * call. Used to get the next page of results.

*/ inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); } /** *

Next token returned in the request of a previous ListContacts * call. Used to get the next page of results.

*/ inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); } /** *

Next token returned in the request of a previous ListContacts * call. Used to get the next page of results.

*/ inline ListContactsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

Next token returned in the request of a previous ListContacts * call. Used to get the next page of results.

*/ inline ListContactsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

Next token returned in the request of a previous ListContacts * call. Used to get the next page of results.

*/ inline ListContactsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;} /** *

ARN of a satellite.

*/ inline const Aws::String& GetSatelliteArn() const{ return m_satelliteArn; } /** *

ARN of a satellite.

*/ inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; } /** *

ARN of a satellite.

*/ inline void SetSatelliteArn(const Aws::String& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = value; } /** *

ARN of a satellite.

*/ inline void SetSatelliteArn(Aws::String&& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = std::move(value); } /** *

ARN of a satellite.

*/ inline void SetSatelliteArn(const char* value) { m_satelliteArnHasBeenSet = true; m_satelliteArn.assign(value); } /** *

ARN of a satellite.

*/ inline ListContactsRequest& WithSatelliteArn(const Aws::String& value) { SetSatelliteArn(value); return *this;} /** *

ARN of a satellite.

*/ inline ListContactsRequest& WithSatelliteArn(Aws::String&& value) { SetSatelliteArn(std::move(value)); return *this;} /** *

ARN of a satellite.

*/ inline ListContactsRequest& WithSatelliteArn(const char* value) { SetSatelliteArn(value); return *this;} /** *

Start time of a contact in UTC.

*/ inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; } /** *

Start time of a contact in UTC.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

Start time of a contact in UTC.

*/ inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

Start time of a contact in UTC.

*/ inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

Start time of a contact in UTC.

*/ inline ListContactsRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

Start time of a contact in UTC.

*/ inline ListContactsRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;} /** *

Status of a contact reservation.

*/ inline const Aws::Vector& GetStatusList() const{ return m_statusList; } /** *

Status of a contact reservation.

*/ inline bool StatusListHasBeenSet() const { return m_statusListHasBeenSet; } /** *

Status of a contact reservation.

*/ inline void SetStatusList(const Aws::Vector& value) { m_statusListHasBeenSet = true; m_statusList = value; } /** *

Status of a contact reservation.

*/ inline void SetStatusList(Aws::Vector&& value) { m_statusListHasBeenSet = true; m_statusList = std::move(value); } /** *

Status of a contact reservation.

*/ inline ListContactsRequest& WithStatusList(const Aws::Vector& value) { SetStatusList(value); return *this;} /** *

Status of a contact reservation.

*/ inline ListContactsRequest& WithStatusList(Aws::Vector&& value) { SetStatusList(std::move(value)); return *this;} /** *

Status of a contact reservation.

*/ inline ListContactsRequest& AddStatusList(const ContactStatus& value) { m_statusListHasBeenSet = true; m_statusList.push_back(value); return *this; } /** *

Status of a contact reservation.

*/ inline ListContactsRequest& AddStatusList(ContactStatus&& value) { m_statusListHasBeenSet = true; m_statusList.push_back(std::move(value)); return *this; } private: Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_groundStation; bool m_groundStationHasBeenSet = false; int m_maxResults; bool m_maxResultsHasBeenSet = false; Aws::String m_missionProfileArn; bool m_missionProfileArnHasBeenSet = false; Aws::String m_nextToken; bool m_nextTokenHasBeenSet = false; Aws::String m_satelliteArn; bool m_satelliteArnHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Vector m_statusList; bool m_statusListHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws