AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateMissionProfileRequest.h
1
6#pragma once
7#include <aws/groundstation/GroundStation_EXPORTS.h>
8#include <aws/groundstation/GroundStationRequest.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/groundstation/model/KmsKey.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <utility>
14
15namespace Aws
16{
17namespace GroundStation
18{
19namespace Model
20{
21
28 {
29 public:
30 AWS_GROUNDSTATION_API CreateMissionProfileRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateMissionProfile"; }
37
38 AWS_GROUNDSTATION_API Aws::String SerializePayload() const override;
39
40
42
46 inline int GetContactPostPassDurationSeconds() const { return m_contactPostPassDurationSeconds; }
47 inline bool ContactPostPassDurationSecondsHasBeenSet() const { return m_contactPostPassDurationSecondsHasBeenSet; }
48 inline void SetContactPostPassDurationSeconds(int value) { m_contactPostPassDurationSecondsHasBeenSet = true; m_contactPostPassDurationSeconds = value; }
51
53
57 inline int GetContactPrePassDurationSeconds() const { return m_contactPrePassDurationSeconds; }
58 inline bool ContactPrePassDurationSecondsHasBeenSet() const { return m_contactPrePassDurationSecondsHasBeenSet; }
59 inline void SetContactPrePassDurationSeconds(int value) { m_contactPrePassDurationSecondsHasBeenSet = true; m_contactPrePassDurationSeconds = value; }
62
64
68 inline const Aws::Vector<Aws::Vector<Aws::String>>& GetDataflowEdges() const { return m_dataflowEdges; }
69 inline bool DataflowEdgesHasBeenSet() const { return m_dataflowEdgesHasBeenSet; }
70 template<typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
71 void SetDataflowEdges(DataflowEdgesT&& value) { m_dataflowEdgesHasBeenSet = true; m_dataflowEdges = std::forward<DataflowEdgesT>(value); }
72 template<typename DataflowEdgesT = Aws::Vector<Aws::Vector<Aws::String>>>
73 CreateMissionProfileRequest& WithDataflowEdges(DataflowEdgesT&& value) { SetDataflowEdges(std::forward<DataflowEdgesT>(value)); return *this;}
74 template<typename DataflowEdgesT = Aws::Vector<Aws::String>>
75 CreateMissionProfileRequest& AddDataflowEdges(DataflowEdgesT&& value) { m_dataflowEdgesHasBeenSet = true; m_dataflowEdges.emplace_back(std::forward<DataflowEdgesT>(value)); return *this; }
77
79
84 inline int GetMinimumViableContactDurationSeconds() const { return m_minimumViableContactDurationSeconds; }
85 inline bool MinimumViableContactDurationSecondsHasBeenSet() const { return m_minimumViableContactDurationSecondsHasBeenSet; }
86 inline void SetMinimumViableContactDurationSeconds(int value) { m_minimumViableContactDurationSecondsHasBeenSet = true; m_minimumViableContactDurationSeconds = value; }
89
91
94 inline const Aws::String& GetName() const { return m_name; }
95 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 template<typename NameT = Aws::String>
97 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
98 template<typename NameT = Aws::String>
99 CreateMissionProfileRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
101
103
106 inline const KmsKey& GetStreamsKmsKey() const { return m_streamsKmsKey; }
107 inline bool StreamsKmsKeyHasBeenSet() const { return m_streamsKmsKeyHasBeenSet; }
108 template<typename StreamsKmsKeyT = KmsKey>
109 void SetStreamsKmsKey(StreamsKmsKeyT&& value) { m_streamsKmsKeyHasBeenSet = true; m_streamsKmsKey = std::forward<StreamsKmsKeyT>(value); }
110 template<typename StreamsKmsKeyT = KmsKey>
111 CreateMissionProfileRequest& WithStreamsKmsKey(StreamsKmsKeyT&& value) { SetStreamsKmsKey(std::forward<StreamsKmsKeyT>(value)); return *this;}
113
115
118 inline const Aws::String& GetStreamsKmsRole() const { return m_streamsKmsRole; }
119 inline bool StreamsKmsRoleHasBeenSet() const { return m_streamsKmsRoleHasBeenSet; }
120 template<typename StreamsKmsRoleT = Aws::String>
121 void SetStreamsKmsRole(StreamsKmsRoleT&& value) { m_streamsKmsRoleHasBeenSet = true; m_streamsKmsRole = std::forward<StreamsKmsRoleT>(value); }
122 template<typename StreamsKmsRoleT = Aws::String>
123 CreateMissionProfileRequest& WithStreamsKmsRole(StreamsKmsRoleT&& value) { SetStreamsKmsRole(std::forward<StreamsKmsRoleT>(value)); return *this;}
125
127
130 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
131 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
132 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
133 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
134 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 CreateMissionProfileRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
136 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
137 CreateMissionProfileRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
138 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
139 }
141
143
146 inline const Aws::String& GetTrackingConfigArn() const { return m_trackingConfigArn; }
147 inline bool TrackingConfigArnHasBeenSet() const { return m_trackingConfigArnHasBeenSet; }
148 template<typename TrackingConfigArnT = Aws::String>
149 void SetTrackingConfigArn(TrackingConfigArnT&& value) { m_trackingConfigArnHasBeenSet = true; m_trackingConfigArn = std::forward<TrackingConfigArnT>(value); }
150 template<typename TrackingConfigArnT = Aws::String>
151 CreateMissionProfileRequest& WithTrackingConfigArn(TrackingConfigArnT&& value) { SetTrackingConfigArn(std::forward<TrackingConfigArnT>(value)); return *this;}
153 private:
154
155 int m_contactPostPassDurationSeconds{0};
156 bool m_contactPostPassDurationSecondsHasBeenSet = false;
157
158 int m_contactPrePassDurationSeconds{0};
159 bool m_contactPrePassDurationSecondsHasBeenSet = false;
160
162 bool m_dataflowEdgesHasBeenSet = false;
163
164 int m_minimumViableContactDurationSeconds{0};
165 bool m_minimumViableContactDurationSecondsHasBeenSet = false;
166
167 Aws::String m_name;
168 bool m_nameHasBeenSet = false;
169
170 KmsKey m_streamsKmsKey;
171 bool m_streamsKmsKeyHasBeenSet = false;
172
173 Aws::String m_streamsKmsRole;
174 bool m_streamsKmsRoleHasBeenSet = false;
175
177 bool m_tagsHasBeenSet = false;
178
179 Aws::String m_trackingConfigArn;
180 bool m_trackingConfigArnHasBeenSet = false;
181 };
182
183} // namespace Model
184} // namespace GroundStation
185} // 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 & 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