AWS SDK for C++

AWS SDK for C++ Version 1.11.684

Loading...
Searching...
No Matches
TLEEphemeris.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/groundstation/GroundStation_EXPORTS.h>
9#include <aws/groundstation/model/S3Object.h>
10#include <aws/groundstation/model/TLEData.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
33 public:
34 AWS_GROUNDSTATION_API TLEEphemeris() = default;
35 AWS_GROUNDSTATION_API TLEEphemeris(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GROUNDSTATION_API TLEEphemeris& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const S3Object& GetS3Object() const { return m_s3Object; }
44 inline bool S3ObjectHasBeenSet() const { return m_s3ObjectHasBeenSet; }
45 template <typename S3ObjectT = S3Object>
46 void SetS3Object(S3ObjectT&& value) {
47 m_s3ObjectHasBeenSet = true;
48 m_s3Object = std::forward<S3ObjectT>(value);
49 }
50 template <typename S3ObjectT = S3Object>
51 TLEEphemeris& WithS3Object(S3ObjectT&& value) {
52 SetS3Object(std::forward<S3ObjectT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::Vector<TLEData>& GetTleData() const { return m_tleData; }
62 inline bool TleDataHasBeenSet() const { return m_tleDataHasBeenSet; }
63 template <typename TleDataT = Aws::Vector<TLEData>>
64 void SetTleData(TleDataT&& value) {
65 m_tleDataHasBeenSet = true;
66 m_tleData = std::forward<TleDataT>(value);
67 }
68 template <typename TleDataT = Aws::Vector<TLEData>>
69 TLEEphemeris& WithTleData(TleDataT&& value) {
70 SetTleData(std::forward<TleDataT>(value));
71 return *this;
72 }
73 template <typename TleDataT = TLEData>
74 TLEEphemeris& AddTleData(TleDataT&& value) {
75 m_tleDataHasBeenSet = true;
76 m_tleData.emplace_back(std::forward<TleDataT>(value));
77 return *this;
78 }
80 private:
81 S3Object m_s3Object;
82 bool m_s3ObjectHasBeenSet = false;
83
84 Aws::Vector<TLEData> m_tleData;
85 bool m_tleDataHasBeenSet = false;
86};
87
88} // namespace Model
89} // namespace GroundStation
90} // namespace Aws
AWS_GROUNDSTATION_API TLEEphemeris & operator=(Aws::Utils::Json::JsonView jsonValue)
TLEEphemeris & AddTleData(TleDataT &&value)
TLEEphemeris & WithS3Object(S3ObjectT &&value)
AWS_GROUNDSTATION_API TLEEphemeris()=default
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< TLEData > & GetTleData() const
const S3Object & GetS3Object() const
AWS_GROUNDSTATION_API TLEEphemeris(Aws::Utils::Json::JsonView jsonValue)
void SetS3Object(S3ObjectT &&value)
TLEEphemeris & WithTleData(TleDataT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue