AWS SDK for C++

AWS SDK for C++ Version 1.11.681

Loading...
Searching...
No Matches
ReserveContactRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/groundstation/GroundStationRequest.h>
11#include <aws/groundstation/GroundStation_EXPORTS.h>
12#include <aws/groundstation/model/TrackingOverrides.h>
13
14#include <utility>
15
16namespace Aws {
17namespace GroundStation {
18namespace Model {
19
26 public:
27 AWS_GROUNDSTATION_API ReserveContactRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "ReserveContact"; }
34
35 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetMissionProfileArn() const { return m_missionProfileArn; }
42 inline bool MissionProfileArnHasBeenSet() const { return m_missionProfileArnHasBeenSet; }
43 template <typename MissionProfileArnT = Aws::String>
44 void SetMissionProfileArn(MissionProfileArnT&& value) {
45 m_missionProfileArnHasBeenSet = true;
46 m_missionProfileArn = std::forward<MissionProfileArnT>(value);
47 }
48 template <typename MissionProfileArnT = Aws::String>
49 ReserveContactRequest& WithMissionProfileArn(MissionProfileArnT&& value) {
50 SetMissionProfileArn(std::forward<MissionProfileArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetSatelliteArn() const { return m_satelliteArn; }
60 inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
61 template <typename SatelliteArnT = Aws::String>
62 void SetSatelliteArn(SatelliteArnT&& value) {
63 m_satelliteArnHasBeenSet = true;
64 m_satelliteArn = std::forward<SatelliteArnT>(value);
65 }
66 template <typename SatelliteArnT = Aws::String>
67 ReserveContactRequest& WithSatelliteArn(SatelliteArnT&& value) {
68 SetSatelliteArn(std::forward<SatelliteArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
78 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
79 template <typename StartTimeT = Aws::Utils::DateTime>
80 void SetStartTime(StartTimeT&& value) {
81 m_startTimeHasBeenSet = true;
82 m_startTime = std::forward<StartTimeT>(value);
83 }
84 template <typename StartTimeT = Aws::Utils::DateTime>
85 ReserveContactRequest& WithStartTime(StartTimeT&& value) {
86 SetStartTime(std::forward<StartTimeT>(value));
87 return *this;
88 }
90
92
95 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
96 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
97 template <typename EndTimeT = Aws::Utils::DateTime>
98 void SetEndTime(EndTimeT&& value) {
99 m_endTimeHasBeenSet = true;
100 m_endTime = std::forward<EndTimeT>(value);
101 }
102 template <typename EndTimeT = Aws::Utils::DateTime>
104 SetEndTime(std::forward<EndTimeT>(value));
105 return *this;
106 }
108
110
113 inline const Aws::String& GetGroundStation() const { return m_groundStation; }
114 inline bool GroundStationHasBeenSet() const { return m_groundStationHasBeenSet; }
115 template <typename GroundStationT = Aws::String>
116 void SetGroundStation(GroundStationT&& value) {
117 m_groundStationHasBeenSet = true;
118 m_groundStation = std::forward<GroundStationT>(value);
119 }
120 template <typename GroundStationT = Aws::String>
121 ReserveContactRequest& WithGroundStation(GroundStationT&& value) {
122 SetGroundStation(std::forward<GroundStationT>(value));
123 return *this;
124 }
126
128
131 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
132 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
133 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
134 void SetTags(TagsT&& value) {
135 m_tagsHasBeenSet = true;
136 m_tags = std::forward<TagsT>(value);
137 }
138 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
140 SetTags(std::forward<TagsT>(value));
141 return *this;
142 }
143 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
144 ReserveContactRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
145 m_tagsHasBeenSet = true;
146 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
147 return *this;
148 }
150
152
155 inline const TrackingOverrides& GetTrackingOverrides() const { return m_trackingOverrides; }
156 inline bool TrackingOverridesHasBeenSet() const { return m_trackingOverridesHasBeenSet; }
157 template <typename TrackingOverridesT = TrackingOverrides>
158 void SetTrackingOverrides(TrackingOverridesT&& value) {
159 m_trackingOverridesHasBeenSet = true;
160 m_trackingOverrides = std::forward<TrackingOverridesT>(value);
161 }
162 template <typename TrackingOverridesT = TrackingOverrides>
163 ReserveContactRequest& WithTrackingOverrides(TrackingOverridesT&& value) {
164 SetTrackingOverrides(std::forward<TrackingOverridesT>(value));
165 return *this;
166 }
168 private:
169 Aws::String m_missionProfileArn;
170 bool m_missionProfileArnHasBeenSet = false;
171
172 Aws::String m_satelliteArn;
173 bool m_satelliteArnHasBeenSet = false;
174
175 Aws::Utils::DateTime m_startTime{};
176 bool m_startTimeHasBeenSet = false;
177
178 Aws::Utils::DateTime m_endTime{};
179 bool m_endTimeHasBeenSet = false;
180
181 Aws::String m_groundStation;
182 bool m_groundStationHasBeenSet = false;
183
185 bool m_tagsHasBeenSet = false;
186
187 TrackingOverrides m_trackingOverrides;
188 bool m_trackingOverridesHasBeenSet = false;
189};
190
191} // namespace Model
192} // namespace GroundStation
193} // namespace Aws
ReserveContactRequest & WithGroundStation(GroundStationT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
virtual const char * GetServiceRequestName() const override
const TrackingOverrides & GetTrackingOverrides() const
void SetMissionProfileArn(MissionProfileArnT &&value)
const Aws::Utils::DateTime & GetStartTime() const
ReserveContactRequest & WithTags(TagsT &&value)
ReserveContactRequest & WithSatelliteArn(SatelliteArnT &&value)
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
ReserveContactRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GROUNDSTATION_API ReserveContactRequest()=default
ReserveContactRequest & WithEndTime(EndTimeT &&value)
ReserveContactRequest & WithMissionProfileArn(MissionProfileArnT &&value)
ReserveContactRequest & WithStartTime(StartTimeT &&value)
ReserveContactRequest & WithTrackingOverrides(TrackingOverridesT &&value)
const Aws::Utils::DateTime & GetEndTime() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String