AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
Pipeline.h
1
6#pragma once
7#include <aws/osis/OSIS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/osis/model/PipelineStatus.h>
10#include <aws/osis/model/PipelineStatusReason.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/osis/model/LogPublishingOptions.h>
14#include <aws/osis/model/BufferOptions.h>
15#include <aws/osis/model/EncryptionAtRestOptions.h>
16#include <aws/osis/model/VpcEndpoint.h>
17#include <aws/osis/model/ServiceVpcEndpoint.h>
18#include <aws/osis/model/PipelineDestination.h>
19#include <aws/osis/model/Tag.h>
20#include <utility>
21
22namespace Aws
23{
24namespace Utils
25{
26namespace Json
27{
28 class JsonValue;
29 class JsonView;
30} // namespace Json
31} // namespace Utils
32namespace OSIS
33{
34namespace Model
35{
36
44 {
45 public:
46 AWS_OSIS_API Pipeline() = default;
47 AWS_OSIS_API Pipeline(Aws::Utils::Json::JsonView jsonValue);
50
51
53
56 inline const Aws::String& GetPipelineName() const { return m_pipelineName; }
57 inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; }
58 template<typename PipelineNameT = Aws::String>
59 void SetPipelineName(PipelineNameT&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::forward<PipelineNameT>(value); }
60 template<typename PipelineNameT = Aws::String>
61 Pipeline& WithPipelineName(PipelineNameT&& value) { SetPipelineName(std::forward<PipelineNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetPipelineArn() const { return m_pipelineArn; }
69 inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; }
70 template<typename PipelineArnT = Aws::String>
71 void SetPipelineArn(PipelineArnT&& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = std::forward<PipelineArnT>(value); }
72 template<typename PipelineArnT = Aws::String>
73 Pipeline& WithPipelineArn(PipelineArnT&& value) { SetPipelineArn(std::forward<PipelineArnT>(value)); return *this;}
75
77
80 inline int GetMinUnits() const { return m_minUnits; }
81 inline bool MinUnitsHasBeenSet() const { return m_minUnitsHasBeenSet; }
82 inline void SetMinUnits(int value) { m_minUnitsHasBeenSet = true; m_minUnits = value; }
83 inline Pipeline& WithMinUnits(int value) { SetMinUnits(value); return *this;}
85
87
90 inline int GetMaxUnits() const { return m_maxUnits; }
91 inline bool MaxUnitsHasBeenSet() const { return m_maxUnitsHasBeenSet; }
92 inline void SetMaxUnits(int value) { m_maxUnitsHasBeenSet = true; m_maxUnits = value; }
93 inline Pipeline& WithMaxUnits(int value) { SetMaxUnits(value); return *this;}
95
97
100 inline PipelineStatus GetStatus() const { return m_status; }
101 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
102 inline void SetStatus(PipelineStatus value) { m_statusHasBeenSet = true; m_status = value; }
103 inline Pipeline& WithStatus(PipelineStatus value) { SetStatus(value); return *this;}
105
107
110 inline const PipelineStatusReason& GetStatusReason() const { return m_statusReason; }
111 inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; }
112 template<typename StatusReasonT = PipelineStatusReason>
113 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::forward<StatusReasonT>(value); }
114 template<typename StatusReasonT = PipelineStatusReason>
115 Pipeline& WithStatusReason(StatusReasonT&& value) { SetStatusReason(std::forward<StatusReasonT>(value)); return *this;}
117
119
122 inline const Aws::String& GetPipelineConfigurationBody() const { return m_pipelineConfigurationBody; }
123 inline bool PipelineConfigurationBodyHasBeenSet() const { return m_pipelineConfigurationBodyHasBeenSet; }
124 template<typename PipelineConfigurationBodyT = Aws::String>
125 void SetPipelineConfigurationBody(PipelineConfigurationBodyT&& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = std::forward<PipelineConfigurationBodyT>(value); }
126 template<typename PipelineConfigurationBodyT = Aws::String>
127 Pipeline& WithPipelineConfigurationBody(PipelineConfigurationBodyT&& value) { SetPipelineConfigurationBody(std::forward<PipelineConfigurationBodyT>(value)); return *this;}
129
131
134 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
135 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
136 template<typename CreatedAtT = Aws::Utils::DateTime>
137 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::forward<CreatedAtT>(value); }
138 template<typename CreatedAtT = Aws::Utils::DateTime>
139 Pipeline& WithCreatedAt(CreatedAtT&& value) { SetCreatedAt(std::forward<CreatedAtT>(value)); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetLastUpdatedAt() const { return m_lastUpdatedAt; }
147 inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; }
148 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
149 void SetLastUpdatedAt(LastUpdatedAtT&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::forward<LastUpdatedAtT>(value); }
150 template<typename LastUpdatedAtT = Aws::Utils::DateTime>
151 Pipeline& WithLastUpdatedAt(LastUpdatedAtT&& value) { SetLastUpdatedAt(std::forward<LastUpdatedAtT>(value)); return *this;}
153
155
158 inline const Aws::Vector<Aws::String>& GetIngestEndpointUrls() const { return m_ingestEndpointUrls; }
159 inline bool IngestEndpointUrlsHasBeenSet() const { return m_ingestEndpointUrlsHasBeenSet; }
160 template<typename IngestEndpointUrlsT = Aws::Vector<Aws::String>>
161 void SetIngestEndpointUrls(IngestEndpointUrlsT&& value) { m_ingestEndpointUrlsHasBeenSet = true; m_ingestEndpointUrls = std::forward<IngestEndpointUrlsT>(value); }
162 template<typename IngestEndpointUrlsT = Aws::Vector<Aws::String>>
163 Pipeline& WithIngestEndpointUrls(IngestEndpointUrlsT&& value) { SetIngestEndpointUrls(std::forward<IngestEndpointUrlsT>(value)); return *this;}
164 template<typename IngestEndpointUrlsT = Aws::String>
165 Pipeline& AddIngestEndpointUrls(IngestEndpointUrlsT&& value) { m_ingestEndpointUrlsHasBeenSet = true; m_ingestEndpointUrls.emplace_back(std::forward<IngestEndpointUrlsT>(value)); return *this; }
167
169
172 inline const LogPublishingOptions& GetLogPublishingOptions() const { return m_logPublishingOptions; }
173 inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; }
174 template<typename LogPublishingOptionsT = LogPublishingOptions>
175 void SetLogPublishingOptions(LogPublishingOptionsT&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value); }
176 template<typename LogPublishingOptionsT = LogPublishingOptions>
177 Pipeline& WithLogPublishingOptions(LogPublishingOptionsT&& value) { SetLogPublishingOptions(std::forward<LogPublishingOptionsT>(value)); return *this;}
179
181
184 inline const Aws::Vector<VpcEndpoint>& GetVpcEndpoints() const { return m_vpcEndpoints; }
185 inline bool VpcEndpointsHasBeenSet() const { return m_vpcEndpointsHasBeenSet; }
186 template<typename VpcEndpointsT = Aws::Vector<VpcEndpoint>>
187 void SetVpcEndpoints(VpcEndpointsT&& value) { m_vpcEndpointsHasBeenSet = true; m_vpcEndpoints = std::forward<VpcEndpointsT>(value); }
188 template<typename VpcEndpointsT = Aws::Vector<VpcEndpoint>>
189 Pipeline& WithVpcEndpoints(VpcEndpointsT&& value) { SetVpcEndpoints(std::forward<VpcEndpointsT>(value)); return *this;}
190 template<typename VpcEndpointsT = VpcEndpoint>
191 Pipeline& AddVpcEndpoints(VpcEndpointsT&& value) { m_vpcEndpointsHasBeenSet = true; m_vpcEndpoints.emplace_back(std::forward<VpcEndpointsT>(value)); return *this; }
193
195
196 inline const BufferOptions& GetBufferOptions() const { return m_bufferOptions; }
197 inline bool BufferOptionsHasBeenSet() const { return m_bufferOptionsHasBeenSet; }
198 template<typename BufferOptionsT = BufferOptions>
199 void SetBufferOptions(BufferOptionsT&& value) { m_bufferOptionsHasBeenSet = true; m_bufferOptions = std::forward<BufferOptionsT>(value); }
200 template<typename BufferOptionsT = BufferOptions>
201 Pipeline& WithBufferOptions(BufferOptionsT&& value) { SetBufferOptions(std::forward<BufferOptionsT>(value)); return *this;}
203
205
206 inline const EncryptionAtRestOptions& GetEncryptionAtRestOptions() const { return m_encryptionAtRestOptions; }
207 inline bool EncryptionAtRestOptionsHasBeenSet() const { return m_encryptionAtRestOptionsHasBeenSet; }
208 template<typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
209 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { m_encryptionAtRestOptionsHasBeenSet = true; m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value); }
210 template<typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
211 Pipeline& WithEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { SetEncryptionAtRestOptions(std::forward<EncryptionAtRestOptionsT>(value)); return *this;}
213
215
218 inline const Aws::String& GetVpcEndpointService() const { return m_vpcEndpointService; }
219 inline bool VpcEndpointServiceHasBeenSet() const { return m_vpcEndpointServiceHasBeenSet; }
220 template<typename VpcEndpointServiceT = Aws::String>
221 void SetVpcEndpointService(VpcEndpointServiceT&& value) { m_vpcEndpointServiceHasBeenSet = true; m_vpcEndpointService = std::forward<VpcEndpointServiceT>(value); }
222 template<typename VpcEndpointServiceT = Aws::String>
223 Pipeline& WithVpcEndpointService(VpcEndpointServiceT&& value) { SetVpcEndpointService(std::forward<VpcEndpointServiceT>(value)); return *this;}
225
227
231 inline const Aws::Vector<ServiceVpcEndpoint>& GetServiceVpcEndpoints() const { return m_serviceVpcEndpoints; }
232 inline bool ServiceVpcEndpointsHasBeenSet() const { return m_serviceVpcEndpointsHasBeenSet; }
233 template<typename ServiceVpcEndpointsT = Aws::Vector<ServiceVpcEndpoint>>
234 void SetServiceVpcEndpoints(ServiceVpcEndpointsT&& value) { m_serviceVpcEndpointsHasBeenSet = true; m_serviceVpcEndpoints = std::forward<ServiceVpcEndpointsT>(value); }
235 template<typename ServiceVpcEndpointsT = Aws::Vector<ServiceVpcEndpoint>>
236 Pipeline& WithServiceVpcEndpoints(ServiceVpcEndpointsT&& value) { SetServiceVpcEndpoints(std::forward<ServiceVpcEndpointsT>(value)); return *this;}
237 template<typename ServiceVpcEndpointsT = ServiceVpcEndpoint>
238 Pipeline& AddServiceVpcEndpoints(ServiceVpcEndpointsT&& value) { m_serviceVpcEndpointsHasBeenSet = true; m_serviceVpcEndpoints.emplace_back(std::forward<ServiceVpcEndpointsT>(value)); return *this; }
240
242
245 inline const Aws::Vector<PipelineDestination>& GetDestinations() const { return m_destinations; }
246 inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; }
247 template<typename DestinationsT = Aws::Vector<PipelineDestination>>
248 void SetDestinations(DestinationsT&& value) { m_destinationsHasBeenSet = true; m_destinations = std::forward<DestinationsT>(value); }
249 template<typename DestinationsT = Aws::Vector<PipelineDestination>>
250 Pipeline& WithDestinations(DestinationsT&& value) { SetDestinations(std::forward<DestinationsT>(value)); return *this;}
251 template<typename DestinationsT = PipelineDestination>
252 Pipeline& AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet = true; m_destinations.emplace_back(std::forward<DestinationsT>(value)); return *this; }
254
256
259 inline const Aws::Vector<Tag>& GetTags() const { return m_tags; }
260 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
261 template<typename TagsT = Aws::Vector<Tag>>
262 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
263 template<typename TagsT = Aws::Vector<Tag>>
264 Pipeline& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
265 template<typename TagsT = Tag>
266 Pipeline& AddTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags.emplace_back(std::forward<TagsT>(value)); return *this; }
268 private:
269
270 Aws::String m_pipelineName;
271 bool m_pipelineNameHasBeenSet = false;
272
273 Aws::String m_pipelineArn;
274 bool m_pipelineArnHasBeenSet = false;
275
276 int m_minUnits{0};
277 bool m_minUnitsHasBeenSet = false;
278
279 int m_maxUnits{0};
280 bool m_maxUnitsHasBeenSet = false;
281
283 bool m_statusHasBeenSet = false;
284
285 PipelineStatusReason m_statusReason;
286 bool m_statusReasonHasBeenSet = false;
287
288 Aws::String m_pipelineConfigurationBody;
289 bool m_pipelineConfigurationBodyHasBeenSet = false;
290
291 Aws::Utils::DateTime m_createdAt{};
292 bool m_createdAtHasBeenSet = false;
293
294 Aws::Utils::DateTime m_lastUpdatedAt{};
295 bool m_lastUpdatedAtHasBeenSet = false;
296
297 Aws::Vector<Aws::String> m_ingestEndpointUrls;
298 bool m_ingestEndpointUrlsHasBeenSet = false;
299
300 LogPublishingOptions m_logPublishingOptions;
301 bool m_logPublishingOptionsHasBeenSet = false;
302
303 Aws::Vector<VpcEndpoint> m_vpcEndpoints;
304 bool m_vpcEndpointsHasBeenSet = false;
305
306 BufferOptions m_bufferOptions;
307 bool m_bufferOptionsHasBeenSet = false;
308
309 EncryptionAtRestOptions m_encryptionAtRestOptions;
310 bool m_encryptionAtRestOptionsHasBeenSet = false;
311
312 Aws::String m_vpcEndpointService;
313 bool m_vpcEndpointServiceHasBeenSet = false;
314
315 Aws::Vector<ServiceVpcEndpoint> m_serviceVpcEndpoints;
316 bool m_serviceVpcEndpointsHasBeenSet = false;
317
319 bool m_destinationsHasBeenSet = false;
320
321 Aws::Vector<Tag> m_tags;
322 bool m_tagsHasBeenSet = false;
323 };
324
325} // namespace Model
326} // namespace OSIS
327} // namespace Aws
AWS_OSIS_API Pipeline(Aws::Utils::Json::JsonView jsonValue)
bool BufferOptionsHasBeenSet() const
Definition Pipeline.h:197
const Aws::Vector< VpcEndpoint > & GetVpcEndpoints() const
Definition Pipeline.h:184
const Aws::Vector< Aws::String > & GetIngestEndpointUrls() const
Definition Pipeline.h:158
void SetMinUnits(int value)
Definition Pipeline.h:82
Pipeline & WithStatusReason(StatusReasonT &&value)
Definition Pipeline.h:115
bool VpcEndpointsHasBeenSet() const
Definition Pipeline.h:185
bool VpcEndpointServiceHasBeenSet() const
Definition Pipeline.h:219
const Aws::String & GetVpcEndpointService() const
Definition Pipeline.h:218
const Aws::Vector< ServiceVpcEndpoint > & GetServiceVpcEndpoints() const
Definition Pipeline.h:231
bool PipelineNameHasBeenSet() const
Definition Pipeline.h:57
const Aws::Vector< PipelineDestination > & GetDestinations() const
Definition Pipeline.h:245
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
Definition Pipeline.h:206
const Aws::Utils::DateTime & GetLastUpdatedAt() const
Definition Pipeline.h:146
void SetStatus(PipelineStatus value)
Definition Pipeline.h:102
bool EncryptionAtRestOptionsHasBeenSet() const
Definition Pipeline.h:207
bool MinUnitsHasBeenSet() const
Definition Pipeline.h:81
bool LogPublishingOptionsHasBeenSet() const
Definition Pipeline.h:173
bool ServiceVpcEndpointsHasBeenSet() const
Definition Pipeline.h:232
const Aws::String & GetPipelineName() const
Definition Pipeline.h:56
Pipeline & WithMaxUnits(int value)
Definition Pipeline.h:93
bool LastUpdatedAtHasBeenSet() const
Definition Pipeline.h:147
Pipeline & AddServiceVpcEndpoints(ServiceVpcEndpointsT &&value)
Definition Pipeline.h:238
Pipeline & WithVpcEndpointService(VpcEndpointServiceT &&value)
Definition Pipeline.h:223
void SetPipelineArn(PipelineArnT &&value)
Definition Pipeline.h:71
const Aws::Utils::DateTime & GetCreatedAt() const
Definition Pipeline.h:134
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
Definition Pipeline.h:209
void SetIngestEndpointUrls(IngestEndpointUrlsT &&value)
Definition Pipeline.h:161
Pipeline & WithLogPublishingOptions(LogPublishingOptionsT &&value)
Definition Pipeline.h:177
Pipeline & WithDestinations(DestinationsT &&value)
Definition Pipeline.h:250
Pipeline & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
Definition Pipeline.h:211
Pipeline & WithVpcEndpoints(VpcEndpointsT &&value)
Definition Pipeline.h:189
const PipelineStatusReason & GetStatusReason() const
Definition Pipeline.h:110
void SetVpcEndpointService(VpcEndpointServiceT &&value)
Definition Pipeline.h:221
void SetDestinations(DestinationsT &&value)
Definition Pipeline.h:248
const BufferOptions & GetBufferOptions() const
Definition Pipeline.h:196
Pipeline & WithPipelineName(PipelineNameT &&value)
Definition Pipeline.h:61
bool StatusReasonHasBeenSet() const
Definition Pipeline.h:111
Pipeline & WithServiceVpcEndpoints(ServiceVpcEndpointsT &&value)
Definition Pipeline.h:236
void SetTags(TagsT &&value)
Definition Pipeline.h:262
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
Definition Pipeline.h:175
Pipeline & WithTags(TagsT &&value)
Definition Pipeline.h:264
void SetPipelineConfigurationBody(PipelineConfigurationBodyT &&value)
Definition Pipeline.h:125
bool PipelineArnHasBeenSet() const
Definition Pipeline.h:69
Pipeline & WithPipelineArn(PipelineArnT &&value)
Definition Pipeline.h:73
const LogPublishingOptions & GetLogPublishingOptions() const
Definition Pipeline.h:172
Pipeline & WithLastUpdatedAt(LastUpdatedAtT &&value)
Definition Pipeline.h:151
Pipeline & AddVpcEndpoints(VpcEndpointsT &&value)
Definition Pipeline.h:191
AWS_OSIS_API Pipeline()=default
Pipeline & WithCreatedAt(CreatedAtT &&value)
Definition Pipeline.h:139
Pipeline & AddDestinations(DestinationsT &&value)
Definition Pipeline.h:252
void SetLastUpdatedAt(LastUpdatedAtT &&value)
Definition Pipeline.h:149
void SetStatusReason(StatusReasonT &&value)
Definition Pipeline.h:113
void SetServiceVpcEndpoints(ServiceVpcEndpointsT &&value)
Definition Pipeline.h:234
void SetCreatedAt(CreatedAtT &&value)
Definition Pipeline.h:137
AWS_OSIS_API Pipeline & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Tag > & GetTags() const
Definition Pipeline.h:259
const Aws::String & GetPipelineConfigurationBody() const
Definition Pipeline.h:122
void SetPipelineName(PipelineNameT &&value)
Definition Pipeline.h:59
bool CreatedAtHasBeenSet() const
Definition Pipeline.h:135
Pipeline & AddIngestEndpointUrls(IngestEndpointUrlsT &&value)
Definition Pipeline.h:165
Pipeline & WithIngestEndpointUrls(IngestEndpointUrlsT &&value)
Definition Pipeline.h:163
bool PipelineConfigurationBodyHasBeenSet() const
Definition Pipeline.h:123
bool IngestEndpointUrlsHasBeenSet() const
Definition Pipeline.h:159
PipelineStatus GetStatus() const
Definition Pipeline.h:100
bool TagsHasBeenSet() const
Definition Pipeline.h:260
void SetBufferOptions(BufferOptionsT &&value)
Definition Pipeline.h:199
Pipeline & AddTags(TagsT &&value)
Definition Pipeline.h:266
Pipeline & WithMinUnits(int value)
Definition Pipeline.h:83
bool StatusHasBeenSet() const
Definition Pipeline.h:101
const Aws::String & GetPipelineArn() const
Definition Pipeline.h:68
Pipeline & WithStatus(PipelineStatus value)
Definition Pipeline.h:103
Pipeline & WithPipelineConfigurationBody(PipelineConfigurationBodyT &&value)
Definition Pipeline.h:127
void SetVpcEndpoints(VpcEndpointsT &&value)
Definition Pipeline.h:187
bool DestinationsHasBeenSet() const
Definition Pipeline.h:246
void SetMaxUnits(int value)
Definition Pipeline.h:92
Pipeline & WithBufferOptions(BufferOptionsT &&value)
Definition Pipeline.h:201
bool MaxUnitsHasBeenSet() const
Definition Pipeline.h:91
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue