/** * 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 CustomerProfiles { namespace Model { /** *

Workflow step details for APPFLOW_INTEGRATION * workflow.

See Also:

AWS * API Reference

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

Name of the flow created during execution of workflow step. * APPFLOW_INTEGRATION workflow type creates an appflow flow during * workflow step execution on the customers behalf.

*/ inline const Aws::String& GetFlowName() const{ return m_flowName; } /** *

Name of the flow created during execution of workflow step. * APPFLOW_INTEGRATION workflow type creates an appflow flow during * workflow step execution on the customers behalf.

*/ inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; } /** *

Name of the flow created during execution of workflow step. * APPFLOW_INTEGRATION workflow type creates an appflow flow during * workflow step execution on the customers behalf.

*/ inline void SetFlowName(const Aws::String& value) { m_flowNameHasBeenSet = true; m_flowName = value; } /** *

Name of the flow created during execution of workflow step. * APPFLOW_INTEGRATION workflow type creates an appflow flow during * workflow step execution on the customers behalf.

*/ inline void SetFlowName(Aws::String&& value) { m_flowNameHasBeenSet = true; m_flowName = std::move(value); } /** *

Name of the flow created during execution of workflow step. * APPFLOW_INTEGRATION workflow type creates an appflow flow during * workflow step execution on the customers behalf.

*/ inline void SetFlowName(const char* value) { m_flowNameHasBeenSet = true; m_flowName.assign(value); } /** *

Name of the flow created during execution of workflow step. * APPFLOW_INTEGRATION workflow type creates an appflow flow during * workflow step execution on the customers behalf.

*/ inline AppflowIntegrationWorkflowStep& WithFlowName(const Aws::String& value) { SetFlowName(value); return *this;} /** *

Name of the flow created during execution of workflow step. * APPFLOW_INTEGRATION workflow type creates an appflow flow during * workflow step execution on the customers behalf.

*/ inline AppflowIntegrationWorkflowStep& WithFlowName(Aws::String&& value) { SetFlowName(std::move(value)); return *this;} /** *

Name of the flow created during execution of workflow step. * APPFLOW_INTEGRATION workflow type creates an appflow flow during * workflow step execution on the customers behalf.

*/ inline AppflowIntegrationWorkflowStep& WithFlowName(const char* value) { SetFlowName(value); return *this;} /** *

Workflow step status for APPFLOW_INTEGRATION workflow.

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

Workflow step status for APPFLOW_INTEGRATION workflow.

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

Workflow step status for APPFLOW_INTEGRATION workflow.

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

Workflow step status for APPFLOW_INTEGRATION workflow.

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

Workflow step status for APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *

Workflow step status for APPFLOW_INTEGRATION workflow.

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

Message indicating execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline const Aws::String& GetExecutionMessage() const{ return m_executionMessage; } /** *

Message indicating execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline bool ExecutionMessageHasBeenSet() const { return m_executionMessageHasBeenSet; } /** *

Message indicating execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline void SetExecutionMessage(const Aws::String& value) { m_executionMessageHasBeenSet = true; m_executionMessage = value; } /** *

Message indicating execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline void SetExecutionMessage(Aws::String&& value) { m_executionMessageHasBeenSet = true; m_executionMessage = std::move(value); } /** *

Message indicating execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline void SetExecutionMessage(const char* value) { m_executionMessageHasBeenSet = true; m_executionMessage.assign(value); } /** *

Message indicating execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithExecutionMessage(const Aws::String& value) { SetExecutionMessage(value); return *this;} /** *

Message indicating execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithExecutionMessage(Aws::String&& value) { SetExecutionMessage(std::move(value)); return *this;} /** *

Message indicating execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithExecutionMessage(const char* value) { SetExecutionMessage(value); return *this;} /** *

Total number of records processed during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline long long GetRecordsProcessed() const{ return m_recordsProcessed; } /** *

Total number of records processed during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline bool RecordsProcessedHasBeenSet() const { return m_recordsProcessedHasBeenSet; } /** *

Total number of records processed during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline void SetRecordsProcessed(long long value) { m_recordsProcessedHasBeenSet = true; m_recordsProcessed = value; } /** *

Total number of records processed during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithRecordsProcessed(long long value) { SetRecordsProcessed(value); return *this;} /** *

Start datetime of records pulled in batch during execution of workflow step * for APPFLOW_INTEGRATION workflow.

*/ inline const Aws::String& GetBatchRecordsStartTime() const{ return m_batchRecordsStartTime; } /** *

Start datetime of records pulled in batch during execution of workflow step * for APPFLOW_INTEGRATION workflow.

*/ inline bool BatchRecordsStartTimeHasBeenSet() const { return m_batchRecordsStartTimeHasBeenSet; } /** *

Start datetime of records pulled in batch during execution of workflow step * for APPFLOW_INTEGRATION workflow.

*/ inline void SetBatchRecordsStartTime(const Aws::String& value) { m_batchRecordsStartTimeHasBeenSet = true; m_batchRecordsStartTime = value; } /** *

Start datetime of records pulled in batch during execution of workflow step * for APPFLOW_INTEGRATION workflow.

*/ inline void SetBatchRecordsStartTime(Aws::String&& value) { m_batchRecordsStartTimeHasBeenSet = true; m_batchRecordsStartTime = std::move(value); } /** *

Start datetime of records pulled in batch during execution of workflow step * for APPFLOW_INTEGRATION workflow.

*/ inline void SetBatchRecordsStartTime(const char* value) { m_batchRecordsStartTimeHasBeenSet = true; m_batchRecordsStartTime.assign(value); } /** *

Start datetime of records pulled in batch during execution of workflow step * for APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithBatchRecordsStartTime(const Aws::String& value) { SetBatchRecordsStartTime(value); return *this;} /** *

Start datetime of records pulled in batch during execution of workflow step * for APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithBatchRecordsStartTime(Aws::String&& value) { SetBatchRecordsStartTime(std::move(value)); return *this;} /** *

Start datetime of records pulled in batch during execution of workflow step * for APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithBatchRecordsStartTime(const char* value) { SetBatchRecordsStartTime(value); return *this;} /** *

End datetime of records pulled in batch during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline const Aws::String& GetBatchRecordsEndTime() const{ return m_batchRecordsEndTime; } /** *

End datetime of records pulled in batch during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline bool BatchRecordsEndTimeHasBeenSet() const { return m_batchRecordsEndTimeHasBeenSet; } /** *

End datetime of records pulled in batch during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline void SetBatchRecordsEndTime(const Aws::String& value) { m_batchRecordsEndTimeHasBeenSet = true; m_batchRecordsEndTime = value; } /** *

End datetime of records pulled in batch during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline void SetBatchRecordsEndTime(Aws::String&& value) { m_batchRecordsEndTimeHasBeenSet = true; m_batchRecordsEndTime = std::move(value); } /** *

End datetime of records pulled in batch during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline void SetBatchRecordsEndTime(const char* value) { m_batchRecordsEndTimeHasBeenSet = true; m_batchRecordsEndTime.assign(value); } /** *

End datetime of records pulled in batch during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithBatchRecordsEndTime(const Aws::String& value) { SetBatchRecordsEndTime(value); return *this;} /** *

End datetime of records pulled in batch during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithBatchRecordsEndTime(Aws::String&& value) { SetBatchRecordsEndTime(std::move(value)); return *this;} /** *

End datetime of records pulled in batch during execution of workflow step for * APPFLOW_INTEGRATION workflow.

*/ inline AppflowIntegrationWorkflowStep& WithBatchRecordsEndTime(const char* value) { SetBatchRecordsEndTime(value); return *this;} /** *

Creation timestamp of workflow step for APPFLOW_INTEGRATION * workflow.

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

Creation timestamp of workflow step for APPFLOW_INTEGRATION * workflow.

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

Creation timestamp of workflow step for APPFLOW_INTEGRATION * workflow.

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

Creation timestamp of workflow step for APPFLOW_INTEGRATION * workflow.

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

Creation timestamp of workflow step for APPFLOW_INTEGRATION * workflow.

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

Creation timestamp of workflow step for APPFLOW_INTEGRATION * workflow.

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

Last updated timestamp for workflow step for APPFLOW_INTEGRATION * workflow.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *

Last updated timestamp for workflow step for APPFLOW_INTEGRATION * workflow.

*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *

Last updated timestamp for workflow step for APPFLOW_INTEGRATION * workflow.

*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *

Last updated timestamp for workflow step for APPFLOW_INTEGRATION * workflow.

*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *

Last updated timestamp for workflow step for APPFLOW_INTEGRATION * workflow.

*/ inline AppflowIntegrationWorkflowStep& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *

Last updated timestamp for workflow step for APPFLOW_INTEGRATION * workflow.

*/ inline AppflowIntegrationWorkflowStep& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} private: Aws::String m_flowName; bool m_flowNameHasBeenSet = false; Status m_status; bool m_statusHasBeenSet = false; Aws::String m_executionMessage; bool m_executionMessageHasBeenSet = false; long long m_recordsProcessed; bool m_recordsProcessedHasBeenSet = false; Aws::String m_batchRecordsStartTime; bool m_batchRecordsStartTimeHasBeenSet = false; Aws::String m_batchRecordsEndTime; bool m_batchRecordsEndTimeHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; }; } // namespace Model } // namespace CustomerProfiles } // namespace Aws