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

An object that contains summary information about a flow * execution.

See Also:

AWS * API Reference

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

The ID of the flow execution.

*/ inline const Aws::String& GetFlowExecutionId() const{ return m_flowExecutionId; } /** *

The ID of the flow execution.

*/ inline bool FlowExecutionIdHasBeenSet() const { return m_flowExecutionIdHasBeenSet; } /** *

The ID of the flow execution.

*/ inline void SetFlowExecutionId(const Aws::String& value) { m_flowExecutionIdHasBeenSet = true; m_flowExecutionId = value; } /** *

The ID of the flow execution.

*/ inline void SetFlowExecutionId(Aws::String&& value) { m_flowExecutionIdHasBeenSet = true; m_flowExecutionId = std::move(value); } /** *

The ID of the flow execution.

*/ inline void SetFlowExecutionId(const char* value) { m_flowExecutionIdHasBeenSet = true; m_flowExecutionId.assign(value); } /** *

The ID of the flow execution.

*/ inline FlowExecutionSummary& WithFlowExecutionId(const Aws::String& value) { SetFlowExecutionId(value); return *this;} /** *

The ID of the flow execution.

*/ inline FlowExecutionSummary& WithFlowExecutionId(Aws::String&& value) { SetFlowExecutionId(std::move(value)); return *this;} /** *

The ID of the flow execution.

*/ inline FlowExecutionSummary& WithFlowExecutionId(const char* value) { SetFlowExecutionId(value); return *this;} /** *

The current status of the flow execution.

*/ inline const FlowExecutionStatus& GetStatus() const{ return m_status; } /** *

The current status of the flow execution.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the flow execution.

*/ inline void SetStatus(const FlowExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the flow execution.

*/ inline void SetStatus(FlowExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the flow execution.

*/ inline FlowExecutionSummary& WithStatus(const FlowExecutionStatus& value) { SetStatus(value); return *this;} /** *

The current status of the flow execution.

*/ inline FlowExecutionSummary& WithStatus(FlowExecutionStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The ID of the system instance that contains the flow.

*/ inline const Aws::String& GetSystemInstanceId() const{ return m_systemInstanceId; } /** *

The ID of the system instance that contains the flow.

*/ inline bool SystemInstanceIdHasBeenSet() const { return m_systemInstanceIdHasBeenSet; } /** *

The ID of the system instance that contains the flow.

*/ inline void SetSystemInstanceId(const Aws::String& value) { m_systemInstanceIdHasBeenSet = true; m_systemInstanceId = value; } /** *

The ID of the system instance that contains the flow.

*/ inline void SetSystemInstanceId(Aws::String&& value) { m_systemInstanceIdHasBeenSet = true; m_systemInstanceId = std::move(value); } /** *

The ID of the system instance that contains the flow.

*/ inline void SetSystemInstanceId(const char* value) { m_systemInstanceIdHasBeenSet = true; m_systemInstanceId.assign(value); } /** *

The ID of the system instance that contains the flow.

*/ inline FlowExecutionSummary& WithSystemInstanceId(const Aws::String& value) { SetSystemInstanceId(value); return *this;} /** *

The ID of the system instance that contains the flow.

*/ inline FlowExecutionSummary& WithSystemInstanceId(Aws::String&& value) { SetSystemInstanceId(std::move(value)); return *this;} /** *

The ID of the system instance that contains the flow.

*/ inline FlowExecutionSummary& WithSystemInstanceId(const char* value) { SetSystemInstanceId(value); return *this;} /** *

The ID of the flow.

*/ inline const Aws::String& GetFlowTemplateId() const{ return m_flowTemplateId; } /** *

The ID of the flow.

*/ inline bool FlowTemplateIdHasBeenSet() const { return m_flowTemplateIdHasBeenSet; } /** *

The ID of the flow.

*/ inline void SetFlowTemplateId(const Aws::String& value) { m_flowTemplateIdHasBeenSet = true; m_flowTemplateId = value; } /** *

The ID of the flow.

*/ inline void SetFlowTemplateId(Aws::String&& value) { m_flowTemplateIdHasBeenSet = true; m_flowTemplateId = std::move(value); } /** *

The ID of the flow.

*/ inline void SetFlowTemplateId(const char* value) { m_flowTemplateIdHasBeenSet = true; m_flowTemplateId.assign(value); } /** *

The ID of the flow.

*/ inline FlowExecutionSummary& WithFlowTemplateId(const Aws::String& value) { SetFlowTemplateId(value); return *this;} /** *

The ID of the flow.

*/ inline FlowExecutionSummary& WithFlowTemplateId(Aws::String&& value) { SetFlowTemplateId(std::move(value)); return *this;} /** *

The ID of the flow.

*/ inline FlowExecutionSummary& WithFlowTemplateId(const char* value) { SetFlowTemplateId(value); return *this;} /** *

The date and time when the flow execution summary was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The date and time when the flow execution summary was created.

*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *

The date and time when the flow execution summary was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *

The date and time when the flow execution summary was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *

The date and time when the flow execution summary was created.

*/ inline FlowExecutionSummary& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The date and time when the flow execution summary was created.

*/ inline FlowExecutionSummary& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The date and time when the flow execution summary was last updated.

*/ inline const Aws::Utils::DateTime& GetUpdatedAt() const{ return m_updatedAt; } /** *

The date and time when the flow execution summary was last updated.

*/ inline bool UpdatedAtHasBeenSet() const { return m_updatedAtHasBeenSet; } /** *

The date and time when the flow execution summary was last updated.

*/ inline void SetUpdatedAt(const Aws::Utils::DateTime& value) { m_updatedAtHasBeenSet = true; m_updatedAt = value; } /** *

The date and time when the flow execution summary was last updated.

*/ inline void SetUpdatedAt(Aws::Utils::DateTime&& value) { m_updatedAtHasBeenSet = true; m_updatedAt = std::move(value); } /** *

The date and time when the flow execution summary was last updated.

*/ inline FlowExecutionSummary& WithUpdatedAt(const Aws::Utils::DateTime& value) { SetUpdatedAt(value); return *this;} /** *

The date and time when the flow execution summary was last updated.

*/ inline FlowExecutionSummary& WithUpdatedAt(Aws::Utils::DateTime&& value) { SetUpdatedAt(std::move(value)); return *this;} private: Aws::String m_flowExecutionId; bool m_flowExecutionIdHasBeenSet = false; FlowExecutionStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_systemInstanceId; bool m_systemInstanceIdHasBeenSet = false; Aws::String m_flowTemplateId; bool m_flowTemplateIdHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_updatedAt; bool m_updatedAtHasBeenSet = false; }; } // namespace Model } // namespace IoTThingsGraph } // namespace Aws