AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
CreateEphemerisRequest.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/groundstation/GroundStationRequest.h>
11#include <aws/groundstation/GroundStation_EXPORTS.h>
12#include <aws/groundstation/model/EphemerisData.h>
13
14#include <utility>
15
16namespace Aws {
17namespace GroundStation {
18namespace Model {
19
23 public:
24 AWS_GROUNDSTATION_API CreateEphemerisRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "CreateEphemeris"; }
31
32 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
33
35
39 inline const Aws::String& GetSatelliteId() const { return m_satelliteId; }
40 inline bool SatelliteIdHasBeenSet() const { return m_satelliteIdHasBeenSet; }
41 template <typename SatelliteIdT = Aws::String>
42 void SetSatelliteId(SatelliteIdT&& value) {
43 m_satelliteIdHasBeenSet = true;
44 m_satelliteId = std::forward<SatelliteIdT>(value);
45 }
46 template <typename SatelliteIdT = Aws::String>
47 CreateEphemerisRequest& WithSatelliteId(SatelliteIdT&& value) {
48 SetSatelliteId(std::forward<SatelliteIdT>(value));
49 return *this;
50 }
52
54
58 inline bool GetEnabled() const { return m_enabled; }
59 inline bool EnabledHasBeenSet() const { return m_enabledHasBeenSet; }
60 inline void SetEnabled(bool value) {
61 m_enabledHasBeenSet = true;
62 m_enabled = value;
63 }
64 inline CreateEphemerisRequest& WithEnabled(bool value) {
65 SetEnabled(value);
66 return *this;
67 }
69
71
76 inline int GetPriority() const { return m_priority; }
77 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
78 inline void SetPriority(int value) {
79 m_priorityHasBeenSet = true;
80 m_priority = value;
81 }
83 SetPriority(value);
84 return *this;
85 }
87
89
93 inline const Aws::Utils::DateTime& GetExpirationTime() const { return m_expirationTime; }
94 inline bool ExpirationTimeHasBeenSet() const { return m_expirationTimeHasBeenSet; }
95 template <typename ExpirationTimeT = Aws::Utils::DateTime>
96 void SetExpirationTime(ExpirationTimeT&& value) {
97 m_expirationTimeHasBeenSet = true;
98 m_expirationTime = std::forward<ExpirationTimeT>(value);
99 }
100 template <typename ExpirationTimeT = Aws::Utils::DateTime>
101 CreateEphemerisRequest& WithExpirationTime(ExpirationTimeT&& value) {
102 SetExpirationTime(std::forward<ExpirationTimeT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetName() const { return m_name; }
112 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
113 template <typename NameT = Aws::String>
114 void SetName(NameT&& value) {
115 m_nameHasBeenSet = true;
116 m_name = std::forward<NameT>(value);
117 }
118 template <typename NameT = Aws::String>
120 SetName(std::forward<NameT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetKmsKeyArn() const { return m_kmsKeyArn; }
130 inline bool KmsKeyArnHasBeenSet() const { return m_kmsKeyArnHasBeenSet; }
131 template <typename KmsKeyArnT = Aws::String>
132 void SetKmsKeyArn(KmsKeyArnT&& value) {
133 m_kmsKeyArnHasBeenSet = true;
134 m_kmsKeyArn = std::forward<KmsKeyArnT>(value);
135 }
136 template <typename KmsKeyArnT = Aws::String>
138 SetKmsKeyArn(std::forward<KmsKeyArnT>(value));
139 return *this;
140 }
142
144
147 inline const EphemerisData& GetEphemeris() const { return m_ephemeris; }
148 inline bool EphemerisHasBeenSet() const { return m_ephemerisHasBeenSet; }
149 template <typename EphemerisT = EphemerisData>
150 void SetEphemeris(EphemerisT&& value) {
151 m_ephemerisHasBeenSet = true;
152 m_ephemeris = std::forward<EphemerisT>(value);
153 }
154 template <typename EphemerisT = EphemerisData>
156 SetEphemeris(std::forward<EphemerisT>(value));
157 return *this;
158 }
160
162
165 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
166 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
167 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
168 void SetTags(TagsT&& value) {
169 m_tagsHasBeenSet = true;
170 m_tags = std::forward<TagsT>(value);
171 }
172 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
174 SetTags(std::forward<TagsT>(value));
175 return *this;
176 }
177 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
178 CreateEphemerisRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
179 m_tagsHasBeenSet = true;
180 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
181 return *this;
182 }
184 private:
185 Aws::String m_satelliteId;
186
187 bool m_enabled{false};
188
189 int m_priority{0};
190
191 Aws::Utils::DateTime m_expirationTime{};
192
193 Aws::String m_name;
194
195 Aws::String m_kmsKeyArn;
196
197 EphemerisData m_ephemeris;
198
200 bool m_satelliteIdHasBeenSet = false;
201 bool m_enabledHasBeenSet = false;
202 bool m_priorityHasBeenSet = false;
203 bool m_expirationTimeHasBeenSet = false;
204 bool m_nameHasBeenSet = false;
205 bool m_kmsKeyArnHasBeenSet = false;
206 bool m_ephemerisHasBeenSet = false;
207 bool m_tagsHasBeenSet = false;
208};
209
210} // namespace Model
211} // namespace GroundStation
212} // namespace Aws
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
CreateEphemerisRequest & WithEphemeris(EphemerisT &&value)
virtual const char * GetServiceRequestName() const override
CreateEphemerisRequest & WithExpirationTime(ExpirationTimeT &&value)
CreateEphemerisRequest & WithName(NameT &&value)
CreateEphemerisRequest & WithKmsKeyArn(KmsKeyArnT &&value)
CreateEphemerisRequest & WithTags(TagsT &&value)
CreateEphemerisRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_GROUNDSTATION_API CreateEphemerisRequest()=default
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Utils::DateTime & GetExpirationTime() const
CreateEphemerisRequest & WithSatelliteId(SatelliteIdT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String