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

See Also:

AWS * API Reference

*/ class ReserveContactRequest : public GroundStationRequest { public: AWS_GROUNDSTATION_API ReserveContactRequest(); // 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 "ReserveContact"; } 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 ReserveContactRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;} /** *

End time of a contact in UTC.

*/ inline ReserveContactRequest& 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 ReserveContactRequest& WithGroundStation(const Aws::String& value) { SetGroundStation(value); return *this;} /** *

Name of a ground station.

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

Name of a ground station.

*/ inline ReserveContactRequest& WithGroundStation(const char* value) { SetGroundStation(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 ReserveContactRequest& WithMissionProfileArn(const Aws::String& value) { SetMissionProfileArn(value); return *this;} /** *

ARN of a mission profile.

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

ARN of a mission profile.

*/ inline ReserveContactRequest& WithMissionProfileArn(const char* value) { SetMissionProfileArn(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 ReserveContactRequest& WithSatelliteArn(const Aws::String& value) { SetSatelliteArn(value); return *this;} /** *

ARN of a satellite

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

ARN of a satellite

*/ inline ReserveContactRequest& 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 ReserveContactRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;} /** *

Start time of a contact in UTC.

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

Tags assigned to a contact.

*/ inline const Aws::Map& GetTags() const{ return m_tags; } /** *

Tags assigned to a contact.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

Tags assigned to a contact.

*/ inline void SetTags(const Aws::Map& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

Tags assigned to a contact.

*/ inline void SetTags(Aws::Map&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

Tags assigned to a contact.

*/ inline ReserveContactRequest& WithTags(const Aws::Map& value) { SetTags(value); return *this;} /** *

Tags assigned to a contact.

*/ inline ReserveContactRequest& WithTags(Aws::Map&& value) { SetTags(std::move(value)); return *this;} /** *

Tags assigned to a contact.

*/ inline ReserveContactRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

Tags assigned to a contact.

*/ inline ReserveContactRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags assigned to a contact.

*/ inline ReserveContactRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags assigned to a contact.

*/ inline ReserveContactRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

Tags assigned to a contact.

*/ inline ReserveContactRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

Tags assigned to a contact.

*/ inline ReserveContactRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

Tags assigned to a contact.

*/ inline ReserveContactRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } private: Aws::Utils::DateTime m_endTime; bool m_endTimeHasBeenSet = false; Aws::String m_groundStation; bool m_groundStationHasBeenSet = false; Aws::String m_missionProfileArn; bool m_missionProfileArnHasBeenSet = false; Aws::String m_satelliteArn; bool m_satelliteArnHasBeenSet = false; Aws::Utils::DateTime m_startTime; bool m_startTimeHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws