AWS SDK for C++

AWS SDK for C++ Version 1.11.682

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
25 public:
26 AWS_GROUNDSTATION_API UpdateMissionProfileRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateMissionProfile"; }
33
34 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
35
37
40 inline const Aws::String& GetMissionProfileId() const { return m_missionProfileId; }
41 inline bool MissionProfileIdHasBeenSet() const { return m_missionProfileIdHasBeenSet; }
42 template <typename MissionProfileIdT = Aws::String>
43 void SetMissionProfileId(MissionProfileIdT&& value) {
44 m_missionProfileIdHasBeenSet = true;
45 m_missionProfileId = std::forward<MissionProfileIdT>(value);
46 }
47 template <typename MissionProfileIdT = Aws::String>
49 SetMissionProfileId(std::forward<MissionProfileIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
77 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
78 inline bool ContactPrePassDurationSecondsHasBeenSet() const { return m_contactPrePassDurationSecondsHasBeenSet; }
79 inline void SetContactPrePassDurationSeconds(int value) {
80 m_contactPrePassDurationSecondsHasBeenSet = true;
81 m_contactPrePassDurationSeconds = value;
82 }
85 return *this;
86 }
88
90
94 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
95 inline bool ContactPostPassDurationSecondsHasBeenSet() const { return m_contactPostPassDurationSecondsHasBeenSet; }
96 inline void SetContactPostPassDurationSeconds(int value) {
97 m_contactPostPassDurationSecondsHasBeenSet = true;
98 m_contactPostPassDurationSeconds = value;
99 }
102 return *this;
103 }
105
107
112 inline int GetMinimumViableContactDurationSeconds() const { return m_minimumViableContactDurationSeconds; }
113 inline bool MinimumViableContactDurationSecondsHasBeenSet() const { return m_minimumViableContactDurationSecondsHasBeenSet; }
115 m_minimumViableContactDurationSecondsHasBeenSet = true;
116 m_minimumViableContactDurationSeconds = value;
117 }
120 return *this;
121 }
123
125
129 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetDataflowEdges() const { return m_dataflowEdges; }
130 inline bool DataflowEdgesHasBeenSet() const { return m_dataflowEdgesHasBeenSet; }
131 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
132 void SetDataflowEdges(DataflowEdgesT&& value) {
133 m_dataflowEdgesHasBeenSet = true;
134 m_dataflowEdges = std::forward<DataflowEdgesT>(value);
135 }
136 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
138 SetDataflowEdges(std::forward<DataflowEdgesT>(value));
139 return *this;
140 }
141 template <typename DataflowEdgesT = Aws::Vector<Aws::String>>
143 m_dataflowEdgesHasBeenSet = true;
144 m_dataflowEdges.emplace_back(std::forward<DataflowEdgesT>(value));
145 return *this;
146 }
148
150
153 inline const Aws::String& GetTrackingConfigArn() const { return m_trackingConfigArn; }
154 inline bool TrackingConfigArnHasBeenSet() const { return m_trackingConfigArnHasBeenSet; }
155 template <typename TrackingConfigArnT = Aws::String>
156 void SetTrackingConfigArn(TrackingConfigArnT&& value) {
157 m_trackingConfigArnHasBeenSet = true;
158 m_trackingConfigArn = std::forward<TrackingConfigArnT>(value);
159 }
160 template <typename TrackingConfigArnT = Aws::String>
162 SetTrackingConfigArn(std::forward<TrackingConfigArnT>(value));
163 return *this;
164 }
166
168
171 inline const KmsKey& GetStreamsKmsKey() const { return m_streamsKmsKey; }
172 inline bool StreamsKmsKeyHasBeenSet() const { return m_streamsKmsKeyHasBeenSet; }
173 template <typename StreamsKmsKeyT = KmsKey>
174 void SetStreamsKmsKey(StreamsKmsKeyT&& value) {
175 m_streamsKmsKeyHasBeenSet = true;
176 m_streamsKmsKey = std::forward<StreamsKmsKeyT>(value);
177 }
178 template <typename StreamsKmsKeyT = KmsKey>
180 SetStreamsKmsKey(std::forward<StreamsKmsKeyT>(value));
181 return *this;
182 }
184
186
189 inline const Aws::String& GetStreamsKmsRole() const { return m_streamsKmsRole; }
190 inline bool StreamsKmsRoleHasBeenSet() const { return m_streamsKmsRoleHasBeenSet; }
191 template <typename StreamsKmsRoleT = Aws::String>
192 void SetStreamsKmsRole(StreamsKmsRoleT&& value) {
193 m_streamsKmsRoleHasBeenSet = true;
194 m_streamsKmsRole = std::forward<StreamsKmsRoleT>(value);
195 }
196 template <typename StreamsKmsRoleT = Aws::String>
198 SetStreamsKmsRole(std::forward<StreamsKmsRoleT>(value));
199 return *this;
200 }
202 private:
203 Aws::String m_missionProfileId;
204 bool m_missionProfileIdHasBeenSet = false;
205
206 Aws::String m_name;
207 bool m_nameHasBeenSet = false;
208
209 int m_contactPrePassDurationSeconds{0};
210 bool m_contactPrePassDurationSecondsHasBeenSet = false;
211
212 int m_contactPostPassDurationSeconds{0};
213 bool m_contactPostPassDurationSecondsHasBeenSet = false;
214
215 int m_minimumViableContactDurationSeconds{0};
216 bool m_minimumViableContactDurationSecondsHasBeenSet = false;
217
219 bool m_dataflowEdgesHasBeenSet = false;
220
221 Aws::String m_trackingConfigArn;
222 bool m_trackingConfigArnHasBeenSet = false;
223
224 KmsKey m_streamsKmsKey;
225 bool m_streamsKmsKeyHasBeenSet = false;
226
227 Aws::String m_streamsKmsRole;
228 bool m_streamsKmsRoleHasBeenSet = false;
229};
230
231} // namespace Model
232} // namespace GroundStation
233} // 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 & 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