/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace IoTAnalytics { namespace Model { /** *

A summary of information about a pipeline.

See Also:

AWS * API Reference

*/ class PipelineSummary { public: AWS_IOTANALYTICS_API PipelineSummary(); AWS_IOTANALYTICS_API PipelineSummary(Aws::Utils::Json::JsonView jsonValue); AWS_IOTANALYTICS_API PipelineSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_IOTANALYTICS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

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 PipelineSummary& WithPipelineName(const Aws::String& value) { SetPipelineName(value); return *this;} /** *

The name of the pipeline.

*/ inline PipelineSummary& WithPipelineName(Aws::String&& value) { SetPipelineName(std::move(value)); return *this;} /** *

The name of the pipeline.

*/ inline PipelineSummary& WithPipelineName(const char* value) { SetPipelineName(value); return *this;} /** *

A summary of information about the pipeline reprocessing.

*/ inline const Aws::Vector& GetReprocessingSummaries() const{ return m_reprocessingSummaries; } /** *

A summary of information about the pipeline reprocessing.

*/ inline bool ReprocessingSummariesHasBeenSet() const { return m_reprocessingSummariesHasBeenSet; } /** *

A summary of information about the pipeline reprocessing.

*/ inline void SetReprocessingSummaries(const Aws::Vector& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries = value; } /** *

A summary of information about the pipeline reprocessing.

*/ inline void SetReprocessingSummaries(Aws::Vector&& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries = std::move(value); } /** *

A summary of information about the pipeline reprocessing.

*/ inline PipelineSummary& WithReprocessingSummaries(const Aws::Vector& value) { SetReprocessingSummaries(value); return *this;} /** *

A summary of information about the pipeline reprocessing.

*/ inline PipelineSummary& WithReprocessingSummaries(Aws::Vector&& value) { SetReprocessingSummaries(std::move(value)); return *this;} /** *

A summary of information about the pipeline reprocessing.

*/ inline PipelineSummary& AddReprocessingSummaries(const ReprocessingSummary& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries.push_back(value); return *this; } /** *

A summary of information about the pipeline reprocessing.

*/ inline PipelineSummary& AddReprocessingSummaries(ReprocessingSummary&& value) { m_reprocessingSummariesHasBeenSet = true; m_reprocessingSummaries.push_back(std::move(value)); return *this; } /** *

When the pipeline was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When the pipeline was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When the pipeline was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

When the pipeline was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

When the pipeline was created.

*/ inline PipelineSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the pipeline was created.

*/ inline PipelineSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

When the pipeline was last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdateTime() const{ return m_lastUpdateTime; } /** *

When the pipeline was last updated.

*/ inline bool LastUpdateTimeHasBeenSet() const { return m_lastUpdateTimeHasBeenSet; } /** *

When the pipeline was last updated.

*/ inline void SetLastUpdateTime(const Aws::Utils::DateTime& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = value; } /** *

When the pipeline was last updated.

*/ inline void SetLastUpdateTime(Aws::Utils::DateTime&& value) { m_lastUpdateTimeHasBeenSet = true; m_lastUpdateTime = std::move(value); } /** *

When the pipeline was last updated.

*/ inline PipelineSummary& WithLastUpdateTime(const Aws::Utils::DateTime& value) { SetLastUpdateTime(value); return *this;} /** *

When the pipeline was last updated.

*/ inline PipelineSummary& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} private: Aws::String m_pipelineName; bool m_pipelineNameHasBeenSet = false; Aws::Vector m_reprocessingSummaries; bool m_reprocessingSummariesHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_lastUpdateTime; bool m_lastUpdateTimeHasBeenSet = false; }; } // namespace Model } // namespace IoTAnalytics } // namespace Aws