AWS SDK for C++

AWS SDK for C++ Version 1.11.741

Loading...
Searching...
No Matches
AzElSegment.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/groundstation/GroundStation_EXPORTS.h>
10#include <aws/groundstation/model/ISO8601TimeRange.h>
11#include <aws/groundstation/model/TimeAzEl.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace GroundStation {
23namespace Model {
24
35 public:
36 AWS_GROUNDSTATION_API AzElSegment() = default;
37 AWS_GROUNDSTATION_API AzElSegment(Aws::Utils::Json::JsonView jsonValue);
38 AWS_GROUNDSTATION_API AzElSegment& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
48 inline const Aws::Utils::DateTime& GetReferenceEpoch() const { return m_referenceEpoch; }
49 inline bool ReferenceEpochHasBeenSet() const { return m_referenceEpochHasBeenSet; }
50 template <typename ReferenceEpochT = Aws::Utils::DateTime>
51 void SetReferenceEpoch(ReferenceEpochT&& value) {
52 m_referenceEpochHasBeenSet = true;
53 m_referenceEpoch = std::forward<ReferenceEpochT>(value);
54 }
55 template <typename ReferenceEpochT = Aws::Utils::DateTime>
56 AzElSegment& WithReferenceEpoch(ReferenceEpochT&& value) {
57 SetReferenceEpoch(std::forward<ReferenceEpochT>(value));
58 return *this;
59 }
61
63
68 inline const ISO8601TimeRange& GetValidTimeRange() const { return m_validTimeRange; }
69 inline bool ValidTimeRangeHasBeenSet() const { return m_validTimeRangeHasBeenSet; }
70 template <typename ValidTimeRangeT = ISO8601TimeRange>
71 void SetValidTimeRange(ValidTimeRangeT&& value) {
72 m_validTimeRangeHasBeenSet = true;
73 m_validTimeRange = std::forward<ValidTimeRangeT>(value);
74 }
75 template <typename ValidTimeRangeT = ISO8601TimeRange>
76 AzElSegment& WithValidTimeRange(ValidTimeRangeT&& value) {
77 SetValidTimeRange(std::forward<ValidTimeRangeT>(value));
78 return *this;
79 }
81
83
88 inline const Aws::Vector<TimeAzEl>& GetAzElList() const { return m_azElList; }
89 inline bool AzElListHasBeenSet() const { return m_azElListHasBeenSet; }
90 template <typename AzElListT = Aws::Vector<TimeAzEl>>
91 void SetAzElList(AzElListT&& value) {
92 m_azElListHasBeenSet = true;
93 m_azElList = std::forward<AzElListT>(value);
94 }
95 template <typename AzElListT = Aws::Vector<TimeAzEl>>
96 AzElSegment& WithAzElList(AzElListT&& value) {
97 SetAzElList(std::forward<AzElListT>(value));
98 return *this;
99 }
100 template <typename AzElListT = TimeAzEl>
101 AzElSegment& AddAzElList(AzElListT&& value) {
102 m_azElListHasBeenSet = true;
103 m_azElList.emplace_back(std::forward<AzElListT>(value));
104 return *this;
105 }
107 private:
108 Aws::Utils::DateTime m_referenceEpoch{};
109
110 ISO8601TimeRange m_validTimeRange;
111
112 Aws::Vector<TimeAzEl> m_azElList;
113 bool m_referenceEpochHasBeenSet = false;
114 bool m_validTimeRangeHasBeenSet = false;
115 bool m_azElListHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace GroundStation
120} // namespace Aws
AWS_GROUNDSTATION_API AzElSegment()=default
AWS_GROUNDSTATION_API AzElSegment(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TimeAzEl > & GetAzElList() const
Definition AzElSegment.h:88
AWS_GROUNDSTATION_API AzElSegment & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
const ISO8601TimeRange & GetValidTimeRange() const
Definition AzElSegment.h:68
void SetReferenceEpoch(ReferenceEpochT &&value)
Definition AzElSegment.h:51
void SetAzElList(AzElListT &&value)
Definition AzElSegment.h:91
AzElSegment & WithReferenceEpoch(ReferenceEpochT &&value)
Definition AzElSegment.h:56
AzElSegment & WithAzElList(AzElListT &&value)
Definition AzElSegment.h:96
void SetValidTimeRange(ValidTimeRangeT &&value)
Definition AzElSegment.h:71
AzElSegment & WithValidTimeRange(ValidTimeRangeT &&value)
Definition AzElSegment.h:76
const Aws::Utils::DateTime & GetReferenceEpoch() const
Definition AzElSegment.h:48
AzElSegment & AddAzElList(AzElListT &&value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue