/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about an existing OpenSearch Ingestion pipeline.See
* Also:
AWS API
* Reference
The name of the pipeline.
*/ inline const Aws::String& GetPipelineName() const{ return m_pipelineName; } /** *The name of the pipeline.
*/ inline bool PipelineNameHasBeenSet() const { return m_pipelineNameHasBeenSet; } /** *The name of the pipeline.
*/ inline void SetPipelineName(const Aws::String& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = value; } /** *The name of the pipeline.
*/ inline void SetPipelineName(Aws::String&& value) { m_pipelineNameHasBeenSet = true; m_pipelineName = std::move(value); } /** *The name of the pipeline.
*/ inline void SetPipelineName(const char* value) { m_pipelineNameHasBeenSet = true; m_pipelineName.assign(value); } /** *The name of the pipeline.
*/ inline Pipeline& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;} /** *The name of the pipeline.
*/ inline Pipeline& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;} /** *The name of the pipeline.
*/ inline Pipeline& WithPipelineName(const char* value) { SetPipelineName(value); return *this;} /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline const Aws::String& GetPipelineArn() const{ return m_pipelineArn; } /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline bool PipelineArnHasBeenSet() const { return m_pipelineArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline void SetPipelineArn(const Aws::String& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = value; } /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline void SetPipelineArn(Aws::String&& value) { m_pipelineArnHasBeenSet = true; m_pipelineArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline void SetPipelineArn(const char* value) { m_pipelineArnHasBeenSet = true; m_pipelineArn.assign(value); } /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline Pipeline& WithPipelineArn(const Aws::String& value) { SetPipelineArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline Pipeline& WithPipelineArn(Aws::String&& value) { SetPipelineArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the pipeline.
*/ inline Pipeline& WithPipelineArn(const char* value) { SetPipelineArn(value); return *this;} /** *The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
*/ inline int GetMinUnits() const{ return m_minUnits; } /** *The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
*/ inline bool MinUnitsHasBeenSet() const { return m_minUnitsHasBeenSet; } /** *The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
*/ inline void SetMinUnits(int value) { m_minUnitsHasBeenSet = true; m_minUnits = value; } /** *The minimum pipeline capacity, in Ingestion Compute Units (ICUs).
*/ inline Pipeline& WithMinUnits(int value) { SetMinUnits(value); return *this;} /** *The maximum pipeline capacity, in Ingestion Compute Units (ICUs).
*/ inline int GetMaxUnits() const{ return m_maxUnits; } /** *The maximum pipeline capacity, in Ingestion Compute Units (ICUs).
*/ inline bool MaxUnitsHasBeenSet() const { return m_maxUnitsHasBeenSet; } /** *The maximum pipeline capacity, in Ingestion Compute Units (ICUs).
*/ inline void SetMaxUnits(int value) { m_maxUnitsHasBeenSet = true; m_maxUnits = value; } /** *The maximum pipeline capacity, in Ingestion Compute Units (ICUs).
*/ inline Pipeline& WithMaxUnits(int value) { SetMaxUnits(value); return *this;} /** *The current status of the pipeline.
*/ inline const PipelineStatus& GetStatus() const{ return m_status; } /** *The current status of the pipeline.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the pipeline.
*/ inline void SetStatus(const PipelineStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the pipeline.
*/ inline void SetStatus(PipelineStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the pipeline.
*/ inline Pipeline& WithStatus(const PipelineStatus& value) { SetStatus(value); return *this;} /** *The current status of the pipeline.
*/ inline Pipeline& WithStatus(PipelineStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The reason for the current status of the pipeline.
*/ inline const PipelineStatusReason& GetStatusReason() const{ return m_statusReason; } /** *The reason for the current status of the pipeline.
*/ inline bool StatusReasonHasBeenSet() const { return m_statusReasonHasBeenSet; } /** *The reason for the current status of the pipeline.
*/ inline void SetStatusReason(const PipelineStatusReason& value) { m_statusReasonHasBeenSet = true; m_statusReason = value; } /** *The reason for the current status of the pipeline.
*/ inline void SetStatusReason(PipelineStatusReason&& value) { m_statusReasonHasBeenSet = true; m_statusReason = std::move(value); } /** *The reason for the current status of the pipeline.
*/ inline Pipeline& WithStatusReason(const PipelineStatusReason& value) { SetStatusReason(value); return *this;} /** *The reason for the current status of the pipeline.
*/ inline Pipeline& WithStatusReason(PipelineStatusReason&& value) { SetStatusReason(std::move(value)); return *this;} /** *The Data Prepper pipeline configuration in YAML format.
*/ inline const Aws::String& GetPipelineConfigurationBody() const{ return m_pipelineConfigurationBody; } /** *The Data Prepper pipeline configuration in YAML format.
*/ inline bool PipelineConfigurationBodyHasBeenSet() const { return m_pipelineConfigurationBodyHasBeenSet; } /** *The Data Prepper pipeline configuration in YAML format.
*/ inline void SetPipelineConfigurationBody(const Aws::String& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = value; } /** *The Data Prepper pipeline configuration in YAML format.
*/ inline void SetPipelineConfigurationBody(Aws::String&& value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody = std::move(value); } /** *The Data Prepper pipeline configuration in YAML format.
*/ inline void SetPipelineConfigurationBody(const char* value) { m_pipelineConfigurationBodyHasBeenSet = true; m_pipelineConfigurationBody.assign(value); } /** *The Data Prepper pipeline configuration in YAML format.
*/ inline Pipeline& WithPipelineConfigurationBody(const Aws::String& value) { SetPipelineConfigurationBody(value); return *this;} /** *The Data Prepper pipeline configuration in YAML format.
*/ inline Pipeline& WithPipelineConfigurationBody(Aws::String&& value) { SetPipelineConfigurationBody(std::move(value)); return *this;} /** *The Data Prepper pipeline configuration in YAML format.
*/ inline Pipeline& WithPipelineConfigurationBody(const char* value) { SetPipelineConfigurationBody(value); return *this;} /** *The date and time when the pipeline was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *The date and time when the pipeline was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *The date and time when the pipeline was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *The date and time when the pipeline was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *The date and time when the pipeline was created.
*/ inline Pipeline& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *The date and time when the pipeline was created.
*/ inline Pipeline& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *The date and time when the pipeline was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *The date and time when the pipeline was last updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *The date and time when the pipeline was last updated.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *The date and time when the pipeline was last updated.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *The date and time when the pipeline was last updated.
*/ inline Pipeline& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *The date and time when the pipeline was last updated.
*/ inline Pipeline& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *The ingestion endpoints for the pipeline, which you can send data to.
*/ inline const Aws::VectorThe ingestion endpoints for the pipeline, which you can send data to.
*/ inline bool IngestEndpointUrlsHasBeenSet() const { return m_ingestEndpointUrlsHasBeenSet; } /** *The ingestion endpoints for the pipeline, which you can send data to.
*/ inline void SetIngestEndpointUrls(const Aws::VectorThe ingestion endpoints for the pipeline, which you can send data to.
*/ inline void SetIngestEndpointUrls(Aws::VectorThe ingestion endpoints for the pipeline, which you can send data to.
*/ inline Pipeline& WithIngestEndpointUrls(const Aws::VectorThe ingestion endpoints for the pipeline, which you can send data to.
*/ inline Pipeline& WithIngestEndpointUrls(Aws::VectorThe ingestion endpoints for the pipeline, which you can send data to.
*/ inline Pipeline& AddIngestEndpointUrls(const Aws::String& value) { m_ingestEndpointUrlsHasBeenSet = true; m_ingestEndpointUrls.push_back(value); return *this; } /** *The ingestion endpoints for the pipeline, which you can send data to.
*/ inline Pipeline& AddIngestEndpointUrls(Aws::String&& value) { m_ingestEndpointUrlsHasBeenSet = true; m_ingestEndpointUrls.push_back(std::move(value)); return *this; } /** *The ingestion endpoints for the pipeline, which you can send data to.
*/ inline Pipeline& AddIngestEndpointUrls(const char* value) { m_ingestEndpointUrlsHasBeenSet = true; m_ingestEndpointUrls.push_back(value); return *this; } /** *Key-value pairs that represent log publishing settings.
*/ inline const LogPublishingOptions& GetLogPublishingOptions() const{ return m_logPublishingOptions; } /** *Key-value pairs that represent log publishing settings.
*/ inline bool LogPublishingOptionsHasBeenSet() const { return m_logPublishingOptionsHasBeenSet; } /** *Key-value pairs that represent log publishing settings.
*/ inline void SetLogPublishingOptions(const LogPublishingOptions& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = value; } /** *Key-value pairs that represent log publishing settings.
*/ inline void SetLogPublishingOptions(LogPublishingOptions&& value) { m_logPublishingOptionsHasBeenSet = true; m_logPublishingOptions = std::move(value); } /** *Key-value pairs that represent log publishing settings.
*/ inline Pipeline& WithLogPublishingOptions(const LogPublishingOptions& value) { SetLogPublishingOptions(value); return *this;} /** *Key-value pairs that represent log publishing settings.
*/ inline Pipeline& WithLogPublishingOptions(LogPublishingOptions&& value) { SetLogPublishingOptions(std::move(value)); return *this;} /** *The VPC interface endpoints that have access to the pipeline.
*/ inline const Aws::VectorThe VPC interface endpoints that have access to the pipeline.
*/ inline bool VpcEndpointsHasBeenSet() const { return m_vpcEndpointsHasBeenSet; } /** *The VPC interface endpoints that have access to the pipeline.
*/ inline void SetVpcEndpoints(const Aws::VectorThe VPC interface endpoints that have access to the pipeline.
*/ inline void SetVpcEndpoints(Aws::VectorThe VPC interface endpoints that have access to the pipeline.
*/ inline Pipeline& WithVpcEndpoints(const Aws::VectorThe VPC interface endpoints that have access to the pipeline.
*/ inline Pipeline& WithVpcEndpoints(Aws::VectorThe VPC interface endpoints that have access to the pipeline.
*/ inline Pipeline& AddVpcEndpoints(const VpcEndpoint& value) { m_vpcEndpointsHasBeenSet = true; m_vpcEndpoints.push_back(value); return *this; } /** *The VPC interface endpoints that have access to the pipeline.
*/ inline Pipeline& AddVpcEndpoints(VpcEndpoint&& value) { m_vpcEndpointsHasBeenSet = true; m_vpcEndpoints.push_back(std::move(value)); return *this; } private: Aws::String m_pipelineName; bool m_pipelineNameHasBeenSet = false; Aws::String m_pipelineArn; bool m_pipelineArnHasBeenSet = false; int m_minUnits; bool m_minUnitsHasBeenSet = false; int m_maxUnits; bool m_maxUnitsHasBeenSet = false; PipelineStatus m_status; bool m_statusHasBeenSet = false; PipelineStatusReason m_statusReason; bool m_statusReasonHasBeenSet = false; Aws::String m_pipelineConfigurationBody; bool m_pipelineConfigurationBodyHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; Aws::Vector