AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
AzElSegments.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/AngleUnits.h>
10#include <aws/groundstation/model/AzElSegment.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
32 public:
33 AWS_GROUNDSTATION_API AzElSegments() = default;
34 AWS_GROUNDSTATION_API AzElSegments(Aws::Utils::Json::JsonView jsonValue);
35 AWS_GROUNDSTATION_API AzElSegments& operator=(Aws::Utils::Json::JsonView jsonValue);
36 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline AngleUnits GetAngleUnit() const { return m_angleUnit; }
44 inline bool AngleUnitHasBeenSet() const { return m_angleUnitHasBeenSet; }
45 inline void SetAngleUnit(AngleUnits value) {
46 m_angleUnitHasBeenSet = true;
47 m_angleUnit = value;
48 }
50 SetAngleUnit(value);
51 return *this;
52 }
54
56
60 inline const Aws::Vector<AzElSegment>& GetAzElSegmentList() const { return m_azElSegmentList; }
61 inline bool AzElSegmentListHasBeenSet() const { return m_azElSegmentListHasBeenSet; }
62 template <typename AzElSegmentListT = Aws::Vector<AzElSegment>>
63 void SetAzElSegmentList(AzElSegmentListT&& value) {
64 m_azElSegmentListHasBeenSet = true;
65 m_azElSegmentList = std::forward<AzElSegmentListT>(value);
66 }
67 template <typename AzElSegmentListT = Aws::Vector<AzElSegment>>
68 AzElSegments& WithAzElSegmentList(AzElSegmentListT&& value) {
69 SetAzElSegmentList(std::forward<AzElSegmentListT>(value));
70 return *this;
71 }
72 template <typename AzElSegmentListT = AzElSegment>
73 AzElSegments& AddAzElSegmentList(AzElSegmentListT&& value) {
74 m_azElSegmentListHasBeenSet = true;
75 m_azElSegmentList.emplace_back(std::forward<AzElSegmentListT>(value));
76 return *this;
77 }
79 private:
81
82 Aws::Vector<AzElSegment> m_azElSegmentList;
83 bool m_angleUnitHasBeenSet = false;
84 bool m_azElSegmentListHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace GroundStation
89} // namespace Aws
AzElSegments & WithAzElSegmentList(AzElSegmentListT &&value)
AWS_GROUNDSTATION_API AzElSegments & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_GROUNDSTATION_API AzElSegments()=default
const Aws::Vector< AzElSegment > & GetAzElSegmentList() const
void SetAzElSegmentList(AzElSegmentListT &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
AzElSegments & AddAzElSegmentList(AzElSegmentListT &&value)
AWS_GROUNDSTATION_API AzElSegments(Aws::Utils::Json::JsonView jsonValue)
AzElSegments & WithAngleUnit(AngleUnits value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue