AWS SDK for C++

AWS SDK for C++ Version 1.11.795

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
27 public:
28 AWS_GROUNDSTATION_API CreateMissionProfileRequest() = default;
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "CreateMissionProfile"; }
35
36 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template <typename NameT = Aws::String>
45 void SetName(NameT&& value) {
46 m_nameHasBeenSet = true;
47 m_name = std::forward<NameT>(value);
48 }
49 template <typename NameT = Aws::String>
51 SetName(std::forward<NameT>(value));
52 return *this;
53 }
55
57
61 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
62 inline bool ContactPrePassDurationSecondsHasBeenSet() const { return m_contactPrePassDurationSecondsHasBeenSet; }
63 inline void SetContactPrePassDurationSeconds(int value) {
64 m_contactPrePassDurationSecondsHasBeenSet = true;
65 m_contactPrePassDurationSeconds = value;
66 }
69 return *this;
70 }
72
74
78 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
79 inline bool ContactPostPassDurationSecondsHasBeenSet() const { return m_contactPostPassDurationSecondsHasBeenSet; }
80 inline void SetContactPostPassDurationSeconds(int value) {
81 m_contactPostPassDurationSecondsHasBeenSet = true;
82 m_contactPostPassDurationSeconds = value;
83 }
86 return *this;
87 }
89
91
96 inline int GetMinimumViableContactDurationSeconds() const { return m_minimumViableContactDurationSeconds; }
97 inline bool MinimumViableContactDurationSecondsHasBeenSet() const { return m_minimumViableContactDurationSecondsHasBeenSet; }
99 m_minimumViableContactDurationSecondsHasBeenSet = true;
100 m_minimumViableContactDurationSeconds = value;
101 }
104 return *this;
105 }
107
109
113 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetDataflowEdges() const { return m_dataflowEdges; }
114 inline bool DataflowEdgesHasBeenSet() const { return m_dataflowEdgesHasBeenSet; }
115 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
116 void SetDataflowEdges(DataflowEdgesT&& value) {
117 m_dataflowEdgesHasBeenSet = true;
118 m_dataflowEdges = std::forward<DataflowEdgesT>(value);
119 }
120 template <typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
122 SetDataflowEdges(std::forward<DataflowEdgesT>(value));
123 return *this;
124 }
125 template <typename DataflowEdgesT = Aws::Vector<Aws::String>>
127 m_dataflowEdgesHasBeenSet = true;
128 m_dataflowEdges.emplace_back(std::forward<DataflowEdgesT>(value));
129 return *this;
130 }
132
134
137 inline const Aws::String& GetTrackingConfigArn() const { return m_trackingConfigArn; }
138 inline bool TrackingConfigArnHasBeenSet() const { return m_trackingConfigArnHasBeenSet; }
139 template <typename TrackingConfigArnT = Aws::String>
140 void SetTrackingConfigArn(TrackingConfigArnT&& value) {
141 m_trackingConfigArnHasBeenSet = true;
142 m_trackingConfigArn = std::forward<TrackingConfigArnT>(value);
143 }
144 template <typename TrackingConfigArnT = Aws::String>
146 SetTrackingConfigArn(std::forward<TrackingConfigArnT>(value));
147 return *this;
148 }
150
152
155 inline const Aws::String& GetTelemetrySinkConfigArn() const { return m_telemetrySinkConfigArn; }
156 inline bool TelemetrySinkConfigArnHasBeenSet() const { return m_telemetrySinkConfigArnHasBeenSet; }
157 template <typename TelemetrySinkConfigArnT = Aws::String>
158 void SetTelemetrySinkConfigArn(TelemetrySinkConfigArnT&& value) {
159 m_telemetrySinkConfigArnHasBeenSet = true;
160 m_telemetrySinkConfigArn = std::forward<TelemetrySinkConfigArnT>(value);
161 }
162 template <typename TelemetrySinkConfigArnT = Aws::String>
163 CreateMissionProfileRequest& WithTelemetrySinkConfigArn(TelemetrySinkConfigArnT&& value) {
164 SetTelemetrySinkConfigArn(std::forward<TelemetrySinkConfigArnT>(value));
165 return *this;
166 }
168
170
173 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
174 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
175 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
176 void SetTags(TagsT&& value) {
177 m_tagsHasBeenSet = true;
178 m_tags = std::forward<TagsT>(value);
179 }
180 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
182 SetTags(std::forward<TagsT>(value));
183 return *this;
184 }
185 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
186 CreateMissionProfileRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
187 m_tagsHasBeenSet = true;
188 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
189 return *this;
190 }
192
194
197 inline const KmsKey& GetStreamsKmsKey() const { return m_streamsKmsKey; }
198 inline bool StreamsKmsKeyHasBeenSet() const { return m_streamsKmsKeyHasBeenSet; }
199 template <typename StreamsKmsKeyT = KmsKey>
200 void SetStreamsKmsKey(StreamsKmsKeyT&& value) {
201 m_streamsKmsKeyHasBeenSet = true;
202 m_streamsKmsKey = std::forward<StreamsKmsKeyT>(value);
203 }
204 template <typename StreamsKmsKeyT = KmsKey>
206 SetStreamsKmsKey(std::forward<StreamsKmsKeyT>(value));
207 return *this;
208 }
210
212
215 inline const Aws::String& GetStreamsKmsRole() const { return m_streamsKmsRole; }
216 inline bool StreamsKmsRoleHasBeenSet() const { return m_streamsKmsRoleHasBeenSet; }
217 template <typename StreamsKmsRoleT = Aws::String>
218 void SetStreamsKmsRole(StreamsKmsRoleT&& value) {
219 m_streamsKmsRoleHasBeenSet = true;
220 m_streamsKmsRole = std::forward<StreamsKmsRoleT>(value);
221 }
222 template <typename StreamsKmsRoleT = Aws::String>
224 SetStreamsKmsRole(std::forward<StreamsKmsRoleT>(value));
225 return *this;
226 }
228 private:
229 Aws::String m_name;
230
231 int m_contactPrePassDurationSeconds{0};
232
233 int m_contactPostPassDurationSeconds{0};
234
235 int m_minimumViableContactDurationSeconds{0};
236
238
239 Aws::String m_trackingConfigArn;
240
241 Aws::String m_telemetrySinkConfigArn;
242
244
245 KmsKey m_streamsKmsKey;
246
247 Aws::String m_streamsKmsRole;
248 bool m_nameHasBeenSet = false;
249 bool m_contactPrePassDurationSecondsHasBeenSet = false;
250 bool m_contactPostPassDurationSecondsHasBeenSet = false;
251 bool m_minimumViableContactDurationSecondsHasBeenSet = false;
252 bool m_dataflowEdgesHasBeenSet = false;
253 bool m_trackingConfigArnHasBeenSet = false;
254 bool m_telemetrySinkConfigArnHasBeenSet = false;
255 bool m_tagsHasBeenSet = false;
256 bool m_streamsKmsKeyHasBeenSet = false;
257 bool m_streamsKmsRoleHasBeenSet = false;
258};
259
260} // namespace Model
261} // namespace GroundStation
262} // 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