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>
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>
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>
82 inline void SetMinUnits(
int value) { m_minUnitsHasBeenSet =
true; m_minUnits = value; }
92 inline void SetMaxUnits(
int value) { m_maxUnitsHasBeenSet =
true; m_maxUnits = value; }
112 template<
typename StatusReasonT = PipelineStatusReason>
113 void SetStatusReason(StatusReasonT&& value) { m_statusReasonHasBeenSet =
true; m_statusReason = std::forward<StatusReasonT>(value); }
114 template<
typename StatusReasonT = PipelineStatusReason>
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>
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>
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>
160 template<
typename IngestEndpo
intUrlsT = Aws::Vector<Aws::String>>
161 void SetIngestEndpointUrls(IngestEndpointUrlsT&& value) { m_ingestEndpointUrlsHasBeenSet =
true; m_ingestEndpointUrls = std::forward<IngestEndpointUrlsT>(value); }
162 template<
typename IngestEndpo
intUrlsT = Aws::Vector<Aws::String>>
164 template<
typename IngestEndpo
intUrlsT = Aws::String>
165 Pipeline&
AddIngestEndpointUrls(IngestEndpointUrlsT&& value) { m_ingestEndpointUrlsHasBeenSet =
true; m_ingestEndpointUrls.emplace_back(std::forward<IngestEndpointUrlsT>(value));
return *
this; }
174 template<
typename LogPublishingOptionsT = LogPublishingOptions>
175 void SetLogPublishingOptions(LogPublishingOptionsT&& value) { m_logPublishingOptionsHasBeenSet =
true; m_logPublishingOptions = std::forward<LogPublishingOptionsT>(value); }
176 template<
typename LogPublishingOptionsT = LogPublishingOptions>
186 template<
typename VpcEndpo
intsT = Aws::Vector<VpcEndpo
int>>
187 void SetVpcEndpoints(VpcEndpointsT&& value) { m_vpcEndpointsHasBeenSet =
true; m_vpcEndpoints = std::forward<VpcEndpointsT>(value); }
188 template<
typename VpcEndpo
intsT = Aws::Vector<VpcEndpo
int>>
190 template<
typename VpcEndpo
intsT = VpcEndpo
int>
191 Pipeline&
AddVpcEndpoints(VpcEndpointsT&& value) { m_vpcEndpointsHasBeenSet =
true; m_vpcEndpoints.emplace_back(std::forward<VpcEndpointsT>(value));
return *
this; }
198 template<
typename BufferOptionsT = BufferOptions>
199 void SetBufferOptions(BufferOptionsT&& value) { m_bufferOptionsHasBeenSet =
true; m_bufferOptions = std::forward<BufferOptionsT>(value); }
200 template<
typename BufferOptionsT = BufferOptions>
208 template<
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
209 void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT&& value) { m_encryptionAtRestOptionsHasBeenSet =
true; m_encryptionAtRestOptions = std::forward<EncryptionAtRestOptionsT>(value); }
210 template<
typename EncryptionAtRestOptionsT = EncryptionAtRestOptions>
220 template<
typename VpcEndpo
intServiceT = Aws::String>
221 void SetVpcEndpointService(VpcEndpointServiceT&& value) { m_vpcEndpointServiceHasBeenSet =
true; m_vpcEndpointService = std::forward<VpcEndpointServiceT>(value); }
222 template<
typename VpcEndpo
intServiceT = Aws::String>
233 template<
typename ServiceVpcEndpo
intsT = Aws::Vector<ServiceVpcEndpo
int>>
234 void SetServiceVpcEndpoints(ServiceVpcEndpointsT&& value) { m_serviceVpcEndpointsHasBeenSet =
true; m_serviceVpcEndpoints = std::forward<ServiceVpcEndpointsT>(value); }
235 template<
typename ServiceVpcEndpo
intsT = Aws::Vector<ServiceVpcEndpo
int>>
237 template<
typename ServiceVpcEndpo
intsT = ServiceVpcEndpo
int>
238 Pipeline&
AddServiceVpcEndpoints(ServiceVpcEndpointsT&& value) { m_serviceVpcEndpointsHasBeenSet =
true; m_serviceVpcEndpoints.emplace_back(std::forward<ServiceVpcEndpointsT>(value));
return *
this; }
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>>
251 template<
typename DestinationsT = PipelineDestination>
252 Pipeline&
AddDestinations(DestinationsT&& value) { m_destinationsHasBeenSet =
true; m_destinations.emplace_back(std::forward<DestinationsT>(value));
return *
this; }
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>>
265 template<
typename TagsT = Tag>
266 Pipeline&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
271 bool m_pipelineNameHasBeenSet =
false;
274 bool m_pipelineArnHasBeenSet =
false;
277 bool m_minUnitsHasBeenSet =
false;
280 bool m_maxUnitsHasBeenSet =
false;
283 bool m_statusHasBeenSet =
false;
285 PipelineStatusReason m_statusReason;
286 bool m_statusReasonHasBeenSet =
false;
289 bool m_pipelineConfigurationBodyHasBeenSet =
false;
292 bool m_createdAtHasBeenSet =
false;
295 bool m_lastUpdatedAtHasBeenSet =
false;
298 bool m_ingestEndpointUrlsHasBeenSet =
false;
300 LogPublishingOptions m_logPublishingOptions;
301 bool m_logPublishingOptionsHasBeenSet =
false;
304 bool m_vpcEndpointsHasBeenSet =
false;
306 BufferOptions m_bufferOptions;
307 bool m_bufferOptionsHasBeenSet =
false;
309 EncryptionAtRestOptions m_encryptionAtRestOptions;
310 bool m_encryptionAtRestOptionsHasBeenSet =
false;
313 bool m_vpcEndpointServiceHasBeenSet =
false;
316 bool m_serviceVpcEndpointsHasBeenSet =
false;
319 bool m_destinationsHasBeenSet =
false;
322 bool m_tagsHasBeenSet =
false;
AWS_OSIS_API Pipeline(Aws::Utils::Json::JsonView jsonValue)
bool BufferOptionsHasBeenSet() const
const Aws::Vector< VpcEndpoint > & GetVpcEndpoints() const
const Aws::Vector< Aws::String > & GetIngestEndpointUrls() const
void SetMinUnits(int value)
Pipeline & WithStatusReason(StatusReasonT &&value)
bool VpcEndpointsHasBeenSet() const
bool VpcEndpointServiceHasBeenSet() const
const Aws::String & GetVpcEndpointService() const
const Aws::Vector< ServiceVpcEndpoint > & GetServiceVpcEndpoints() const
bool PipelineNameHasBeenSet() const
const Aws::Vector< PipelineDestination > & GetDestinations() const
AWS_OSIS_API Aws::Utils::Json::JsonValue Jsonize() const
const EncryptionAtRestOptions & GetEncryptionAtRestOptions() const
const Aws::Utils::DateTime & GetLastUpdatedAt() const
void SetStatus(PipelineStatus value)
bool EncryptionAtRestOptionsHasBeenSet() const
bool MinUnitsHasBeenSet() const
bool LogPublishingOptionsHasBeenSet() const
bool ServiceVpcEndpointsHasBeenSet() const
const Aws::String & GetPipelineName() const
Pipeline & WithMaxUnits(int value)
bool LastUpdatedAtHasBeenSet() const
Pipeline & AddServiceVpcEndpoints(ServiceVpcEndpointsT &&value)
Pipeline & WithVpcEndpointService(VpcEndpointServiceT &&value)
void SetPipelineArn(PipelineArnT &&value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
void SetIngestEndpointUrls(IngestEndpointUrlsT &&value)
Pipeline & WithLogPublishingOptions(LogPublishingOptionsT &&value)
Pipeline & WithDestinations(DestinationsT &&value)
Pipeline & WithEncryptionAtRestOptions(EncryptionAtRestOptionsT &&value)
Pipeline & WithVpcEndpoints(VpcEndpointsT &&value)
const PipelineStatusReason & GetStatusReason() const
void SetVpcEndpointService(VpcEndpointServiceT &&value)
void SetDestinations(DestinationsT &&value)
const BufferOptions & GetBufferOptions() const
Pipeline & WithPipelineName(PipelineNameT &&value)
bool StatusReasonHasBeenSet() const
Pipeline & WithServiceVpcEndpoints(ServiceVpcEndpointsT &&value)
void SetTags(TagsT &&value)
void SetLogPublishingOptions(LogPublishingOptionsT &&value)
Pipeline & WithTags(TagsT &&value)
void SetPipelineConfigurationBody(PipelineConfigurationBodyT &&value)
bool PipelineArnHasBeenSet() const
Pipeline & WithPipelineArn(PipelineArnT &&value)
const LogPublishingOptions & GetLogPublishingOptions() const
Pipeline & WithLastUpdatedAt(LastUpdatedAtT &&value)
Pipeline & AddVpcEndpoints(VpcEndpointsT &&value)
AWS_OSIS_API Pipeline()=default
Pipeline & WithCreatedAt(CreatedAtT &&value)
Pipeline & AddDestinations(DestinationsT &&value)
void SetLastUpdatedAt(LastUpdatedAtT &&value)
void SetStatusReason(StatusReasonT &&value)
void SetServiceVpcEndpoints(ServiceVpcEndpointsT &&value)
void SetCreatedAt(CreatedAtT &&value)
AWS_OSIS_API Pipeline & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetPipelineConfigurationBody() const
void SetPipelineName(PipelineNameT &&value)
bool CreatedAtHasBeenSet() const
Pipeline & AddIngestEndpointUrls(IngestEndpointUrlsT &&value)
Pipeline & WithIngestEndpointUrls(IngestEndpointUrlsT &&value)
bool PipelineConfigurationBodyHasBeenSet() const
bool IngestEndpointUrlsHasBeenSet() const
PipelineStatus GetStatus() const
bool TagsHasBeenSet() const
void SetBufferOptions(BufferOptionsT &&value)
Pipeline & AddTags(TagsT &&value)
Pipeline & WithMinUnits(int value)
bool StatusHasBeenSet() const
const Aws::String & GetPipelineArn() const
Pipeline & WithStatus(PipelineStatus value)
Pipeline & WithPipelineConfigurationBody(PipelineConfigurationBodyT &&value)
void SetVpcEndpoints(VpcEndpointsT &&value)
bool DestinationsHasBeenSet() const
void SetMaxUnits(int value)
Pipeline & WithBufferOptions(BufferOptionsT &&value)
bool MaxUnitsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue