AWS SDK for C++

AWS SDK for C++ Version 1.11.772

Loading...
Searching...
No Matches
DescribeEphemerisResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/groundstation/GroundStation_EXPORTS.h>
13#include <aws/groundstation/model/EphemerisErrorReason.h>
14#include <aws/groundstation/model/EphemerisInvalidReason.h>
15#include <aws/groundstation/model/EphemerisStatus.h>
16#include <aws/groundstation/model/EphemerisTypeDescription.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace GroundStation {
30namespace Model {
32 public:
33 AWS_GROUNDSTATION_API DescribeEphemerisResult() = default;
36
38
41 inline const Aws::String& GetEphemerisId() const { return m_ephemerisId; }
42 template <typename EphemerisIdT = Aws::String>
43 void SetEphemerisId(EphemerisIdT&& value) {
44 m_ephemerisIdHasBeenSet = true;
45 m_ephemerisId = std::forward<EphemerisIdT>(value);
46 }
47 template <typename EphemerisIdT = Aws::String>
49 SetEphemerisId(std::forward<EphemerisIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetSatelliteId() const { return m_satelliteId; }
59 template <typename SatelliteIdT = Aws::String>
60 void SetSatelliteId(SatelliteIdT&& value) {
61 m_satelliteIdHasBeenSet = true;
62 m_satelliteId = std::forward<SatelliteIdT>(value);
63 }
64 template <typename SatelliteIdT = Aws::String>
66 SetSatelliteId(std::forward<SatelliteIdT>(value));
67 return *this;
68 }
70
72
75 inline EphemerisStatus GetStatus() const { return m_status; }
76 inline void SetStatus(EphemerisStatus value) {
77 m_statusHasBeenSet = true;
78 m_status = value;
79 }
81 SetStatus(value);
82 return *this;
83 }
85
87
92 inline int GetPriority() const { return m_priority; }
93 inline void SetPriority(int value) {
94 m_priorityHasBeenSet = true;
95 m_priority = value;
96 }
98 SetPriority(value);
99 return *this;
100 }
102
104
107 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
108 template <typename CreationTimeT = Aws::Utils::DateTime>
109 void SetCreationTime(CreationTimeT&& value) {
110 m_creationTimeHasBeenSet = true;
111 m_creationTime = std::forward<CreationTimeT>(value);
112 }
113 template <typename CreationTimeT = Aws::Utils::DateTime>
115 SetCreationTime(std::forward<CreationTimeT>(value));
116 return *this;
117 }
119
121
124 inline bool GetEnabled() const { return m_enabled; }
125 inline void SetEnabled(bool value) {
126 m_enabledHasBeenSet = true;
127 m_enabled = value;
128 }
130 SetEnabled(value);
131 return *this;
132 }
134
136
139 inline const Aws::String& GetName() const { return m_name; }
140 template <typename NameT = Aws::String>
141 void SetName(NameT&& value) {
142 m_nameHasBeenSet = true;
143 m_name = std::forward<NameT>(value);
144 }
145 template <typename NameT = Aws::String>
147 SetName(std::forward<NameT>(value));
148 return *this;
149 }
151
153
156 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
157 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
158 void SetTags(TagsT&& value) {
159 m_tagsHasBeenSet = true;
160 m_tags = std::forward<TagsT>(value);
161 }
162 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
164 SetTags(std::forward<TagsT>(value));
165 return *this;
166 }
167 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
168 DescribeEphemerisResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
169 m_tagsHasBeenSet = true;
170 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
171 return *this;
172 }
174
176
179 inline const EphemerisTypeDescription& GetSuppliedData() const { return m_suppliedData; }
180 template <typename SuppliedDataT = EphemerisTypeDescription>
181 void SetSuppliedData(SuppliedDataT&& value) {
182 m_suppliedDataHasBeenSet = true;
183 m_suppliedData = std::forward<SuppliedDataT>(value);
184 }
185 template <typename SuppliedDataT = EphemerisTypeDescription>
187 SetSuppliedData(std::forward<SuppliedDataT>(value));
188 return *this;
189 }
191
193
197 inline EphemerisInvalidReason GetInvalidReason() const { return m_invalidReason; }
199 m_invalidReasonHasBeenSet = true;
200 m_invalidReason = value;
201 }
203 SetInvalidReason(value);
204 return *this;
205 }
207
209
214 inline const Aws::Vector<EphemerisErrorReason>& GetErrorReasons() const { return m_errorReasons; }
215 template <typename ErrorReasonsT = Aws::Vector<EphemerisErrorReason>>
216 void SetErrorReasons(ErrorReasonsT&& value) {
217 m_errorReasonsHasBeenSet = true;
218 m_errorReasons = std::forward<ErrorReasonsT>(value);
219 }
220 template <typename ErrorReasonsT = Aws::Vector<EphemerisErrorReason>>
222 SetErrorReasons(std::forward<ErrorReasonsT>(value));
223 return *this;
224 }
225 template <typename ErrorReasonsT = EphemerisErrorReason>
226 DescribeEphemerisResult& AddErrorReasons(ErrorReasonsT&& value) {
227 m_errorReasonsHasBeenSet = true;
228 m_errorReasons.emplace_back(std::forward<ErrorReasonsT>(value));
229 return *this;
230 }
232
234
235 inline const Aws::String& GetRequestId() const { return m_requestId; }
236 template <typename RequestIdT = Aws::String>
237 void SetRequestId(RequestIdT&& value) {
238 m_requestIdHasBeenSet = true;
239 m_requestId = std::forward<RequestIdT>(value);
240 }
241 template <typename RequestIdT = Aws::String>
243 SetRequestId(std::forward<RequestIdT>(value));
244 return *this;
245 }
247 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
248
249 private:
250 Aws::String m_ephemerisId;
251
252 Aws::String m_satelliteId;
253
255
256 int m_priority{0};
257
258 Aws::Utils::DateTime m_creationTime{};
259
260 bool m_enabled{false};
261
262 Aws::String m_name;
263
265
266 EphemerisTypeDescription m_suppliedData;
267
269
271
272 Aws::String m_requestId;
273 Aws::Http::HttpResponseCode m_HttpResponseCode;
274 bool m_ephemerisIdHasBeenSet = false;
275 bool m_satelliteIdHasBeenSet = false;
276 bool m_statusHasBeenSet = false;
277 bool m_priorityHasBeenSet = false;
278 bool m_creationTimeHasBeenSet = false;
279 bool m_enabledHasBeenSet = false;
280 bool m_nameHasBeenSet = false;
281 bool m_tagsHasBeenSet = false;
282 bool m_suppliedDataHasBeenSet = false;
283 bool m_invalidReasonHasBeenSet = false;
284 bool m_errorReasonsHasBeenSet = false;
285 bool m_requestIdHasBeenSet = false;
286};
287
288} // namespace Model
289} // namespace GroundStation
290} // namespace Aws
DescribeEphemerisResult & WithSatelliteId(SatelliteIdT &&value)
const Aws::Vector< EphemerisErrorReason > & GetErrorReasons() const
DescribeEphemerisResult & AddTags(TagsKeyT &&key, TagsValueT &&value)
DescribeEphemerisResult & WithCreationTime(CreationTimeT &&value)
DescribeEphemerisResult & WithName(NameT &&value)
DescribeEphemerisResult & WithTags(TagsT &&value)
DescribeEphemerisResult & WithRequestId(RequestIdT &&value)
AWS_GROUNDSTATION_API DescribeEphemerisResult()=default
DescribeEphemerisResult & WithEphemerisId(EphemerisIdT &&value)
AWS_GROUNDSTATION_API DescribeEphemerisResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEphemerisResult & WithStatus(EphemerisStatus value)
DescribeEphemerisResult & WithInvalidReason(EphemerisInvalidReason value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const EphemerisTypeDescription & GetSuppliedData() const
AWS_GROUNDSTATION_API DescribeEphemerisResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeEphemerisResult & AddErrorReasons(ErrorReasonsT &&value)
DescribeEphemerisResult & WithSuppliedData(SuppliedDataT &&value)
DescribeEphemerisResult & WithErrorReasons(ErrorReasonsT &&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