/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A workflow in list of workflows.See Also:
AWS
* API Reference
The type of workflow. The only supported value is APPFLOW_INTEGRATION.
*/ inline const WorkflowType& GetWorkflowType() const{ return m_workflowType; } /** *The type of workflow. The only supported value is APPFLOW_INTEGRATION.
*/ inline bool WorkflowTypeHasBeenSet() const { return m_workflowTypeHasBeenSet; } /** *The type of workflow. The only supported value is APPFLOW_INTEGRATION.
*/ inline void SetWorkflowType(const WorkflowType& value) { m_workflowTypeHasBeenSet = true; m_workflowType = value; } /** *The type of workflow. The only supported value is APPFLOW_INTEGRATION.
*/ inline void SetWorkflowType(WorkflowType&& value) { m_workflowTypeHasBeenSet = true; m_workflowType = std::move(value); } /** *The type of workflow. The only supported value is APPFLOW_INTEGRATION.
*/ inline ListWorkflowsItem& WithWorkflowType(const WorkflowType& value) { SetWorkflowType(value); return *this;} /** *The type of workflow. The only supported value is APPFLOW_INTEGRATION.
*/ inline ListWorkflowsItem& WithWorkflowType(WorkflowType&& value) { SetWorkflowType(std::move(value)); return *this;} /** *Unique identifier for the workflow.
*/ inline const Aws::String& GetWorkflowId() const{ return m_workflowId; } /** *Unique identifier for the workflow.
*/ inline bool WorkflowIdHasBeenSet() const { return m_workflowIdHasBeenSet; } /** *Unique identifier for the workflow.
*/ inline void SetWorkflowId(const Aws::String& value) { m_workflowIdHasBeenSet = true; m_workflowId = value; } /** *Unique identifier for the workflow.
*/ inline void SetWorkflowId(Aws::String&& value) { m_workflowIdHasBeenSet = true; m_workflowId = std::move(value); } /** *Unique identifier for the workflow.
*/ inline void SetWorkflowId(const char* value) { m_workflowIdHasBeenSet = true; m_workflowId.assign(value); } /** *Unique identifier for the workflow.
*/ inline ListWorkflowsItem& WithWorkflowId(const Aws::String& value) { SetWorkflowId(value); return *this;} /** *Unique identifier for the workflow.
*/ inline ListWorkflowsItem& WithWorkflowId(Aws::String&& value) { SetWorkflowId(std::move(value)); return *this;} /** *Unique identifier for the workflow.
*/ inline ListWorkflowsItem& WithWorkflowId(const char* value) { SetWorkflowId(value); return *this;} /** *Status of workflow execution.
*/ inline const Status& GetStatus() const{ return m_status; } /** *Status of workflow execution.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *Status of workflow execution.
*/ inline void SetStatus(const Status& value) { m_statusHasBeenSet = true; m_status = value; } /** *Status of workflow execution.
*/ inline void SetStatus(Status&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *Status of workflow execution.
*/ inline ListWorkflowsItem& WithStatus(const Status& value) { SetStatus(value); return *this;} /** *Status of workflow execution.
*/ inline ListWorkflowsItem& WithStatus(Status&& value) { SetStatus(std::move(value)); return *this;} /** *Description for workflow execution status.
*/ inline const Aws::String& GetStatusDescription() const{ return m_statusDescription; } /** *Description for workflow execution status.
*/ inline bool StatusDescriptionHasBeenSet() const { return m_statusDescriptionHasBeenSet; } /** *Description for workflow execution status.
*/ inline void SetStatusDescription(const Aws::String& value) { m_statusDescriptionHasBeenSet = true; m_statusDescription = value; } /** *Description for workflow execution status.
*/ inline void SetStatusDescription(Aws::String&& value) { m_statusDescriptionHasBeenSet = true; m_statusDescription = std::move(value); } /** *Description for workflow execution status.
*/ inline void SetStatusDescription(const char* value) { m_statusDescriptionHasBeenSet = true; m_statusDescription.assign(value); } /** *Description for workflow execution status.
*/ inline ListWorkflowsItem& WithStatusDescription(const Aws::String& value) { SetStatusDescription(value); return *this;} /** *Description for workflow execution status.
*/ inline ListWorkflowsItem& WithStatusDescription(Aws::String&& value) { SetStatusDescription(std::move(value)); return *this;} /** *Description for workflow execution status.
*/ inline ListWorkflowsItem& WithStatusDescription(const char* value) { SetStatusDescription(value); return *this;} /** *Creation timestamp for workflow.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *Creation timestamp for workflow.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *Creation timestamp for workflow.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *Creation timestamp for workflow.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *Creation timestamp for workflow.
*/ inline ListWorkflowsItem& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *Creation timestamp for workflow.
*/ inline ListWorkflowsItem& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *Last updated timestamp for workflow.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *Last updated timestamp for workflow.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *Last updated timestamp for workflow.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *Last updated timestamp for workflow.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *Last updated timestamp for workflow.
*/ inline ListWorkflowsItem& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *Last updated timestamp for workflow.
*/ inline ListWorkflowsItem& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} private: WorkflowType m_workflowType; bool m_workflowTypeHasBeenSet = false; Aws::String m_workflowId; bool m_workflowIdHasBeenSet = false; Status m_status; bool m_statusHasBeenSet = false; Aws::String m_statusDescription; bool m_statusDescriptionHasBeenSet = 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