AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
EphemerisItem.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/groundstation/GroundStation_EXPORTS.h>
10#include <aws/groundstation/model/EphemerisStatus.h>
11#include <aws/groundstation/model/EphemerisType.h>
12#include <aws/groundstation/model/S3Object.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GroundStation {
24namespace Model {
25
32 public:
33 AWS_GROUNDSTATION_API EphemerisItem() = default;
34 AWS_GROUNDSTATION_API EphemerisItem(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GROUNDSTATION_API EphemerisItem& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const Aws::String& GetEphemerisId() const { return m_ephemerisId; }
43 inline bool EphemerisIdHasBeenSet() const { return m_ephemerisIdHasBeenSet; }
44 template <typename EphemerisIdT = Aws::String>
45 void SetEphemerisId(EphemerisIdT&& value) {
46 m_ephemerisIdHasBeenSet = true;
47 m_ephemerisId = std::forward<EphemerisIdT>(value);
48 }
49 template <typename EphemerisIdT = Aws::String>
50 EphemerisItem& WithEphemerisId(EphemerisIdT&& value) {
51 SetEphemerisId(std::forward<EphemerisIdT>(value));
52 return *this;
53 }
55
57
60 inline EphemerisType GetEphemerisType() const { return m_ephemerisType; }
61 inline bool EphemerisTypeHasBeenSet() const { return m_ephemerisTypeHasBeenSet; }
62 inline void SetEphemerisType(EphemerisType value) {
63 m_ephemerisTypeHasBeenSet = true;
64 m_ephemerisType = value;
65 }
67 SetEphemerisType(value);
68 return *this;
69 }
71
73
76 inline EphemerisStatus GetStatus() const { return m_status; }
77 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
78 inline void SetStatus(EphemerisStatus value) {
79 m_statusHasBeenSet = true;
80 m_status = value;
81 }
83 SetStatus(value);
84 return *this;
85 }
87
89
94 inline int GetPriority() const { return m_priority; }
95 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
96 inline void SetPriority(int value) {
97 m_priorityHasBeenSet = true;
98 m_priority = value;
99 }
100 inline EphemerisItem& WithPriority(int value) {
101 SetPriority(value);
102 return *this;
103 }
105
107
110 inline bool GetEnabled() const { return m_enabled; }
111 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
112 inline void SetEnabled(bool value) {
113 m_enabledHasBeenSet = true;
114 m_enabled = value;
115 }
116 inline EphemerisItem& WithEnabled(bool value) {
117 SetEnabled(value);
118 return *this;
119 }
121
123
126 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
127 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
128 template <typename CreationTimeT = Aws::Utils::DateTime>
129 void SetCreationTime(CreationTimeT&& value) {
130 m_creationTimeHasBeenSet = true;
131 m_creationTime = std::forward<CreationTimeT>(value);
132 }
133 template <typename CreationTimeT = Aws::Utils::DateTime>
134 EphemerisItem& WithCreationTime(CreationTimeT&& value) {
135 SetCreationTime(std::forward<CreationTimeT>(value));
136 return *this;
137 }
139
141
144 inline const Aws::String& GetName() const { return m_name; }
145 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
146 template <typename NameT = Aws::String>
147 void SetName(NameT&& value) {
148 m_nameHasBeenSet = true;
149 m_name = std::forward<NameT>(value);
150 }
151 template <typename NameT = Aws::String>
152 EphemerisItem& WithName(NameT&& value) {
153 SetName(std::forward<NameT>(value));
154 return *this;
155 }
157
159
162 inline const S3Object& GetSourceS3Object() const { return m_sourceS3Object; }
163 inline bool SourceS3ObjectHasBeenSet() const { return m_sourceS3ObjectHasBeenSet; }
164 template <typename SourceS3ObjectT = S3Object>
165 void SetSourceS3Object(SourceS3ObjectT&& value) {
166 m_sourceS3ObjectHasBeenSet = true;
167 m_sourceS3Object = std::forward<SourceS3ObjectT>(value);
168 }
169 template <typename SourceS3ObjectT = S3Object>
170 EphemerisItem& WithSourceS3Object(SourceS3ObjectT&& value) {
171 SetSourceS3Object(std::forward<SourceS3ObjectT>(value));
172 return *this;
173 }
175 private:
176 Aws::String m_ephemerisId;
177 bool m_ephemerisIdHasBeenSet = false;
178
179 EphemerisType m_ephemerisType{EphemerisType::NOT_SET};
180 bool m_ephemerisTypeHasBeenSet = false;
181
183 bool m_statusHasBeenSet = false;
184
185 int m_priority{0};
186 bool m_priorityHasBeenSet = false;
187
188 bool m_enabled{false};
189 bool m_enabledHasBeenSet = false;
190
191 Aws::Utils::DateTime m_creationTime{};
192 bool m_creationTimeHasBeenSet = false;
193
194 Aws::String m_name;
195 bool m_nameHasBeenSet = false;
196
197 S3Object m_sourceS3Object;
198 bool m_sourceS3ObjectHasBeenSet = false;
199};
200
201} // namespace Model
202} // namespace GroundStation
203} // namespace Aws
void SetCreationTime(CreationTimeT &&value)
EphemerisItem & WithCreationTime(CreationTimeT &&value)
AWS_GROUNDSTATION_API EphemerisItem()=default
EphemerisItem & WithName(NameT &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetEphemerisType(EphemerisType value)
AWS_GROUNDSTATION_API EphemerisItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
EphemerisItem & WithSourceS3Object(SourceS3ObjectT &&value)
EphemerisItem & WithEphemerisType(EphemerisType value)
void SetStatus(EphemerisStatus value)
void SetSourceS3Object(SourceS3ObjectT &&value)
EphemerisItem & WithStatus(EphemerisStatus value)
EphemerisItem & WithPriority(int value)
const Aws::String & GetEphemerisId() const
AWS_GROUNDSTATION_API EphemerisItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3Object & GetSourceS3Object() const
const Aws::Utils::DateTime & GetCreationTime() const
EphemerisItem & WithEphemerisId(EphemerisIdT &&value)
EphemerisItem & WithEnabled(bool value)
void SetEphemerisId(EphemerisIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue