AWS SDK for C++

AWS SDK for C++ Version 1.11.795

Loading...
Searching...
No Matches
UpdateMissionProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/groundstation/GroundStationRequest.h>
10#include <aws/groundstation/GroundStation_EXPORTS.h>
11#include <aws/groundstation/model/KmsKey.h>
12
13#include <utility>
14
15namespace Aws {
16namespace GroundStation {
17namespace Model {
18
26 public:
27 AWS_GROUNDSTATION_API UpdateMissionProfileRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "UpdateMissionProfile"; }
34
35 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetMissionProfileId() const { return m_missionProfileId; }
42 inline bool MissionProfileIdHasBeenSet() const { return m_missionProfileIdHasBeenSet; }
43 template <typename MissionProfileIdT = Aws::String>
44 void SetMissionProfileId(MissionProfileIdT&& value) {
45 m_missionProfileIdHasBeenSet = true;
46 m_missionProfileId = std::forward<MissionProfileIdT>(value);
47 }
48 template <typename MissionProfileIdT = Aws::String>
50 SetMissionProfileId(std::forward<MissionProfileIdT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
78 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
79 inline bool ContactPrePassDurationSecondsHasBeenSet() const { return m_contactPrePassDurationSecondsHasBeenSet; }
80 inline void SetContactPrePassDurationSeconds(int value) {
81 m_contactPrePassDurationSecondsHasBeenSet = true;
82 m_contactPrePassDurationSeconds = value;
83 }
86 return *this;
87 }
89
91
95 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
96 inline bool ContactPostPassDurationSecondsHasBeenSet() const { return m_contactPostPassDurationSecondsHasBeenSet; }
97 inline void SetContactPostPassDurationSeconds(int value) {
98 m_contactPostPassDurationSecondsHasBeenSet = true;
99 m_contactPostPassDurationSeconds = value;
100 }
103 return *this;
104 }
106
108
113 inline int GetMinimumViableContactDurationSeconds() const { return m_minimumViableContactDurationSeconds; }
114 inline bool MinimumViableContactDurationSecondsHasBeenSet() const { return m_minimumViableContactDurationSecondsHasBeenSet; }
116 m_minimumViableContactDurationSecondsHasBeenSet = true;
117 m_minimumViableContactDurationSeconds = value;
118 }
121 return *this;
122 }
124
126
130 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetDataflowEdges() const { return m_dataflowEdges; }
131 inline bool DataflowEdgesHasBeenSet() const { return m_dataflowEdgesHasBeenSet; }
132 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
133 void SetDataflowEdges(DataflowEdgesT&& value) {
134 m_dataflowEdgesHasBeenSet = true;
135 m_dataflowEdges = std::forward<DataflowEdgesT>(value);
136 }
137 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
139 SetDataflowEdges(std::forward<DataflowEdgesT>(value));
140 return *this;
141 }
142 template <typename DataflowEdgesT = Aws::Vector<Aws::String>>
144 m_dataflowEdgesHasBeenSet = true;
145 m_dataflowEdges.emplace_back(std::forward<DataflowEdgesT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetTrackingConfigArn() const { return m_trackingConfigArn; }
155 inline bool TrackingConfigArnHasBeenSet() const { return m_trackingConfigArnHasBeenSet; }
156 template <typename TrackingConfigArnT = Aws::String>
157 void SetTrackingConfigArn(TrackingConfigArnT&& value) {
158 m_trackingConfigArnHasBeenSet = true;
159 m_trackingConfigArn = std::forward<TrackingConfigArnT>(value);
160 }
161 template <typename TrackingConfigArnT = Aws::String>
163 SetTrackingConfigArn(std::forward<TrackingConfigArnT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::String& GetTelemetrySinkConfigArn() const { return m_telemetrySinkConfigArn; }
173 inline bool TelemetrySinkConfigArnHasBeenSet() const { return m_telemetrySinkConfigArnHasBeenSet; }
174 template <typename TelemetrySinkConfigArnT = Aws::String>
175 void SetTelemetrySinkConfigArn(TelemetrySinkConfigArnT&& value) {
176 m_telemetrySinkConfigArnHasBeenSet = true;
177 m_telemetrySinkConfigArn = std::forward<TelemetrySinkConfigArnT>(value);
178 }
179 template <typename TelemetrySinkConfigArnT = Aws::String>
180 UpdateMissionProfileRequest& WithTelemetrySinkConfigArn(TelemetrySinkConfigArnT&& value) {
181 SetTelemetrySinkConfigArn(std::forward<TelemetrySinkConfigArnT>(value));
182 return *this;
183 }
185
187
190 inline const KmsKey& GetStreamsKmsKey() const { return m_streamsKmsKey; }
191 inline bool StreamsKmsKeyHasBeenSet() const { return m_streamsKmsKeyHasBeenSet; }
192 template <typename StreamsKmsKeyT = KmsKey>
193 void SetStreamsKmsKey(StreamsKmsKeyT&& value) {
194 m_streamsKmsKeyHasBeenSet = true;
195 m_streamsKmsKey = std::forward<StreamsKmsKeyT>(value);
196 }
197 template <typename StreamsKmsKeyT = KmsKey>
199 SetStreamsKmsKey(std::forward<StreamsKmsKeyT>(value));
200 return *this;
201 }
203
205
208 inline const Aws::String& GetStreamsKmsRole() const { return m_streamsKmsRole; }
209 inline bool StreamsKmsRoleHasBeenSet() const { return m_streamsKmsRoleHasBeenSet; }
210 template <typename StreamsKmsRoleT = Aws::String>
211 void SetStreamsKmsRole(StreamsKmsRoleT&& value) {
212 m_streamsKmsRoleHasBeenSet = true;
213 m_streamsKmsRole = std::forward<StreamsKmsRoleT>(value);
214 }
215 template <typename StreamsKmsRoleT = Aws::String>
217 SetStreamsKmsRole(std::forward<StreamsKmsRoleT>(value));
218 return *this;
219 }
221 private:
222 Aws::String m_missionProfileId;
223
224 Aws::String m_name;
225
226 int m_contactPrePassDurationSeconds{0};
227
228 int m_contactPostPassDurationSeconds{0};
229
230 int m_minimumViableContactDurationSeconds{0};
231
233
234 Aws::String m_trackingConfigArn;
235
236 Aws::String m_telemetrySinkConfigArn;
237
238 KmsKey m_streamsKmsKey;
239
240 Aws::String m_streamsKmsRole;
241 bool m_missionProfileIdHasBeenSet = false;
242 bool m_nameHasBeenSet = false;
243 bool m_contactPrePassDurationSecondsHasBeenSet = false;
244 bool m_contactPostPassDurationSecondsHasBeenSet = false;
245 bool m_minimumViableContactDurationSecondsHasBeenSet = false;
246 bool m_dataflowEdgesHasBeenSet = false;
247 bool m_trackingConfigArnHasBeenSet = false;
248 bool m_telemetrySinkConfigArnHasBeenSet = false;
249 bool m_streamsKmsKeyHasBeenSet = false;
250 bool m_streamsKmsRoleHasBeenSet = false;
251};
252
253} // namespace Model
254} // namespace GroundStation
255} // namespace Aws
UpdateMissionProfileRequest & WithContactPrePassDurationSeconds(int value)
UpdateMissionProfileRequest & WithTrackingConfigArn(TrackingConfigArnT &&value)
UpdateMissionProfileRequest & WithMinimumViableContactDurationSeconds(int value)
UpdateMissionProfileRequest & WithStreamsKmsRole(StreamsKmsRoleT &&value)
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
UpdateMissionProfileRequest & WithStreamsKmsKey(StreamsKmsKeyT &&value)
UpdateMissionProfileRequest & WithMissionProfileId(MissionProfileIdT &&value)
UpdateMissionProfileRequest & WithName(NameT &&value)
UpdateMissionProfileRequest & WithTelemetrySinkConfigArn(TelemetrySinkConfigArnT &&value)
UpdateMissionProfileRequest & WithDataflowEdges(DataflowEdgesT &&value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetDataflowEdges() const
UpdateMissionProfileRequest & WithContactPostPassDurationSeconds(int value)
UpdateMissionProfileRequest & AddDataflowEdges(DataflowEdgesT &&value)
AWS_GROUNDSTATION_API UpdateMissionProfileRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector