AWS SDK for C++  1.9.66
AWS SDK for C++
ReserveContactRequest.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace GroundStation
17 {
18 namespace Model
19 {
20 
27  {
28  public:
30 
31  // Service request name is the Operation name which will send this request out,
32  // each operation should has unique request name, so that we can get operation's name from this request.
33  // Note: this is not true for response, multiple operations may have the same response name,
34  // so we can not get operation's name from response.
35  inline virtual const char* GetServiceRequestName() const override { return "ReserveContact"; }
36 
37  Aws::String SerializePayload() const override;
38 
39 
43  inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
44 
48  inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
49 
53  inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTimeHasBeenSet = true; m_endTime = value; }
54 
58  inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTimeHasBeenSet = true; m_endTime = std::move(value); }
59 
63  inline ReserveContactRequest& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
64 
68  inline ReserveContactRequest& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
69 
70 
74  inline const Aws::String& GetGroundStation() const{ return m_groundStation; }
75 
79  inline bool GroundStationHasBeenSet() const { return m_groundStationHasBeenSet; }
80 
84  inline void SetGroundStation(const Aws::String& value) { m_groundStationHasBeenSet = true; m_groundStation = value; }
85 
89  inline void SetGroundStation(Aws::String&& value) { m_groundStationHasBeenSet = true; m_groundStation = std::move(value); }
90 
94  inline void SetGroundStation(const char* value) { m_groundStationHasBeenSet = true; m_groundStation.assign(value); }
95 
99  inline ReserveContactRequest& WithGroundStation(const Aws::String& value) { SetGroundStation(value); return *this;}
100 
104  inline ReserveContactRequest& WithGroundStation(Aws::String&& value) { SetGroundStation(std::move(value)); return *this;}
105 
109  inline ReserveContactRequest& WithGroundStation(const char* value) { SetGroundStation(value); return *this;}
110 
111 
115  inline const Aws::String& GetMissionProfileArn() const{ return m_missionProfileArn; }
116 
120  inline bool MissionProfileArnHasBeenSet() const { return m_missionProfileArnHasBeenSet; }
121 
125  inline void SetMissionProfileArn(const Aws::String& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = value; }
126 
130  inline void SetMissionProfileArn(Aws::String&& value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn = std::move(value); }
131 
135  inline void SetMissionProfileArn(const char* value) { m_missionProfileArnHasBeenSet = true; m_missionProfileArn.assign(value); }
136 
140  inline ReserveContactRequest& WithMissionProfileArn(const Aws::String& value) { SetMissionProfileArn(value); return *this;}
141 
145  inline ReserveContactRequest& WithMissionProfileArn(Aws::String&& value) { SetMissionProfileArn(std::move(value)); return *this;}
146 
150  inline ReserveContactRequest& WithMissionProfileArn(const char* value) { SetMissionProfileArn(value); return *this;}
151 
152 
156  inline const Aws::String& GetSatelliteArn() const{ return m_satelliteArn; }
157 
161  inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
162 
166  inline void SetSatelliteArn(const Aws::String& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = value; }
167 
171  inline void SetSatelliteArn(Aws::String&& value) { m_satelliteArnHasBeenSet = true; m_satelliteArn = std::move(value); }
172 
176  inline void SetSatelliteArn(const char* value) { m_satelliteArnHasBeenSet = true; m_satelliteArn.assign(value); }
177 
181  inline ReserveContactRequest& WithSatelliteArn(const Aws::String& value) { SetSatelliteArn(value); return *this;}
182 
186  inline ReserveContactRequest& WithSatelliteArn(Aws::String&& value) { SetSatelliteArn(std::move(value)); return *this;}
187 
191  inline ReserveContactRequest& WithSatelliteArn(const char* value) { SetSatelliteArn(value); return *this;}
192 
193 
197  inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
198 
202  inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
203 
207  inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTimeHasBeenSet = true; m_startTime = value; }
208 
212  inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); }
213 
217  inline ReserveContactRequest& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
218 
222  inline ReserveContactRequest& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
223 
224 
228  inline const Aws::Map<Aws::String, Aws::String>& GetTags() const{ return m_tags; }
229 
233  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
234 
238  inline void SetTags(const Aws::Map<Aws::String, Aws::String>& value) { m_tagsHasBeenSet = true; m_tags = value; }
239 
243  inline void SetTags(Aws::Map<Aws::String, Aws::String>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
244 
248  inline ReserveContactRequest& WithTags(const Aws::Map<Aws::String, Aws::String>& value) { SetTags(value); return *this;}
249 
253  inline ReserveContactRequest& WithTags(Aws::Map<Aws::String, Aws::String>&& value) { SetTags(std::move(value)); return *this;}
254 
258  inline ReserveContactRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
259 
263  inline ReserveContactRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
264 
268  inline ReserveContactRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
269 
273  inline ReserveContactRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; }
274 
278  inline ReserveContactRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; }
279 
283  inline ReserveContactRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; }
284 
288  inline ReserveContactRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; }
289 
290  private:
291 
292  Aws::Utils::DateTime m_endTime;
293  bool m_endTimeHasBeenSet;
294 
295  Aws::String m_groundStation;
296  bool m_groundStationHasBeenSet;
297 
298  Aws::String m_missionProfileArn;
299  bool m_missionProfileArnHasBeenSet;
300 
301  Aws::String m_satelliteArn;
302  bool m_satelliteArnHasBeenSet;
303 
304  Aws::Utils::DateTime m_startTime;
305  bool m_startTimeHasBeenSet;
306 
308  bool m_tagsHasBeenSet;
309  };
310 
311 } // namespace Model
312 } // namespace GroundStation
313 } // namespace Aws
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::GroundStation::Model::ReserveContactRequest::AddTags
ReserveContactRequest & AddTags(const Aws::String &key, const Aws::String &value)
Definition: ReserveContactRequest.h:258
Aws::GroundStation::Model::ReserveContactRequest::WithMissionProfileArn
ReserveContactRequest & WithMissionProfileArn(const Aws::String &value)
Definition: ReserveContactRequest.h:140
Aws::GroundStation::Model::ReserveContactRequest::SetTags
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ReserveContactRequest.h:238
Aws::GroundStation::Model::ReserveContactRequest::WithGroundStation
ReserveContactRequest & WithGroundStation(const Aws::String &value)
Definition: ReserveContactRequest.h:99
Aws::GroundStation::Model::ReserveContactRequest::GetGroundStation
const Aws::String & GetGroundStation() const
Definition: ReserveContactRequest.h:74
Aws::GroundStation::Model::ReserveContactRequest::SetGroundStation
void SetGroundStation(Aws::String &&value)
Definition: ReserveContactRequest.h:89
Aws::GroundStation::Model::ReserveContactRequest::SetEndTime
void SetEndTime(const Aws::Utils::DateTime &value)
Definition: ReserveContactRequest.h:53
Aws::GroundStation::Model::ReserveContactRequest::GetSatelliteArn
const Aws::String & GetSatelliteArn() const
Definition: ReserveContactRequest.h:156
Aws::GroundStation::Model::ReserveContactRequest::GetMissionProfileArn
const Aws::String & GetMissionProfileArn() const
Definition: ReserveContactRequest.h:115
Aws::GroundStation::Model::ReserveContactRequest::WithEndTime
ReserveContactRequest & WithEndTime(const Aws::Utils::DateTime &value)
Definition: ReserveContactRequest.h:63
DateTime.h
Aws::GroundStation::Model::ReserveContactRequest::SetSatelliteArn
void SetSatelliteArn(Aws::String &&value)
Definition: ReserveContactRequest.h:171
Aws::GroundStation::GroundStationRequest
Definition: GroundStationRequest.h:17
Aws::GroundStation::Model::ReserveContactRequest::WithMissionProfileArn
ReserveContactRequest & WithMissionProfileArn(const char *value)
Definition: ReserveContactRequest.h:150
Aws::GroundStation::Model::ReserveContactRequest::GroundStationHasBeenSet
bool GroundStationHasBeenSet() const
Definition: ReserveContactRequest.h:79
Aws::GroundStation::Model::ReserveContactRequest::SetMissionProfileArn
void SetMissionProfileArn(const Aws::String &value)
Definition: ReserveContactRequest.h:125
Aws::GroundStation::Model::ReserveContactRequest::WithSatelliteArn
ReserveContactRequest & WithSatelliteArn(const char *value)
Definition: ReserveContactRequest.h:191
Aws::GroundStation::Model::ReserveContactRequest::WithTags
ReserveContactRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ReserveContactRequest.h:253
Aws::GroundStation::Model::ReserveContactRequest::WithStartTime
ReserveContactRequest & WithStartTime(Aws::Utils::DateTime &&value)
Definition: ReserveContactRequest.h:222
GroundStationRequest.h
Aws::GroundStation::Model::ReserveContactRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: ReserveContactRequest.h:233
Aws::GroundStation::Model::ReserveContactRequest::WithEndTime
ReserveContactRequest & WithEndTime(Aws::Utils::DateTime &&value)
Definition: ReserveContactRequest.h:68
Aws::GroundStation::Model::ReserveContactRequest::ReserveContactRequest
ReserveContactRequest()
GroundStation_EXPORTS.h
Aws::GroundStation::Model::ReserveContactRequest::AddTags
ReserveContactRequest & AddTags(const Aws::String &key, Aws::String &&value)
Definition: ReserveContactRequest.h:268
Aws::GroundStation::Model::ReserveContactRequest::AddTags
ReserveContactRequest & AddTags(Aws::String &&key, Aws::String &&value)
Definition: ReserveContactRequest.h:273
Aws::GroundStation::Model::ReserveContactRequest::SetGroundStation
void SetGroundStation(const char *value)
Definition: ReserveContactRequest.h:94
Aws::GroundStation::Model::ReserveContactRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: ReserveContactRequest.h:35
AWS_GROUNDSTATION_API
#define AWS_GROUNDSTATION_API
Definition: GroundStation_EXPORTS.h:28
Aws::GroundStation::Model::ReserveContactRequest::SetGroundStation
void SetGroundStation(const Aws::String &value)
Definition: ReserveContactRequest.h:84
Aws::GroundStation::Model::ReserveContactRequest::WithStartTime
ReserveContactRequest & WithStartTime(const Aws::Utils::DateTime &value)
Definition: ReserveContactRequest.h:217
Aws::GroundStation::Model::ReserveContactRequest::GetStartTime
const Aws::Utils::DateTime & GetStartTime() const
Definition: ReserveContactRequest.h:197
AWSString.h
Aws::GroundStation::Model::ReserveContactRequest::WithGroundStation
ReserveContactRequest & WithGroundStation(const char *value)
Definition: ReserveContactRequest.h:109
Aws::GroundStation::Model::ReserveContactRequest::EndTimeHasBeenSet
bool EndTimeHasBeenSet() const
Definition: ReserveContactRequest.h:48
Aws::GroundStation::Model::ReserveContactRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::GroundStation::Model::ReserveContactRequest::SatelliteArnHasBeenSet
bool SatelliteArnHasBeenSet() const
Definition: ReserveContactRequest.h:161
Aws::GroundStation::Model::ReserveContactRequest::SetStartTime
void SetStartTime(Aws::Utils::DateTime &&value)
Definition: ReserveContactRequest.h:212
Aws::GroundStation::Model::ReserveContactRequest::SetEndTime
void SetEndTime(Aws::Utils::DateTime &&value)
Definition: ReserveContactRequest.h:58
Aws::GroundStation::Model::ReserveContactRequest::AddTags
ReserveContactRequest & AddTags(const char *key, Aws::String &&value)
Definition: ReserveContactRequest.h:278
Aws::GroundStation::Model::ReserveContactRequest::SetStartTime
void SetStartTime(const Aws::Utils::DateTime &value)
Definition: ReserveContactRequest.h:207
Aws::GroundStation::Model::ReserveContactRequest::SetMissionProfileArn
void SetMissionProfileArn(const char *value)
Definition: ReserveContactRequest.h:135
Aws::GroundStation::Model::ReserveContactRequest::GetEndTime
const Aws::Utils::DateTime & GetEndTime() const
Definition: ReserveContactRequest.h:43
Aws::GroundStation::Model::ReserveContactRequest::GetTags
const Aws::Map< Aws::String, Aws::String > & GetTags() const
Definition: ReserveContactRequest.h:228
Aws::GroundStation::Model::ReserveContactRequest::WithSatelliteArn
ReserveContactRequest & WithSatelliteArn(Aws::String &&value)
Definition: ReserveContactRequest.h:186
Aws::GroundStation::Model::ReserveContactRequest::SetSatelliteArn
void SetSatelliteArn(const char *value)
Definition: ReserveContactRequest.h:176
Aws::GroundStation::Model::ReserveContactRequest::WithSatelliteArn
ReserveContactRequest & WithSatelliteArn(const Aws::String &value)
Definition: ReserveContactRequest.h:181
Aws
Definition: AccessManagementClient.h:15
Aws::GroundStation::Model::ReserveContactRequest::AddTags
ReserveContactRequest & AddTags(const char *key, const char *value)
Definition: ReserveContactRequest.h:288
Aws::GroundStation::Model::ReserveContactRequest::WithMissionProfileArn
ReserveContactRequest & WithMissionProfileArn(Aws::String &&value)
Definition: ReserveContactRequest.h:145
Aws::GroundStation::Model::ReserveContactRequest::AddTags
ReserveContactRequest & AddTags(Aws::String &&key, const Aws::String &value)
Definition: ReserveContactRequest.h:263
Aws::GroundStation::Model::ReserveContactRequest::MissionProfileArnHasBeenSet
bool MissionProfileArnHasBeenSet() const
Definition: ReserveContactRequest.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::GroundStation::Model::ReserveContactRequest::SetSatelliteArn
void SetSatelliteArn(const Aws::String &value)
Definition: ReserveContactRequest.h:166
Aws::GroundStation::Model::ReserveContactRequest::StartTimeHasBeenSet
bool StartTimeHasBeenSet() const
Definition: ReserveContactRequest.h:202
Aws::GroundStation::Model::ReserveContactRequest::SetTags
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
Definition: ReserveContactRequest.h:243
Aws::GroundStation::Model::ReserveContactRequest::WithTags
ReserveContactRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
Definition: ReserveContactRequest.h:248
Aws::GroundStation::Model::ReserveContactRequest::AddTags
ReserveContactRequest & AddTags(Aws::String &&key, const char *value)
Definition: ReserveContactRequest.h:283
AWSMap.h
Aws::GroundStation::Model::ReserveContactRequest::WithGroundStation
ReserveContactRequest & WithGroundStation(Aws::String &&value)
Definition: ReserveContactRequest.h:104
Aws::GroundStation::Model::ReserveContactRequest::SetMissionProfileArn
void SetMissionProfileArn(Aws::String &&value)
Definition: ReserveContactRequest.h:130
Aws::GroundStation::Model::ReserveContactRequest
Definition: ReserveContactRequest.h:27
Aws::Map
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Definition: AWSMap.h:19