AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
DescribeEphemerisResult.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/core/utils/memory/stl/AWSVector.h>
11#include <aws/groundstation/GroundStation_EXPORTS.h>
12#include <aws/groundstation/model/EphemerisErrorReason.h>
13#include <aws/groundstation/model/EphemerisInvalidReason.h>
14#include <aws/groundstation/model/EphemerisStatus.h>
15#include <aws/groundstation/model/EphemerisTypeDescription.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace GroundStation {
29namespace Model {
31 public:
32 AWS_GROUNDSTATION_API DescribeEphemerisResult() = default;
35
37
40 inline const Aws::String& GetEphemerisId() const { return m_ephemerisId; }
41 template <typename EphemerisIdT = Aws::String>
42 void SetEphemerisId(EphemerisIdT&& value) {
43 m_ephemerisIdHasBeenSet = true;
44 m_ephemerisId = std::forward<EphemerisIdT>(value);
45 }
46 template <typename EphemerisIdT = Aws::String>
48 SetEphemerisId(std::forward<EphemerisIdT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetSatelliteId() const { return m_satelliteId; }
58 template <typename SatelliteIdT = Aws::String>
59 void SetSatelliteId(SatelliteIdT&& value) {
60 m_satelliteIdHasBeenSet = true;
61 m_satelliteId = std::forward<SatelliteIdT>(value);
62 }
63 template <typename SatelliteIdT = Aws::String>
65 SetSatelliteId(std::forward<SatelliteIdT>(value));
66 return *this;
67 }
69
71
74 inline EphemerisStatus GetStatus() const { return m_status; }
75 inline void SetStatus(EphemerisStatus value) {
76 m_statusHasBeenSet = true;
77 m_status = value;
78 }
80 SetStatus(value);
81 return *this;
82 }
84
86
91 inline int GetPriority() const { return m_priority; }
92 inline void SetPriority(int value) {
93 m_priorityHasBeenSet = true;
94 m_priority = value;
95 }
97 SetPriority(value);
98 return *this;
99 }
101
103
106 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
107 template <typename CreationTimeT = Aws::Utils::DateTime>
108 void SetCreationTime(CreationTimeT&& value) {
109 m_creationTimeHasBeenSet = true;
110 m_creationTime = std::forward<CreationTimeT>(value);
111 }
112 template <typename CreationTimeT = Aws::Utils::DateTime>
114 SetCreationTime(std::forward<CreationTimeT>(value));
115 return *this;
116 }
118
120
123 inline bool GetEnabled() const { return m_enabled; }
124 inline void SetEnabled(bool value) {
125 m_enabledHasBeenSet = true;
126 m_enabled = value;
127 }
129 SetEnabled(value);
130 return *this;
131 }
133
135
138 inline const Aws::String& GetName() const { return m_name; }
139 template <typename NameT = Aws::String>
140 void SetName(NameT&& value) {
141 m_nameHasBeenSet = true;
142 m_name = std::forward<NameT>(value);
143 }
144 template <typename NameT = Aws::String>
146 SetName(std::forward<NameT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
156 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
157 void SetTags(TagsT&& value) {
158 m_tagsHasBeenSet = true;
159 m_tags = std::forward<TagsT>(value);
160 }
161 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
163 SetTags(std::forward<TagsT>(value));
164 return *this;
165 }
166 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
167 DescribeEphemerisResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
168 m_tagsHasBeenSet = true;
169 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
170 return *this;
171 }
173
175
178 inline const EphemerisTypeDescription& GetSuppliedData() const { return m_suppliedData; }
179 template <typename SuppliedDataT = EphemerisTypeDescription>
180 void SetSuppliedData(SuppliedDataT&& value) {
181 m_suppliedDataHasBeenSet = true;
182 m_suppliedData = std::forward<SuppliedDataT>(value);
183 }
184 template <typename SuppliedDataT = EphemerisTypeDescription>
186 SetSuppliedData(std::forward<SuppliedDataT>(value));
187 return *this;
188 }
190
192
196 inline EphemerisInvalidReason GetInvalidReason() const { return m_invalidReason; }
198 m_invalidReasonHasBeenSet = true;
199 m_invalidReason = value;
200 }
202 SetInvalidReason(value);
203 return *this;
204 }
206
208
213 inline const Aws::Vector<EphemerisErrorReason>& GetErrorReasons() const { return m_errorReasons; }
214 template <typename ErrorReasonsT = Aws::Vector<EphemerisErrorReason>>
215 void SetErrorReasons(ErrorReasonsT&& value) {
216 m_errorReasonsHasBeenSet = true;
217 m_errorReasons = std::forward<ErrorReasonsT>(value);
218 }
219 template <typename ErrorReasonsT = Aws::Vector<EphemerisErrorReason>>
221 SetErrorReasons(std::forward<ErrorReasonsT>(value));
222 return *this;
223 }
224 template <typename ErrorReasonsT = EphemerisErrorReason>
225 DescribeEphemerisResult& AddErrorReasons(ErrorReasonsT&& value) {
226 m_errorReasonsHasBeenSet = true;
227 m_errorReasons.emplace_back(std::forward<ErrorReasonsT>(value));
228 return *this;
229 }
231
233
234 inline const Aws::String& GetRequestId() const { return m_requestId; }
235 template <typename RequestIdT = Aws::String>
236 void SetRequestId(RequestIdT&& value) {
237 m_requestIdHasBeenSet = true;
238 m_requestId = std::forward<RequestIdT>(value);
239 }
240 template <typename RequestIdT = Aws::String>
242 SetRequestId(std::forward<RequestIdT>(value));
243 return *this;
244 }
246 private:
247 Aws::String m_ephemerisId;
248 bool m_ephemerisIdHasBeenSet = false;
249
250 Aws::String m_satelliteId;
251 bool m_satelliteIdHasBeenSet = false;
252
254 bool m_statusHasBeenSet = false;
255
256 int m_priority{0};
257 bool m_priorityHasBeenSet = false;
258
259 Aws::Utils::DateTime m_creationTime{};
260 bool m_creationTimeHasBeenSet = false;
261
262 bool m_enabled{false};
263 bool m_enabledHasBeenSet = false;
264
265 Aws::String m_name;
266 bool m_nameHasBeenSet = false;
267
269 bool m_tagsHasBeenSet = false;
270
271 EphemerisTypeDescription m_suppliedData;
272 bool m_suppliedDataHasBeenSet = false;
273
275 bool m_invalidReasonHasBeenSet = false;
276
278 bool m_errorReasonsHasBeenSet = false;
279
280 Aws::String m_requestId;
281 bool m_requestIdHasBeenSet = false;
282};
283
284} // namespace Model
285} // namespace GroundStation
286} // 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