AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EphemerisMetaData.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/groundstation/model/EphemerisSource.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace GroundStation
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_GROUNDSTATION_API EphemerisMetaData() = default;
37 AWS_GROUNDSTATION_API EphemerisMetaData(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API EphemerisMetaData& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetEphemerisId() const { return m_ephemerisId; }
48 inline bool EphemerisIdHasBeenSet() const { return m_ephemerisIdHasBeenSet; }
49 template<typename EphemerisIdT = Aws::String>
50 void SetEphemerisId(EphemerisIdT&& value) { m_ephemerisIdHasBeenSet = true; m_ephemerisId = std::forward<EphemerisIdT>(value); }
51 template<typename EphemerisIdT = Aws::String>
52 EphemerisMetaData& WithEphemerisId(EphemerisIdT&& value) { SetEphemerisId(std::forward<EphemerisIdT>(value)); return *this;}
54
56
60 inline const Aws::Utils::DateTime& GetEpoch() const { return m_epoch; }
61 inline bool EpochHasBeenSet() const { return m_epochHasBeenSet; }
62 template<typename EpochT = Aws::Utils::DateTime>
63 void SetEpoch(EpochT&& value) { m_epochHasBeenSet = true; m_epoch = std::forward<EpochT>(value); }
64 template<typename EpochT = Aws::Utils::DateTime>
65 EphemerisMetaData& WithEpoch(EpochT&& value) { SetEpoch(std::forward<EpochT>(value)); return *this;}
67
69
74 inline const Aws::String& GetName() const { return m_name; }
75 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
76 template<typename NameT = Aws::String>
77 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
78 template<typename NameT = Aws::String>
79 EphemerisMetaData& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
81
83
86 inline EphemerisSource GetSource() const { return m_source; }
87 inline bool SourceHasBeenSet() const { return m_sourceHasBeenSet; }
88 inline void SetSource(EphemerisSource value) { m_sourceHasBeenSet = true; m_source = value; }
89 inline EphemerisMetaData& WithSource(EphemerisSource value) { SetSource(value); return *this;}
91 private:
92
93 Aws::String m_ephemerisId;
94 bool m_ephemerisIdHasBeenSet = false;
95
96 Aws::Utils::DateTime m_epoch{};
97 bool m_epochHasBeenSet = false;
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
103 bool m_sourceHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace GroundStation
108} // 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