AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
EphemerisMetaData.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/EphemerisSource.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace GroundStation {
22namespace Model {
23
30 public:
31 AWS_GROUNDSTATION_API EphemerisMetaData() = default;
32 AWS_GROUNDSTATION_API EphemerisMetaData(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GROUNDSTATION_API EphemerisMetaData& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline EphemerisSource GetSource() const { return m_source; }
41 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
42 inline void SetSource(EphemerisSource value) {
43 m_sourceHasBeenSet = true;
44 m_source = value;
45 }
47 SetSource(value);
48 return *this;
49 }
51
53
57 inline const Aws::String& GetEphemerisId() const { return m_ephemerisId; }
58 inline bool EphemerisIdHasBeenSet() const { return m_ephemerisIdHasBeenSet; }
59 template <typename EphemerisIdT = Aws::String>
60 void SetEphemerisId(EphemerisIdT&& value) {
61 m_ephemerisIdHasBeenSet = true;
62 m_ephemerisId = std::forward<EphemerisIdT>(value);
63 }
64 template <typename EphemerisIdT = Aws::String>
65 EphemerisMetaData& WithEphemerisId(EphemerisIdT&& value) {
66 SetEphemerisId(std::forward<EphemerisIdT>(value));
67 return *this;
68 }
70
72
76 inline const Aws::Utils::DateTime& GetEpoch() const { return m_epoch; }
77 inline bool EpochHasBeenSet() const { return m_epochHasBeenSet; }
78 template <typename EpochT = Aws::Utils::DateTime>
79 void SetEpoch(EpochT&& value) {
80 m_epochHasBeenSet = true;
81 m_epoch = std::forward<EpochT>(value);
82 }
83 template <typename EpochT = Aws::Utils::DateTime>
84 EphemerisMetaData& WithEpoch(EpochT&& value) {
85 SetEpoch(std::forward<EpochT>(value));
86 return *this;
87 }
89
91
96 inline const Aws::String& GetName() const { return m_name; }
97 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
98 template <typename NameT = Aws::String>
99 void SetName(NameT&& value) {
100 m_nameHasBeenSet = true;
101 m_name = std::forward<NameT>(value);
102 }
103 template <typename NameT = Aws::String>
104 EphemerisMetaData& WithName(NameT&& value) {
105 SetName(std::forward<NameT>(value));
106 return *this;
107 }
109 private:
111 bool m_sourceHasBeenSet = false;
112
113 Aws::String m_ephemerisId;
114 bool m_ephemerisIdHasBeenSet = false;
115
116 Aws::Utils::DateTime m_epoch{};
117 bool m_epochHasBeenSet = false;
118
119 Aws::String m_name;
120 bool m_nameHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace GroundStation
125} // namespace Aws
EphemerisMetaData & WithEpoch(EpochT &&value)
const Aws::Utils::DateTime & GetEpoch() const
AWS_GROUNDSTATION_API EphemerisMetaData(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
EphemerisMetaData & WithName(NameT &&value)
AWS_GROUNDSTATION_API EphemerisMetaData()=default
EphemerisMetaData & WithEphemerisId(EphemerisIdT &&value)
AWS_GROUNDSTATION_API EphemerisMetaData & operator=(Aws::Utils::Json::JsonView jsonValue)
EphemerisMetaData & WithSource(EphemerisSource value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue