AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DescribeEphemerisResult.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/groundstation/model/EphemerisInvalidReason.h>
11#include <aws/groundstation/model/EphemerisStatus.h>
12#include <aws/groundstation/model/EphemerisTypeDescription.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace GroundStation
29{
30namespace Model
31{
33 {
34 public:
35 AWS_GROUNDSTATION_API DescribeEphemerisResult() = default;
38
39
41
44 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
45 template<typename CreationTimeT = Aws::Utils::DateTime>
46 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
47 template<typename CreationTimeT = Aws::Utils::DateTime>
48 DescribeEphemerisResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
50
52
55 inline bool GetEnabled() const { return m_enabled; }
56 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
57 inline DescribeEphemerisResult& WithEnabled(bool value) { SetEnabled(value); return *this;}
59
61
64 inline const Aws::String& GetEphemerisId() const { return m_ephemerisId; }
65 template<typename EphemerisIdT = Aws::String>
66 void SetEphemerisId(EphemerisIdT&& value) { m_ephemerisIdHasBeenSet = true; m_ephemerisId = std::forward<EphemerisIdT>(value); }
67 template<typename EphemerisIdT = Aws::String>
68 DescribeEphemerisResult& WithEphemerisId(EphemerisIdT&& value) { SetEphemerisId(std::forward<EphemerisIdT>(value)); return *this;}
70
72
76 inline EphemerisInvalidReason GetInvalidReason() const { return m_invalidReason; }
77 inline void SetInvalidReason(EphemerisInvalidReason value) { m_invalidReasonHasBeenSet = true; m_invalidReason = value; }
80
82
86 inline const Aws::String& GetName() const { return m_name; }
87 template<typename NameT = Aws::String>
88 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
89 template<typename NameT = Aws::String>
90 DescribeEphemerisResult& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
92
94
100 inline int GetPriority() const { return m_priority; }
101 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
102 inline DescribeEphemerisResult& WithPriority(int value) { SetPriority(value); return *this;}
104
106
109 inline const Aws::String& GetSatelliteId() const { return m_satelliteId; }
110 template<typename SatelliteIdT = Aws::String>
111 void SetSatelliteId(SatelliteIdT&& value) { m_satelliteIdHasBeenSet = true; m_satelliteId = std::forward<SatelliteIdT>(value); }
112 template<typename SatelliteIdT = Aws::String>
113 DescribeEphemerisResult& WithSatelliteId(SatelliteIdT&& value) { SetSatelliteId(std::forward<SatelliteIdT>(value)); return *this;}
115
117
120 inline EphemerisStatus GetStatus() const { return m_status; }
121 inline void SetStatus(EphemerisStatus value) { m_statusHasBeenSet = true; m_status = value; }
122 inline DescribeEphemerisResult& WithStatus(EphemerisStatus value) { SetStatus(value); return *this;}
124
126
129 inline const EphemerisTypeDescription& GetSuppliedData() const { return m_suppliedData; }
130 template<typename SuppliedDataT = EphemerisTypeDescription>
131 void SetSuppliedData(SuppliedDataT&& value) { m_suppliedDataHasBeenSet = true; m_suppliedData = std::forward<SuppliedDataT>(value); }
132 template<typename SuppliedDataT = EphemerisTypeDescription>
133 DescribeEphemerisResult& WithSuppliedData(SuppliedDataT&& value) { SetSuppliedData(std::forward<SuppliedDataT>(value)); return *this;}
135
137
140 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
141 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
142 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
143 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
144 DescribeEphemerisResult& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
145 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
146 DescribeEphemerisResult& AddTags(TagsKeyT&& key, TagsValueT&& value) {
147 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
148 }
150
152
153 inline const Aws::String& GetRequestId() const { return m_requestId; }
154 template<typename RequestIdT = Aws::String>
155 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
156 template<typename RequestIdT = Aws::String>
157 DescribeEphemerisResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
159 private:
160
161 Aws::Utils::DateTime m_creationTime{};
162 bool m_creationTimeHasBeenSet = false;
163
164 bool m_enabled{false};
165 bool m_enabledHasBeenSet = false;
166
167 Aws::String m_ephemerisId;
168 bool m_ephemerisIdHasBeenSet = false;
169
171 bool m_invalidReasonHasBeenSet = false;
172
173 Aws::String m_name;
174 bool m_nameHasBeenSet = false;
175
176 int m_priority{0};
177 bool m_priorityHasBeenSet = false;
178
179 Aws::String m_satelliteId;
180 bool m_satelliteIdHasBeenSet = false;
181
183 bool m_statusHasBeenSet = false;
184
185 EphemerisTypeDescription m_suppliedData;
186 bool m_suppliedDataHasBeenSet = false;
187
189 bool m_tagsHasBeenSet = false;
190
191 Aws::String m_requestId;
192 bool m_requestIdHasBeenSet = false;
193 };
194
195} // namespace Model
196} // namespace GroundStation
197} // namespace Aws
DescribeEphemerisResult & WithSatelliteId(SatelliteIdT &&value)
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 & WithSuppliedData(SuppliedDataT &&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
Aws::Utils::Json::JsonValue JsonValue