AWS SDK for C++

AWS SDK for C++ Version 1.11.759

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 {
33 public:
34 AWS_GROUNDSTATION_API GetMissionProfileResult() = default;
37
39
42 inline const Aws::String& GetMissionProfileId() const { return m_missionProfileId; }
43 template <typename MissionProfileIdT = Aws::String>
44 void SetMissionProfileId(MissionProfileIdT&& value) {
45 m_missionProfileIdHasBeenSet = true;
46 m_missionProfileId = std::forward<MissionProfileIdT>(value);
47 }
48 template <typename MissionProfileIdT = Aws::String>
49 GetMissionProfileResult& WithMissionProfileId(MissionProfileIdT&& value) {
50 SetMissionProfileId(std::forward<MissionProfileIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetMissionProfileArn() const { return m_missionProfileArn; }
60 template <typename MissionProfileArnT = Aws::String>
61 void SetMissionProfileArn(MissionProfileArnT&& value) {
62 m_missionProfileArnHasBeenSet = true;
63 m_missionProfileArn = std::forward<MissionProfileArnT>(value);
64 }
65 template <typename MissionProfileArnT = Aws::String>
66 GetMissionProfileResult& WithMissionProfileArn(MissionProfileArnT&& value) {
67 SetMissionProfileArn(std::forward<MissionProfileArnT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetName() const { return m_name; }
77 template <typename NameT = Aws::String>
78 void SetName(NameT&& value) {
79 m_nameHasBeenSet = true;
80 m_name = std::forward<NameT>(value);
81 }
82 template <typename NameT = Aws::String>
84 SetName(std::forward<NameT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetRegion() const { return m_region; }
94 template <typename RegionT = Aws::String>
95 void SetRegion(RegionT&& value) {
96 m_regionHasBeenSet = true;
97 m_region = std::forward<RegionT>(value);
98 }
99 template <typename RegionT = Aws::String>
101 SetRegion(std::forward<RegionT>(value));
102 return *this;
103 }
105
107
111 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
112 inline void SetContactPrePassDurationSeconds(int value) {
113 m_contactPrePassDurationSecondsHasBeenSet = true;
114 m_contactPrePassDurationSeconds = value;
115 }
118 return *this;
119 }
121
123
127 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
128 inline void SetContactPostPassDurationSeconds(int value) {
129 m_contactPostPassDurationSecondsHasBeenSet = true;
130 m_contactPostPassDurationSeconds = value;
131 }
134 return *this;
135 }
137
139
144 inline int GetMinimumViableContactDurationSeconds() const { return m_minimumViableContactDurationSeconds; }
146 m_minimumViableContactDurationSecondsHasBeenSet = true;
147 m_minimumViableContactDurationSeconds = value;
148 }
151 return *this;
152 }
154
156
160 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetDataflowEdges() const { return m_dataflowEdges; }
161 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
162 void SetDataflowEdges(DataflowEdgesT&& value) {
163 m_dataflowEdgesHasBeenSet = true;
164 m_dataflowEdges = std::forward<DataflowEdgesT>(value);
165 }
166 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
168 SetDataflowEdges(std::forward<DataflowEdgesT>(value));
169 return *this;
170 }
171 template <typename DataflowEdgesT = Aws::Vector<Aws::String>>
172 GetMissionProfileResult& AddDataflowEdges(DataflowEdgesT&& value) {
173 m_dataflowEdgesHasBeenSet = true;
174 m_dataflowEdges.emplace_back(std::forward<DataflowEdgesT>(value));
175 return *this;
176 }
178
180
183 inline const Aws::String& GetTrackingConfigArn() const { return m_trackingConfigArn; }
184 template <typename TrackingConfigArnT = Aws::String>
185 void SetTrackingConfigArn(TrackingConfigArnT&& value) {
186 m_trackingConfigArnHasBeenSet = true;
187 m_trackingConfigArn = std::forward<TrackingConfigArnT>(value);
188 }
189 template <typename TrackingConfigArnT = Aws::String>
190 GetMissionProfileResult& WithTrackingConfigArn(TrackingConfigArnT&& value) {
191 SetTrackingConfigArn(std::forward<TrackingConfigArnT>(value));
192 return *this;
193 }
195
197
200 inline const Aws::String& GetTelemetrySinkConfigArn() const { return m_telemetrySinkConfigArn; }
201 template <typename TelemetrySinkConfigArnT = Aws::String>
202 void SetTelemetrySinkConfigArn(TelemetrySinkConfigArnT&& value) {
203 m_telemetrySinkConfigArnHasBeenSet = true;
204 m_telemetrySinkConfigArn = std::forward<TelemetrySinkConfigArnT>(value);
205 }
206 template <typename TelemetrySinkConfigArnT = Aws::String>
207 GetMissionProfileResult& WithTelemetrySinkConfigArn(TelemetrySinkConfigArnT&& value) {
208 SetTelemetrySinkConfigArn(std::forward<TelemetrySinkConfigArnT>(value));
209 return *this;
210 }
212
214
217 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
218 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
219 void SetTags(TagsT&& value) {
220 m_tagsHasBeenSet = true;
221 m_tags = std::forward<TagsT>(value);
222 }
223 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
225 SetTags(std::forward<TagsT>(value));
226 return *this;
227 }
228 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
229 GetMissionProfileResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
230 m_tagsHasBeenSet = true;
231 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
232 return *this;
233 }
235
237
240 inline const KmsKey& GetStreamsKmsKey() const { return m_streamsKmsKey; }
241 template <typename StreamsKmsKeyT = KmsKey>
242 void SetStreamsKmsKey(StreamsKmsKeyT&& value) {
243 m_streamsKmsKeyHasBeenSet = true;
244 m_streamsKmsKey = std::forward<StreamsKmsKeyT>(value);
245 }
246 template <typename StreamsKmsKeyT = KmsKey>
248 SetStreamsKmsKey(std::forward<StreamsKmsKeyT>(value));
249 return *this;
250 }
252
254
257 inline const Aws::String& GetStreamsKmsRole() const { return m_streamsKmsRole; }
258 template <typename StreamsKmsRoleT = Aws::String>
259 void SetStreamsKmsRole(StreamsKmsRoleT&& value) {
260 m_streamsKmsRoleHasBeenSet = true;
261 m_streamsKmsRole = std::forward<StreamsKmsRoleT>(value);
262 }
263 template <typename StreamsKmsRoleT = Aws::String>
264 GetMissionProfileResult& WithStreamsKmsRole(StreamsKmsRoleT&& value) {
265 SetStreamsKmsRole(std::forward<StreamsKmsRoleT>(value));
266 return *this;
267 }
269
271
272 inline const Aws::String& GetRequestId() const { return m_requestId; }
273 template <typename RequestIdT = Aws::String>
274 void SetRequestId(RequestIdT&& value) {
275 m_requestIdHasBeenSet = true;
276 m_requestId = std::forward<RequestIdT>(value);
277 }
278 template <typename RequestIdT = Aws::String>
280 SetRequestId(std::forward<RequestIdT>(value));
281 return *this;
282 }
284 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
285
286 private:
287 Aws::String m_missionProfileId;
288
289 Aws::String m_missionProfileArn;
290
291 Aws::String m_name;
292
293 Aws::String m_region;
294
295 int m_contactPrePassDurationSeconds{0};
296
297 int m_contactPostPassDurationSeconds{0};
298
299 int m_minimumViableContactDurationSeconds{0};
300
302
303 Aws::String m_trackingConfigArn;
304
305 Aws::String m_telemetrySinkConfigArn;
306
308
309 KmsKey m_streamsKmsKey;
310
311 Aws::String m_streamsKmsRole;
312
313 Aws::String m_requestId;
314 Aws::Http::HttpResponseCode m_HttpResponseCode;
315 bool m_missionProfileIdHasBeenSet = false;
316 bool m_missionProfileArnHasBeenSet = false;
317 bool m_nameHasBeenSet = false;
318 bool m_regionHasBeenSet = false;
319 bool m_contactPrePassDurationSecondsHasBeenSet = false;
320 bool m_contactPostPassDurationSecondsHasBeenSet = false;
321 bool m_minimumViableContactDurationSecondsHasBeenSet = false;
322 bool m_dataflowEdgesHasBeenSet = false;
323 bool m_trackingConfigArnHasBeenSet = false;
324 bool m_telemetrySinkConfigArnHasBeenSet = false;
325 bool m_tagsHasBeenSet = false;
326 bool m_streamsKmsKeyHasBeenSet = false;
327 bool m_streamsKmsRoleHasBeenSet = false;
328 bool m_requestIdHasBeenSet = false;
329};
330
331} // namespace Model
332} // namespace GroundStation
333} // 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