AWS SDK for C++

AWS SDK for C++ Version 1.11.795

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
27 public:
28 AWS_GROUNDSTATION_API ReserveContactRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "ReserveContact"; }
35
36 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
37
39
42 inline const Aws::String& GetMissionProfileArn() const { return m_missionProfileArn; }
43 inline bool MissionProfileArnHasBeenSet() const { return m_missionProfileArnHasBeenSet; }
44 template <typename MissionProfileArnT = Aws::String>
45 void SetMissionProfileArn(MissionProfileArnT&& value) {
46 m_missionProfileArnHasBeenSet = true;
47 m_missionProfileArn = std::forward<MissionProfileArnT>(value);
48 }
49 template <typename MissionProfileArnT = Aws::String>
50 ReserveContactRequest& WithMissionProfileArn(MissionProfileArnT&& value) {
51 SetMissionProfileArn(std::forward<MissionProfileArnT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetSatelliteArn() const { return m_satelliteArn; }
61 inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
62 template <typename SatelliteArnT = Aws::String>
63 void SetSatelliteArn(SatelliteArnT&& value) {
64 m_satelliteArnHasBeenSet = true;
65 m_satelliteArn = std::forward<SatelliteArnT>(value);
66 }
67 template <typename SatelliteArnT = Aws::String>
68 ReserveContactRequest& WithSatelliteArn(SatelliteArnT&& value) {
69 SetSatelliteArn(std::forward<SatelliteArnT>(value));
70 return *this;
71 }
73
75
78 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
79 inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; }
80 template <typename StartTimeT = Aws::Utils::DateTime>
81 void SetStartTime(StartTimeT&& value) {
82 m_startTimeHasBeenSet = true;
83 m_startTime = std::forward<StartTimeT>(value);
84 }
85 template <typename StartTimeT = Aws::Utils::DateTime>
86 ReserveContactRequest& WithStartTime(StartTimeT&& value) {
87 SetStartTime(std::forward<StartTimeT>(value));
88 return *this;
89 }
91
93
96 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
97 inline bool EndTimeHasBeenSet() const { return m_endTimeHasBeenSet; }
98 template <typename EndTimeT = Aws::Utils::DateTime>
99 void SetEndTime(EndTimeT&& value) {
100 m_endTimeHasBeenSet = true;
101 m_endTime = std::forward<EndTimeT>(value);
102 }
103 template <typename EndTimeT = Aws::Utils::DateTime>
105 SetEndTime(std::forward<EndTimeT>(value));
106 return *this;
107 }
109
111
114 inline const Aws::String& GetGroundStation() const { return m_groundStation; }
115 inline bool GroundStationHasBeenSet() const { return m_groundStationHasBeenSet; }
116 template <typename GroundStationT = Aws::String>
117 void SetGroundStation(GroundStationT&& value) {
118 m_groundStationHasBeenSet = true;
119 m_groundStation = std::forward<GroundStationT>(value);
120 }
121 template <typename GroundStationT = Aws::String>
122 ReserveContactRequest& WithGroundStation(GroundStationT&& value) {
123 SetGroundStation(std::forward<GroundStationT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
133 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
134 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 void SetTags(TagsT&& value) {
136 m_tagsHasBeenSet = true;
137 m_tags = std::forward<TagsT>(value);
138 }
139 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
141 SetTags(std::forward<TagsT>(value));
142 return *this;
143 }
144 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
145 ReserveContactRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
146 m_tagsHasBeenSet = true;
147 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
148 return *this;
149 }
151
153
156 inline const TrackingOverrides& GetTrackingOverrides() const { return m_trackingOverrides; }
157 inline bool TrackingOverridesHasBeenSet() const { return m_trackingOverridesHasBeenSet; }
158 template <typename TrackingOverridesT = TrackingOverrides>
159 void SetTrackingOverrides(TrackingOverridesT&& value) {
160 m_trackingOverridesHasBeenSet = true;
161 m_trackingOverrides = std::forward<TrackingOverridesT>(value);
162 }
163 template <typename TrackingOverridesT = TrackingOverrides>
164 ReserveContactRequest& WithTrackingOverrides(TrackingOverridesT&& value) {
165 SetTrackingOverrides(std::forward<TrackingOverridesT>(value));
166 return *this;
167 }
169 private:
170 Aws::String m_missionProfileArn;
171
172 Aws::String m_satelliteArn;
173
174 Aws::Utils::DateTime m_startTime{};
175
176 Aws::Utils::DateTime m_endTime{};
177
178 Aws::String m_groundStation;
179
181
182 TrackingOverrides m_trackingOverrides;
183 bool m_missionProfileArnHasBeenSet = false;
184 bool m_satelliteArnHasBeenSet = false;
185 bool m_startTimeHasBeenSet = false;
186 bool m_endTimeHasBeenSet = false;
187 bool m_groundStationHasBeenSet = false;
188 bool m_tagsHasBeenSet = false;
189 bool m_trackingOverridesHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace GroundStation
194} // 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