AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EphemerisItem.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/groundstation/model/S3Object.h>
11#include <aws/groundstation/model/EphemerisStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace GroundStation
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_GROUNDSTATION_API EphemerisItem() = default;
38 AWS_GROUNDSTATION_API EphemerisItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_GROUNDSTATION_API EphemerisItem& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
48 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
49 template<typename CreationTimeT = Aws::Utils::DateTime>
50 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
51 template<typename CreationTimeT = Aws::Utils::DateTime>
52 EphemerisItem& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
54
56
59 inline bool GetEnabled() const { return m_enabled; }
60 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
61 inline void SetEnabled(bool value) { m_enabledHasBeenSet = true; m_enabled = value; }
62 inline EphemerisItem& WithEnabled(bool value) { SetEnabled(value); return *this;}
64
66
69 inline const Aws::String& GetEphemerisId() const { return m_ephemerisId; }
70 inline bool EphemerisIdHasBeenSet() const { return m_ephemerisIdHasBeenSet; }
71 template<typename EphemerisIdT = Aws::String>
72 void SetEphemerisId(EphemerisIdT&& value) { m_ephemerisIdHasBeenSet = true; m_ephemerisId = std::forward<EphemerisIdT>(value); }
73 template<typename EphemerisIdT = Aws::String>
74 EphemerisItem& WithEphemerisId(EphemerisIdT&& value) { SetEphemerisId(std::forward<EphemerisIdT>(value)); return *this;}
76
78
82 inline const Aws::String& GetName() const { return m_name; }
83 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
84 template<typename NameT = Aws::String>
85 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
86 template<typename NameT = Aws::String>
87 EphemerisItem& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
89
91
97 inline int GetPriority() const { return m_priority; }
98 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
99 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
100 inline EphemerisItem& WithPriority(int value) { SetPriority(value); return *this;}
102
104
107 inline const S3Object& GetSourceS3Object() const { return m_sourceS3Object; }
108 inline bool SourceS3ObjectHasBeenSet() const { return m_sourceS3ObjectHasBeenSet; }
109 template<typename SourceS3ObjectT = S3Object>
110 void SetSourceS3Object(SourceS3ObjectT&& value) { m_sourceS3ObjectHasBeenSet = true; m_sourceS3Object = std::forward<SourceS3ObjectT>(value); }
111 template<typename SourceS3ObjectT = S3Object>
112 EphemerisItem& WithSourceS3Object(SourceS3ObjectT&& value) { SetSourceS3Object(std::forward<SourceS3ObjectT>(value)); return *this;}
114
116
119 inline EphemerisStatus GetStatus() const { return m_status; }
120 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
121 inline void SetStatus(EphemerisStatus value) { m_statusHasBeenSet = true; m_status = value; }
122 inline EphemerisItem& WithStatus(EphemerisStatus value) { SetStatus(value); return *this;}
124 private:
125
126 Aws::Utils::DateTime m_creationTime{};
127 bool m_creationTimeHasBeenSet = false;
128
129 bool m_enabled{false};
130 bool m_enabledHasBeenSet = false;
131
132 Aws::String m_ephemerisId;
133 bool m_ephemerisIdHasBeenSet = false;
134
135 Aws::String m_name;
136 bool m_nameHasBeenSet = false;
137
138 int m_priority{0};
139 bool m_priorityHasBeenSet = false;
140
141 S3Object m_sourceS3Object;
142 bool m_sourceS3ObjectHasBeenSet = false;
143
145 bool m_statusHasBeenSet = false;
146 };
147
148} // namespace Model
149} // namespace GroundStation
150} // namespace Aws
void SetCreationTime(CreationTimeT &&value)
EphemerisItem & WithCreationTime(CreationTimeT &&value)
AWS_GROUNDSTATION_API EphemerisItem()=default
EphemerisItem & WithName(NameT &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GROUNDSTATION_API EphemerisItem(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetName() const
EphemerisItem & WithSourceS3Object(SourceS3ObjectT &&value)
void SetStatus(EphemerisStatus value)
void SetSourceS3Object(SourceS3ObjectT &&value)
EphemerisItem & WithStatus(EphemerisStatus value)
EphemerisItem & WithPriority(int value)
const Aws::String & GetEphemerisId() const
AWS_GROUNDSTATION_API EphemerisItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3Object & GetSourceS3Object() const
const Aws::Utils::DateTime & GetCreationTime() const
EphemerisItem & WithEphemerisId(EphemerisIdT &&value)
EphemerisItem & WithEnabled(bool value)
void SetEphemerisId(EphemerisIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue