AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
SatelliteListItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/groundstation/GroundStation_EXPORTS.h>
10#include <aws/groundstation/model/EphemerisMetaData.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 SatelliteListItem() = default;
32 AWS_GROUNDSTATION_API SatelliteListItem(Aws::Utils::Json::JsonView jsonValue);
33 AWS_GROUNDSTATION_API SatelliteListItem& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetSatelliteId() const { return m_satelliteId; }
41 inline bool SatelliteIdHasBeenSet() const { return m_satelliteIdHasBeenSet; }
42 template <typename SatelliteIdT = Aws::String>
43 void SetSatelliteId(SatelliteIdT&& value) {
44 m_satelliteIdHasBeenSet = true;
45 m_satelliteId = std::forward<SatelliteIdT>(value);
46 }
47 template <typename SatelliteIdT = Aws::String>
48 SatelliteListItem& WithSatelliteId(SatelliteIdT&& value) {
49 SetSatelliteId(std::forward<SatelliteIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetSatelliteArn() const { return m_satelliteArn; }
59 inline bool SatelliteArnHasBeenSet() const { return m_satelliteArnHasBeenSet; }
60 template <typename SatelliteArnT = Aws::String>
61 void SetSatelliteArn(SatelliteArnT&& value) {
62 m_satelliteArnHasBeenSet = true;
63 m_satelliteArn = std::forward<SatelliteArnT>(value);
64 }
65 template <typename SatelliteArnT = Aws::String>
66 SatelliteListItem& WithSatelliteArn(SatelliteArnT&& value) {
67 SetSatelliteArn(std::forward<SatelliteArnT>(value));
68 return *this;
69 }
71
73
76 inline int GetNoradSatelliteID() const { return m_noradSatelliteID; }
77 inline bool NoradSatelliteIDHasBeenSet() const { return m_noradSatelliteIDHasBeenSet; }
78 inline void SetNoradSatelliteID(int value) {
79 m_noradSatelliteIDHasBeenSet = true;
80 m_noradSatelliteID = value;
81 }
84 return *this;
85 }
87
89
92 inline const Aws::Vector<Aws::String>& GetGroundStations() const { return m_groundStations; }
93 inline bool GroundStationsHasBeenSet() const { return m_groundStationsHasBeenSet; }
94 template <typename GroundStationsT = Aws::Vector<Aws::String>>
95 void SetGroundStations(GroundStationsT&& value) {
96 m_groundStationsHasBeenSet = true;
97 m_groundStations = std::forward<GroundStationsT>(value);
98 }
99 template <typename GroundStationsT = Aws::Vector<Aws::String>>
100 SatelliteListItem& WithGroundStations(GroundStationsT&& value) {
101 SetGroundStations(std::forward<GroundStationsT>(value));
102 return *this;
103 }
104 template <typename GroundStationsT = Aws::String>
105 SatelliteListItem& AddGroundStations(GroundStationsT&& value) {
106 m_groundStationsHasBeenSet = true;
107 m_groundStations.emplace_back(std::forward<GroundStationsT>(value));
108 return *this;
109 }
111
113
117 inline const EphemerisMetaData& GetCurrentEphemeris() const { return m_currentEphemeris; }
118 inline bool CurrentEphemerisHasBeenSet() const { return m_currentEphemerisHasBeenSet; }
119 template <typename CurrentEphemerisT = EphemerisMetaData>
120 void SetCurrentEphemeris(CurrentEphemerisT&& value) {
121 m_currentEphemerisHasBeenSet = true;
122 m_currentEphemeris = std::forward<CurrentEphemerisT>(value);
123 }
124 template <typename CurrentEphemerisT = EphemerisMetaData>
125 SatelliteListItem& WithCurrentEphemeris(CurrentEphemerisT&& value) {
126 SetCurrentEphemeris(std::forward<CurrentEphemerisT>(value));
127 return *this;
128 }
130 private:
131 Aws::String m_satelliteId;
132 bool m_satelliteIdHasBeenSet = false;
133
134 Aws::String m_satelliteArn;
135 bool m_satelliteArnHasBeenSet = false;
136
137 int m_noradSatelliteID{0};
138 bool m_noradSatelliteIDHasBeenSet = false;
139
140 Aws::Vector<Aws::String> m_groundStations;
141 bool m_groundStationsHasBeenSet = false;
142
143 EphemerisMetaData m_currentEphemeris;
144 bool m_currentEphemerisHasBeenSet = false;
145};
146
147} // namespace Model
148} // namespace GroundStation
149} // namespace Aws
AWS_GROUNDSTATION_API SatelliteListItem()=default
SatelliteListItem & AddGroundStations(GroundStationsT &&value)
AWS_GROUNDSTATION_API SatelliteListItem & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCurrentEphemeris(CurrentEphemerisT &&value)
const EphemerisMetaData & GetCurrentEphemeris() const
AWS_GROUNDSTATION_API SatelliteListItem(Aws::Utils::Json::JsonView jsonValue)
void SetGroundStations(GroundStationsT &&value)
SatelliteListItem & WithSatelliteId(SatelliteIdT &&value)
SatelliteListItem & WithSatelliteArn(SatelliteArnT &&value)
const Aws::Vector< Aws::String > & GetGroundStations() const
SatelliteListItem & WithCurrentEphemeris(CurrentEphemerisT &&value)
SatelliteListItem & WithNoradSatelliteID(int value)
SatelliteListItem & WithGroundStations(GroundStationsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue