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

Contains information about a pipeline.

See Also:

AWS * API Reference

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

The name of the pipeline.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the pipeline.

*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *

The name of the pipeline.

*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *

The name of the pipeline.

*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *

The name of the pipeline.

*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *

The name of the pipeline.

*/ inline Pipeline& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the pipeline.

*/ inline Pipeline& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the pipeline.

*/ inline Pipeline& WithName(const char* value) { SetName(value); return *this;} /** *

The ARN of the pipeline.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The ARN of the pipeline.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN of the pipeline.

*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *

The ARN of the pipeline.

*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *

The ARN of the pipeline.

*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *

The ARN of the pipeline.

*/ inline Pipeline& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The ARN of the pipeline.

*/ inline Pipeline& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The ARN of the pipeline.

*/ inline Pipeline& WithArn(const char* value) { SetArn(value); return *this;} /** *

The activities that perform transformations on the messages.

*/ inline const Aws::Vector& GetActivities() const{ return m_activities; } /** *

The activities that perform transformations on the messages.

*/ inline bool ActivitiesHasBeenSet() const { return m_activitiesHasBeenSet; } /** *

The activities that perform transformations on the messages.

*/ inline void SetActivities(const Aws::Vector& value) { m_activitiesHasBeenSet = true; m_activities = value; } /** *

The activities that perform transformations on the messages.

*/ inline void SetActivities(Aws::Vector&& value) { m_activitiesHasBeenSet = true; m_activities = std::move(value); } /** *

The activities that perform transformations on the messages.

*/ inline Pipeline& WithActivities(const Aws::Vector& value) { SetActivities(value); return *this;} /** *

The activities that perform transformations on the messages.

*/ inline Pipeline& WithActivities(Aws::Vector&& value) { SetActivities(std::move(value)); return *this;} /** *

The activities that perform transformations on the messages.

*/ inline Pipeline& AddActivities(const PipelineActivity& value) { m_activitiesHasBeenSet = true; m_activities.push_back(value); return *this; } /** *

The activities that perform transformations on the messages.

*/ inline Pipeline& AddActivities(PipelineActivity&& value) { m_activitiesHasBeenSet = true; m_activities.push_back(std::move(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 Pipeline& WithReprocessingSummaries(const Aws::Vector& value) { SetReprocessingSummaries(value); return *this;} /** *

A summary of information about the pipeline reprocessing.

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

A summary of information about the pipeline reprocessing.

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

A summary of information about the pipeline reprocessing.

*/ inline Pipeline& 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 Pipeline& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When the pipeline was created.

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

The last time the pipeline was updated.

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

The last time the pipeline was updated.

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

The last time the pipeline was updated.

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

The last time the pipeline was updated.

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

The last time the pipeline was updated.

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

The last time the pipeline was updated.

*/ inline Pipeline& WithLastUpdateTime(Aws::Utils::DateTime&& value) { SetLastUpdateTime(std::move(value)); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; Aws::Vector m_activities; bool m_activitiesHasBeenSet = 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