AWS SDK for C++

AWS SDK for C++ Version 1.11.827

Loading...
Searching...
No Matches
GetMissionProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/groundstation/GroundStation_EXPORTS.h>
12#include <aws/groundstation/model/KmsKey.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace GroundStation {
26namespace Model {
34 public:
35 AWS_GROUNDSTATION_API GetMissionProfileResult() = default;
38
40
43 inline const Aws::String& GetMissionProfileId() const { return m_missionProfileId; }
44 template <typename MissionProfileIdT = Aws::String>
45 void SetMissionProfileId(MissionProfileIdT&& value) {
46 m_missionProfileIdHasBeenSet = true;
47 m_missionProfileId = std::forward<MissionProfileIdT>(value);
48 }
49 template <typename MissionProfileIdT = Aws::String>
50 GetMissionProfileResult& WithMissionProfileId(MissionProfileIdT&& value) {
51 SetMissionProfileId(std::forward<MissionProfileIdT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetMissionProfileArn() const { return m_missionProfileArn; }
61 template <typename MissionProfileArnT = Aws::String>
62 void SetMissionProfileArn(MissionProfileArnT&& value) {
63 m_missionProfileArnHasBeenSet = true;
64 m_missionProfileArn = std::forward<MissionProfileArnT>(value);
65 }
66 template <typename MissionProfileArnT = Aws::String>
67 GetMissionProfileResult& WithMissionProfileArn(MissionProfileArnT&& value) {
68 SetMissionProfileArn(std::forward<MissionProfileArnT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::String& GetName() const { return m_name; }
78 template <typename NameT = Aws::String>
79 void SetName(NameT&& value) {
80 m_nameHasBeenSet = true;
81 m_name = std::forward<NameT>(value);
82 }
83 template <typename NameT = Aws::String>
85 SetName(std::forward<NameT>(value));
86 return *this;
87 }
89
91
94 inline const Aws::String& GetRegion() const { return m_region; }
95 template <typename RegionT = Aws::String>
96 void SetRegion(RegionT&& value) {
97 m_regionHasBeenSet = true;
98 m_region = std::forward<RegionT>(value);
99 }
100 template <typename RegionT = Aws::String>
102 SetRegion(std::forward<RegionT>(value));
103 return *this;
104 }
106
108
112 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
113 inline void SetContactPrePassDurationSeconds(int value) {
114 m_contactPrePassDurationSecondsHasBeenSet = true;
115 m_contactPrePassDurationSeconds = value;
116 }
119 return *this;
120 }
122
124
128 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
129 inline void SetContactPostPassDurationSeconds(int value) {
130 m_contactPostPassDurationSecondsHasBeenSet = true;
131 m_contactPostPassDurationSeconds = value;
132 }
135 return *this;
136 }
138
140
145 inline int GetMinimumViableContactDurationSeconds() const { return m_minimumViableContactDurationSeconds; }
147 m_minimumViableContactDurationSecondsHasBeenSet = true;
148 m_minimumViableContactDurationSeconds = value;
149 }
152 return *this;
153 }
155
157
161 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetDataflowEdges() const { return m_dataflowEdges; }
162 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
163 void SetDataflowEdges(DataflowEdgesT&& value) {
164 m_dataflowEdgesHasBeenSet = true;
165 m_dataflowEdges = std::forward<DataflowEdgesT>(value);
166 }
167 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
169 SetDataflowEdges(std::forward<DataflowEdgesT>(value));
170 return *this;
171 }
172 template <typename DataflowEdgesT = Aws::Vector<Aws::String>>
173 GetMissionProfileResult& AddDataflowEdges(DataflowEdgesT&& value) {
174 m_dataflowEdgesHasBeenSet = true;
175 m_dataflowEdges.emplace_back(std::forward<DataflowEdgesT>(value));
176 return *this;
177 }
179
181
184 inline const Aws::String& GetTrackingConfigArn() const { return m_trackingConfigArn; }
185 template <typename TrackingConfigArnT = Aws::String>
186 void SetTrackingConfigArn(TrackingConfigArnT&& value) {
187 m_trackingConfigArnHasBeenSet = true;
188 m_trackingConfigArn = std::forward<TrackingConfigArnT>(value);
189 }
190 template <typename TrackingConfigArnT = Aws::String>
191 GetMissionProfileResult& WithTrackingConfigArn(TrackingConfigArnT&& value) {
192 SetTrackingConfigArn(std::forward<TrackingConfigArnT>(value));
193 return *this;
194 }
196
198
201 inline const Aws::String& GetTelemetrySinkConfigArn() const { return m_telemetrySinkConfigArn; }
202 template <typename TelemetrySinkConfigArnT = Aws::String>
203 void SetTelemetrySinkConfigArn(TelemetrySinkConfigArnT&& value) {
204 m_telemetrySinkConfigArnHasBeenSet = true;
205 m_telemetrySinkConfigArn = std::forward<TelemetrySinkConfigArnT>(value);
206 }
207 template <typename TelemetrySinkConfigArnT = Aws::String>
208 GetMissionProfileResult& WithTelemetrySinkConfigArn(TelemetrySinkConfigArnT&& value) {
209 SetTelemetrySinkConfigArn(std::forward<TelemetrySinkConfigArnT>(value));
210 return *this;
211 }
213
215
218 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
219 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
220 void SetTags(TagsT&& value) {
221 m_tagsHasBeenSet = true;
222 m_tags = std::forward<TagsT>(value);
223 }
224 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
226 SetTags(std::forward<TagsT>(value));
227 return *this;
228 }
229 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
230 GetMissionProfileResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
231 m_tagsHasBeenSet = true;
232 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
233 return *this;
234 }
236
238
241 inline const KmsKey& GetStreamsKmsKey() const { return m_streamsKmsKey; }
242 template <typename StreamsKmsKeyT = KmsKey>
243 void SetStreamsKmsKey(StreamsKmsKeyT&& value) {
244 m_streamsKmsKeyHasBeenSet = true;
245 m_streamsKmsKey = std::forward<StreamsKmsKeyT>(value);
246 }
247 template <typename StreamsKmsKeyT = KmsKey>
249 SetStreamsKmsKey(std::forward<StreamsKmsKeyT>(value));
250 return *this;
251 }
253
255
258 inline const Aws::String& GetStreamsKmsRole() const { return m_streamsKmsRole; }
259 template <typename StreamsKmsRoleT = Aws::String>
260 void SetStreamsKmsRole(StreamsKmsRoleT&& value) {
261 m_streamsKmsRoleHasBeenSet = true;
262 m_streamsKmsRole = std::forward<StreamsKmsRoleT>(value);
263 }
264 template <typename StreamsKmsRoleT = Aws::String>
265 GetMissionProfileResult& WithStreamsKmsRole(StreamsKmsRoleT&& value) {
266 SetStreamsKmsRole(std::forward<StreamsKmsRoleT>(value));
267 return *this;
268 }
270
272
273 inline const Aws::String& GetRequestId() const { return m_requestId; }
274 template <typename RequestIdT = Aws::String>
275 void SetRequestId(RequestIdT&& value) {
276 m_requestIdHasBeenSet = true;
277 m_requestId = std::forward<RequestIdT>(value);
278 }
279 template <typename RequestIdT = Aws::String>
281 SetRequestId(std::forward<RequestIdT>(value));
282 return *this;
283 }
285 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
286
287 private:
288 Aws::String m_missionProfileId;
289
290 Aws::String m_missionProfileArn;
291
292 Aws::String m_name;
293
294 Aws::String m_region;
295
296 int m_contactPrePassDurationSeconds{0};
297
298 int m_contactPostPassDurationSeconds{0};
299
300 int m_minimumViableContactDurationSeconds{0};
301
303
304 Aws::String m_trackingConfigArn;
305
306 Aws::String m_telemetrySinkConfigArn;
307
309
310 KmsKey m_streamsKmsKey;
311
312 Aws::String m_streamsKmsRole;
313
314 Aws::String m_requestId;
315 Aws::Http::HttpResponseCode m_HttpResponseCode;
316 bool m_missionProfileIdHasBeenSet = false;
317 bool m_missionProfileArnHasBeenSet = false;
318 bool m_nameHasBeenSet = false;
319 bool m_regionHasBeenSet = false;
320 bool m_contactPrePassDurationSecondsHasBeenSet = false;
321 bool m_contactPostPassDurationSecondsHasBeenSet = false;
322 bool m_minimumViableContactDurationSecondsHasBeenSet = false;
323 bool m_dataflowEdgesHasBeenSet = false;
324 bool m_trackingConfigArnHasBeenSet = false;
325 bool m_telemetrySinkConfigArnHasBeenSet = false;
326 bool m_tagsHasBeenSet = false;
327 bool m_streamsKmsKeyHasBeenSet = false;
328 bool m_streamsKmsRoleHasBeenSet = false;
329 bool m_requestIdHasBeenSet = false;
330};
331
332} // namespace Model
333} // namespace GroundStation
334} // namespace Aws
AWS_GROUNDSTATION_API GetMissionProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMissionProfileResult & WithName(NameT &&value)
GetMissionProfileResult & WithTrackingConfigArn(TrackingConfigArnT &&value)
GetMissionProfileResult & WithRequestId(RequestIdT &&value)
GetMissionProfileResult & AddDataflowEdges(DataflowEdgesT &&value)
GetMissionProfileResult & WithContactPrePassDurationSeconds(int value)
GetMissionProfileResult & WithRegion(RegionT &&value)
GetMissionProfileResult & WithStreamsKmsKey(StreamsKmsKeyT &&value)
GetMissionProfileResult & WithMissionProfileId(MissionProfileIdT &&value)
AWS_GROUNDSTATION_API GetMissionProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GROUNDSTATION_API GetMissionProfileResult()=default
GetMissionProfileResult & WithStreamsKmsRole(StreamsKmsRoleT &&value)
GetMissionProfileResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTelemetrySinkConfigArn(TelemetrySinkConfigArnT &&value)
GetMissionProfileResult & WithContactPostPassDurationSeconds(int value)
GetMissionProfileResult & WithMinimumViableContactDurationSeconds(int value)
GetMissionProfileResult & WithDataflowEdges(DataflowEdgesT &&value)
GetMissionProfileResult & WithTags(TagsT &&value)
GetMissionProfileResult & WithTelemetrySinkConfigArn(TelemetrySinkConfigArnT &&value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetDataflowEdges() const
GetMissionProfileResult & WithMissionProfileArn(MissionProfileArnT &&value)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue