AWS SDK for C++

AWS SDK for C++ Version 1.11.740

Loading...
Searching...
No Matches
CreateMissionProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/groundstation/GroundStationRequest.h>
11#include <aws/groundstation/GroundStation_EXPORTS.h>
12#include <aws/groundstation/model/KmsKey.h>
13
14#include <utility>
15
16namespace Aws {
17namespace GroundStation {
18namespace Model {
19
26 public:
27 AWS_GROUNDSTATION_API CreateMissionProfileRequest() = 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 "CreateMissionProfile"; }
34
35 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
60 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
61 inline bool ContactPrePassDurationSecondsHasBeenSet() const { return m_contactPrePassDurationSecondsHasBeenSet; }
62 inline void SetContactPrePassDurationSeconds(int value) {
63 m_contactPrePassDurationSecondsHasBeenSet = true;
64 m_contactPrePassDurationSeconds = value;
65 }
68 return *this;
69 }
71
73
77 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
78 inline bool ContactPostPassDurationSecondsHasBeenSet() const { return m_contactPostPassDurationSecondsHasBeenSet; }
79 inline void SetContactPostPassDurationSeconds(int value) {
80 m_contactPostPassDurationSecondsHasBeenSet = true;
81 m_contactPostPassDurationSeconds = value;
82 }
85 return *this;
86 }
88
90
95 inline int GetMinimumViableContactDurationSeconds() const { return m_minimumViableContactDurationSeconds; }
96 inline bool MinimumViableContactDurationSecondsHasBeenSet() const { return m_minimumViableContactDurationSecondsHasBeenSet; }
98 m_minimumViableContactDurationSecondsHasBeenSet = true;
99 m_minimumViableContactDurationSeconds = value;
100 }
103 return *this;
104 }
106
108
112 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetDataflowEdges() const { return m_dataflowEdges; }
113 inline bool DataflowEdgesHasBeenSet() const { return m_dataflowEdgesHasBeenSet; }
114 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
115 void SetDataflowEdges(DataflowEdgesT&& value) {
116 m_dataflowEdgesHasBeenSet = true;
117 m_dataflowEdges = std::forward<DataflowEdgesT>(value);
118 }
119 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
121 SetDataflowEdges(std::forward<DataflowEdgesT>(value));
122 return *this;
123 }
124 template <typename DataflowEdgesT = Aws::Vector<Aws::String>>
126 m_dataflowEdgesHasBeenSet = true;
127 m_dataflowEdges.emplace_back(std::forward<DataflowEdgesT>(value));
128 return *this;
129 }
131
133
136 inline const Aws::String& GetTrackingConfigArn() const { return m_trackingConfigArn; }
137 inline bool TrackingConfigArnHasBeenSet() const { return m_trackingConfigArnHasBeenSet; }
138 template <typename TrackingConfigArnT = Aws::String>
139 void SetTrackingConfigArn(TrackingConfigArnT&& value) {
140 m_trackingConfigArnHasBeenSet = true;
141 m_trackingConfigArn = std::forward<TrackingConfigArnT>(value);
142 }
143 template <typename TrackingConfigArnT = Aws::String>
145 SetTrackingConfigArn(std::forward<TrackingConfigArnT>(value));
146 return *this;
147 }
149
151
154 inline const Aws::String& GetTelemetrySinkConfigArn() const { return m_telemetrySinkConfigArn; }
155 inline bool TelemetrySinkConfigArnHasBeenSet() const { return m_telemetrySinkConfigArnHasBeenSet; }
156 template <typename TelemetrySinkConfigArnT = Aws::String>
157 void SetTelemetrySinkConfigArn(TelemetrySinkConfigArnT&& value) {
158 m_telemetrySinkConfigArnHasBeenSet = true;
159 m_telemetrySinkConfigArn = std::forward<TelemetrySinkConfigArnT>(value);
160 }
161 template <typename TelemetrySinkConfigArnT = Aws::String>
162 CreateMissionProfileRequest& WithTelemetrySinkConfigArn(TelemetrySinkConfigArnT&& value) {
163 SetTelemetrySinkConfigArn(std::forward<TelemetrySinkConfigArnT>(value));
164 return *this;
165 }
167
169
172 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
173 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
174 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
175 void SetTags(TagsT&& value) {
176 m_tagsHasBeenSet = true;
177 m_tags = std::forward<TagsT>(value);
178 }
179 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
181 SetTags(std::forward<TagsT>(value));
182 return *this;
183 }
184 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
185 CreateMissionProfileRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
186 m_tagsHasBeenSet = true;
187 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
188 return *this;
189 }
191
193
196 inline const KmsKey& GetStreamsKmsKey() const { return m_streamsKmsKey; }
197 inline bool StreamsKmsKeyHasBeenSet() const { return m_streamsKmsKeyHasBeenSet; }
198 template <typename StreamsKmsKeyT = KmsKey>
199 void SetStreamsKmsKey(StreamsKmsKeyT&& value) {
200 m_streamsKmsKeyHasBeenSet = true;
201 m_streamsKmsKey = std::forward<StreamsKmsKeyT>(value);
202 }
203 template <typename StreamsKmsKeyT = KmsKey>
205 SetStreamsKmsKey(std::forward<StreamsKmsKeyT>(value));
206 return *this;
207 }
209
211
214 inline const Aws::String& GetStreamsKmsRole() const { return m_streamsKmsRole; }
215 inline bool StreamsKmsRoleHasBeenSet() const { return m_streamsKmsRoleHasBeenSet; }
216 template <typename StreamsKmsRoleT = Aws::String>
217 void SetStreamsKmsRole(StreamsKmsRoleT&& value) {
218 m_streamsKmsRoleHasBeenSet = true;
219 m_streamsKmsRole = std::forward<StreamsKmsRoleT>(value);
220 }
221 template <typename StreamsKmsRoleT = Aws::String>
223 SetStreamsKmsRole(std::forward<StreamsKmsRoleT>(value));
224 return *this;
225 }
227 private:
228 Aws::String m_name;
229
230 int m_contactPrePassDurationSeconds{0};
231
232 int m_contactPostPassDurationSeconds{0};
233
234 int m_minimumViableContactDurationSeconds{0};
235
237
238 Aws::String m_trackingConfigArn;
239
240 Aws::String m_telemetrySinkConfigArn;
241
243
244 KmsKey m_streamsKmsKey;
245
246 Aws::String m_streamsKmsRole;
247 bool m_nameHasBeenSet = false;
248 bool m_contactPrePassDurationSecondsHasBeenSet = false;
249 bool m_contactPostPassDurationSecondsHasBeenSet = false;
250 bool m_minimumViableContactDurationSecondsHasBeenSet = false;
251 bool m_dataflowEdgesHasBeenSet = false;
252 bool m_trackingConfigArnHasBeenSet = false;
253 bool m_telemetrySinkConfigArnHasBeenSet = false;
254 bool m_tagsHasBeenSet = false;
255 bool m_streamsKmsKeyHasBeenSet = false;
256 bool m_streamsKmsRoleHasBeenSet = false;
257};
258
259} // namespace Model
260} // namespace GroundStation
261} // namespace Aws
AWS_GROUNDSTATION_API Aws::String SerializePayload() const override
CreateMissionProfileRequest & AddDataflowEdges(DataflowEdgesT &&value)
CreateMissionProfileRequest & WithMinimumViableContactDurationSeconds(int value)
AWS_GROUNDSTATION_API CreateMissionProfileRequest()=default
CreateMissionProfileRequest & WithStreamsKmsRole(StreamsKmsRoleT &&value)
CreateMissionProfileRequest & WithDataflowEdges(DataflowEdgesT &&value)
CreateMissionProfileRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateMissionProfileRequest & WithTelemetrySinkConfigArn(TelemetrySinkConfigArnT &&value)
CreateMissionProfileRequest & WithName(NameT &&value)
const Aws::Vector< Aws::Vector< Aws::String > > & GetDataflowEdges() const
CreateMissionProfileRequest & WithStreamsKmsKey(StreamsKmsKeyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateMissionProfileRequest & WithContactPrePassDurationSeconds(int value)
CreateMissionProfileRequest & WithTrackingConfigArn(TrackingConfigArnT &&value)
CreateMissionProfileRequest & WithContactPostPassDurationSeconds(int 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
std::vector< T, Aws::Allocator< T > > Vector