AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
50 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
51 inline EphemerisItem& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;}
52 inline EphemerisItem& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(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 inline void SetEphemerisId(const Aws::String& value) { m_ephemerisIdHasBeenSet = true; m_ephemerisId = value; }
72 inline void SetEphemerisId(Aws::String&& value) { m_ephemerisIdHasBeenSet = true; m_ephemerisId = std::move(value); }
73 inline void SetEphemerisId(const char* value) { m_ephemerisIdHasBeenSet = true; m_ephemerisId.assign(value); }
74 inline EphemerisItem& WithEphemerisId(const Aws::String& value) { SetEphemerisId(value); return *this;}
75 inline EphemerisItem& WithEphemerisId(Aws::String&& value) { SetEphemerisId(std::move(value)); return *this;}
76 inline EphemerisItem& WithEphemerisId(const char* value) { SetEphemerisId(value); return *this;}
78
80
84 inline const Aws::String& GetName() const{ return m_name; }
85 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
86 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
87 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
88 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
89 inline EphemerisItem& WithName(const Aws::String& value) { SetName(value); return *this;}
90 inline EphemerisItem& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
91 inline EphemerisItem& WithName(const char* value) { SetName(value); return *this;}
93
95
101 inline int GetPriority() const{ return m_priority; }
102 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
103 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
104 inline EphemerisItem& WithPriority(int value) { SetPriority(value); return *this;}
106
108
111 inline const S3Object& GetSourceS3Object() const{ return m_sourceS3Object; }
112 inline bool SourceS3ObjectHasBeenSet() const { return m_sourceS3ObjectHasBeenSet; }
113 inline void SetSourceS3Object(const S3Object& value) { m_sourceS3ObjectHasBeenSet = true; m_sourceS3Object = value; }
114 inline void SetSourceS3Object(S3Object&& value) { m_sourceS3ObjectHasBeenSet = true; m_sourceS3Object = std::move(value); }
115 inline EphemerisItem& WithSourceS3Object(const S3Object& value) { SetSourceS3Object(value); return *this;}
116 inline EphemerisItem& WithSourceS3Object(S3Object&& value) { SetSourceS3Object(std::move(value)); return *this;}
118
120
123 inline const EphemerisStatus& GetStatus() const{ return m_status; }
124 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
125 inline void SetStatus(const EphemerisStatus& value) { m_statusHasBeenSet = true; m_status = value; }
126 inline void SetStatus(EphemerisStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
127 inline EphemerisItem& WithStatus(const EphemerisStatus& value) { SetStatus(value); return *this;}
128 inline EphemerisItem& WithStatus(EphemerisStatus&& value) { SetStatus(std::move(value)); return *this;}
130 private:
131
132 Aws::Utils::DateTime m_creationTime;
133 bool m_creationTimeHasBeenSet = false;
134
135 bool m_enabled;
136 bool m_enabledHasBeenSet = false;
137
138 Aws::String m_ephemerisId;
139 bool m_ephemerisIdHasBeenSet = false;
140
141 Aws::String m_name;
142 bool m_nameHasBeenSet = false;
143
144 int m_priority;
145 bool m_priorityHasBeenSet = false;
146
147 S3Object m_sourceS3Object;
148 bool m_sourceS3ObjectHasBeenSet = false;
149
150 EphemerisStatus m_status;
151 bool m_statusHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace GroundStation
156} // namespace Aws
EphemerisItem & WithName(const Aws::String &value)
EphemerisItem & WithEphemerisId(const Aws::String &value)
void SetEphemerisId(Aws::String &&value)
AWS_GROUNDSTATION_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GROUNDSTATION_API EphemerisItem(Aws::Utils::Json::JsonView jsonValue)
EphemerisItem & WithName(const char *value)
const Aws::String & GetName() const
const EphemerisStatus & GetStatus() const
EphemerisItem & WithSourceS3Object(S3Object &&value)
EphemerisItem & WithCreationTime(const Aws::Utils::DateTime &value)
void SetEphemerisId(const Aws::String &value)
AWS_GROUNDSTATION_API EphemerisItem()
void SetSourceS3Object(const S3Object &value)
void SetStatus(const EphemerisStatus &value)
EphemerisItem & WithStatus(EphemerisStatus &&value)
void SetCreationTime(const Aws::Utils::DateTime &value)
void SetCreationTime(Aws::Utils::DateTime &&value)
EphemerisItem & WithEphemerisId(const char *value)
EphemerisItem & WithEphemerisId(Aws::String &&value)
EphemerisItem & WithSourceS3Object(const S3Object &value)
EphemerisItem & WithPriority(int value)
const Aws::String & GetEphemerisId() const
EphemerisItem & WithStatus(const EphemerisStatus &value)
AWS_GROUNDSTATION_API EphemerisItem & operator=(Aws::Utils::Json::JsonView jsonValue)
const S3Object & GetSourceS3Object() const
EphemerisItem & WithCreationTime(Aws::Utils::DateTime &&value)
EphemerisItem & WithName(Aws::String &&value)
const Aws::Utils::DateTime & GetCreationTime() const
EphemerisItem & WithEnabled(bool value)
void SetName(const Aws::String &value)
void SetStatus(EphemerisStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue