/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The properties of the flow, such as its source, destination, trigger type,
* and so on. See Also:
AWS
* API Reference
The flow's Amazon Resource Name (ARN).
*/ inline const Aws::String& GetFlowArn() const{ return m_flowArn; } /** *The flow's Amazon Resource Name (ARN).
*/ inline bool FlowArnHasBeenSet() const { return m_flowArnHasBeenSet; } /** *The flow's Amazon Resource Name (ARN).
*/ inline void SetFlowArn(const Aws::String& value) { m_flowArnHasBeenSet = true; m_flowArn = value; } /** *The flow's Amazon Resource Name (ARN).
*/ inline void SetFlowArn(Aws::String&& value) { m_flowArnHasBeenSet = true; m_flowArn = std::move(value); } /** *The flow's Amazon Resource Name (ARN).
*/ inline void SetFlowArn(const char* value) { m_flowArnHasBeenSet = true; m_flowArn.assign(value); } /** *The flow's Amazon Resource Name (ARN).
*/ inline FlowDefinition& WithFlowArn(const Aws::String& value) { SetFlowArn(value); return *this;} /** *The flow's Amazon Resource Name (ARN).
*/ inline FlowDefinition& WithFlowArn(Aws::String&& value) { SetFlowArn(std::move(value)); return *this;} /** *The flow's Amazon Resource Name (ARN).
*/ inline FlowDefinition& WithFlowArn(const char* value) { SetFlowArn(value); return *this;} /** *A user-entered description of the flow.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A user-entered description of the flow.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A user-entered description of the flow.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A user-entered description of the flow.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A user-entered description of the flow.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A user-entered description of the flow.
*/ inline FlowDefinition& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A user-entered description of the flow.
*/ inline FlowDefinition& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A user-entered description of the flow.
*/ inline FlowDefinition& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only.
*/ inline const Aws::String& GetFlowName() const{ return m_flowName; } /** *The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only.
*/ inline bool FlowNameHasBeenSet() const { return m_flowNameHasBeenSet; } /** *The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only.
*/ inline void SetFlowName(const Aws::String& value) { m_flowNameHasBeenSet = true; m_flowName = value; } /** *The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only.
*/ inline void SetFlowName(Aws::String&& value) { m_flowNameHasBeenSet = true; m_flowName = std::move(value); } /** *The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only.
*/ inline void SetFlowName(const char* value) { m_flowNameHasBeenSet = true; m_flowName.assign(value); } /** *The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only.
*/ inline FlowDefinition& WithFlowName(const Aws::String& value) { SetFlowName(value); return *this;} /** *The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only.
*/ inline FlowDefinition& WithFlowName(Aws::String&& value) { SetFlowName(std::move(value)); return *this;} /** *The specified name of the flow. Spaces are not allowed. Use underscores (_) * or hyphens (-) only.
*/ inline FlowDefinition& WithFlowName(const char* value) { SetFlowName(value); return *this;} /** *Indicates the current status of the flow.
*/ inline const FlowStatus& GetFlowStatus() const{ return m_flowStatus; } /** *Indicates the current status of the flow.
*/ inline bool FlowStatusHasBeenSet() const { return m_flowStatusHasBeenSet; } /** *Indicates the current status of the flow.
*/ inline void SetFlowStatus(const FlowStatus& value) { m_flowStatusHasBeenSet = true; m_flowStatus = value; } /** *Indicates the current status of the flow.
*/ inline void SetFlowStatus(FlowStatus&& value) { m_flowStatusHasBeenSet = true; m_flowStatus = std::move(value); } /** *Indicates the current status of the flow.
*/ inline FlowDefinition& WithFlowStatus(const FlowStatus& value) { SetFlowStatus(value); return *this;} /** *Indicates the current status of the flow.
*/ inline FlowDefinition& WithFlowStatus(FlowStatus&& value) { SetFlowStatus(std::move(value)); return *this;} /** *Specifies the source connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline const ConnectorType& GetSourceConnectorType() const{ return m_sourceConnectorType; } /** *Specifies the source connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline bool SourceConnectorTypeHasBeenSet() const { return m_sourceConnectorTypeHasBeenSet; } /** *Specifies the source connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline void SetSourceConnectorType(const ConnectorType& value) { m_sourceConnectorTypeHasBeenSet = true; m_sourceConnectorType = value; } /** *Specifies the source connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline void SetSourceConnectorType(ConnectorType&& value) { m_sourceConnectorTypeHasBeenSet = true; m_sourceConnectorType = std::move(value); } /** *Specifies the source connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline FlowDefinition& WithSourceConnectorType(const ConnectorType& value) { SetSourceConnectorType(value); return *this;} /** *Specifies the source connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline FlowDefinition& WithSourceConnectorType(ConnectorType&& value) { SetSourceConnectorType(std::move(value)); return *this;} /** *The label of the source connector in the flow.
*/ inline const Aws::String& GetSourceConnectorLabel() const{ return m_sourceConnectorLabel; } /** *The label of the source connector in the flow.
*/ inline bool SourceConnectorLabelHasBeenSet() const { return m_sourceConnectorLabelHasBeenSet; } /** *The label of the source connector in the flow.
*/ inline void SetSourceConnectorLabel(const Aws::String& value) { m_sourceConnectorLabelHasBeenSet = true; m_sourceConnectorLabel = value; } /** *The label of the source connector in the flow.
*/ inline void SetSourceConnectorLabel(Aws::String&& value) { m_sourceConnectorLabelHasBeenSet = true; m_sourceConnectorLabel = std::move(value); } /** *The label of the source connector in the flow.
*/ inline void SetSourceConnectorLabel(const char* value) { m_sourceConnectorLabelHasBeenSet = true; m_sourceConnectorLabel.assign(value); } /** *The label of the source connector in the flow.
*/ inline FlowDefinition& WithSourceConnectorLabel(const Aws::String& value) { SetSourceConnectorLabel(value); return *this;} /** *The label of the source connector in the flow.
*/ inline FlowDefinition& WithSourceConnectorLabel(Aws::String&& value) { SetSourceConnectorLabel(std::move(value)); return *this;} /** *The label of the source connector in the flow.
*/ inline FlowDefinition& WithSourceConnectorLabel(const char* value) { SetSourceConnectorLabel(value); return *this;} /** *Specifies the destination connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline const ConnectorType& GetDestinationConnectorType() const{ return m_destinationConnectorType; } /** *Specifies the destination connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline bool DestinationConnectorTypeHasBeenSet() const { return m_destinationConnectorTypeHasBeenSet; } /** *Specifies the destination connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline void SetDestinationConnectorType(const ConnectorType& value) { m_destinationConnectorTypeHasBeenSet = true; m_destinationConnectorType = value; } /** *Specifies the destination connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline void SetDestinationConnectorType(ConnectorType&& value) { m_destinationConnectorTypeHasBeenSet = true; m_destinationConnectorType = std::move(value); } /** *Specifies the destination connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline FlowDefinition& WithDestinationConnectorType(const ConnectorType& value) { SetDestinationConnectorType(value); return *this;} /** *Specifies the destination connector type, such as Salesforce, Amazon S3, * Amplitude, and so on.
*/ inline FlowDefinition& WithDestinationConnectorType(ConnectorType&& value) { SetDestinationConnectorType(std::move(value)); return *this;} /** *The label of the destination connector in the flow.
*/ inline const Aws::String& GetDestinationConnectorLabel() const{ return m_destinationConnectorLabel; } /** *The label of the destination connector in the flow.
*/ inline bool DestinationConnectorLabelHasBeenSet() const { return m_destinationConnectorLabelHasBeenSet; } /** *The label of the destination connector in the flow.
*/ inline void SetDestinationConnectorLabel(const Aws::String& value) { m_destinationConnectorLabelHasBeenSet = true; m_destinationConnectorLabel = value; } /** *The label of the destination connector in the flow.
*/ inline void SetDestinationConnectorLabel(Aws::String&& value) { m_destinationConnectorLabelHasBeenSet = true; m_destinationConnectorLabel = std::move(value); } /** *The label of the destination connector in the flow.
*/ inline void SetDestinationConnectorLabel(const char* value) { m_destinationConnectorLabelHasBeenSet = true; m_destinationConnectorLabel.assign(value); } /** *The label of the destination connector in the flow.
*/ inline FlowDefinition& WithDestinationConnectorLabel(const Aws::String& value) { SetDestinationConnectorLabel(value); return *this;} /** *The label of the destination connector in the flow.
*/ inline FlowDefinition& WithDestinationConnectorLabel(Aws::String&& value) { SetDestinationConnectorLabel(std::move(value)); return *this;} /** *The label of the destination connector in the flow.
*/ inline FlowDefinition& WithDestinationConnectorLabel(const char* value) { SetDestinationConnectorLabel(value); return *this;} /** * Specifies the type of flow trigger. This can be OnDemand
,
* Scheduled
, or Event
.
Specifies the type of flow trigger. This can be OnDemand
,
* Scheduled
, or Event
.
Specifies the type of flow trigger. This can be OnDemand
,
* Scheduled
, or Event
.
Specifies the type of flow trigger. This can be OnDemand
,
* Scheduled
, or Event
.
Specifies the type of flow trigger. This can be OnDemand
,
* Scheduled
, or Event
.
Specifies the type of flow trigger. This can be OnDemand
,
* Scheduled
, or Event
.
Specifies when the flow was created.
*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *Specifies when the flow was created.
*/ inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; } /** *Specifies when the flow was created.
*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAtHasBeenSet = true; m_createdAt = value; } /** *Specifies when the flow was created.
*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAtHasBeenSet = true; m_createdAt = std::move(value); } /** *Specifies when the flow was created.
*/ inline FlowDefinition& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *Specifies when the flow was created.
*/ inline FlowDefinition& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *Specifies when the flow was last updated.
*/ inline const Aws::Utils::DateTime& GetLastUpdatedAt() const{ return m_lastUpdatedAt; } /** *Specifies when the flow was last updated.
*/ inline bool LastUpdatedAtHasBeenSet() const { return m_lastUpdatedAtHasBeenSet; } /** *Specifies when the flow was last updated.
*/ inline void SetLastUpdatedAt(const Aws::Utils::DateTime& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = value; } /** *Specifies when the flow was last updated.
*/ inline void SetLastUpdatedAt(Aws::Utils::DateTime&& value) { m_lastUpdatedAtHasBeenSet = true; m_lastUpdatedAt = std::move(value); } /** *Specifies when the flow was last updated.
*/ inline FlowDefinition& WithLastUpdatedAt(const Aws::Utils::DateTime& value) { SetLastUpdatedAt(value); return *this;} /** *Specifies when the flow was last updated.
*/ inline FlowDefinition& WithLastUpdatedAt(Aws::Utils::DateTime&& value) { SetLastUpdatedAt(std::move(value)); return *this;} /** *The ARN of the user who created the flow.
*/ inline const Aws::String& GetCreatedBy() const{ return m_createdBy; } /** *The ARN of the user who created the flow.
*/ inline bool CreatedByHasBeenSet() const { return m_createdByHasBeenSet; } /** *The ARN of the user who created the flow.
*/ inline void SetCreatedBy(const Aws::String& value) { m_createdByHasBeenSet = true; m_createdBy = value; } /** *The ARN of the user who created the flow.
*/ inline void SetCreatedBy(Aws::String&& value) { m_createdByHasBeenSet = true; m_createdBy = std::move(value); } /** *The ARN of the user who created the flow.
*/ inline void SetCreatedBy(const char* value) { m_createdByHasBeenSet = true; m_createdBy.assign(value); } /** *The ARN of the user who created the flow.
*/ inline FlowDefinition& WithCreatedBy(const Aws::String& value) { SetCreatedBy(value); return *this;} /** *The ARN of the user who created the flow.
*/ inline FlowDefinition& WithCreatedBy(Aws::String&& value) { SetCreatedBy(std::move(value)); return *this;} /** *The ARN of the user who created the flow.
*/ inline FlowDefinition& WithCreatedBy(const char* value) { SetCreatedBy(value); return *this;} /** *Specifies the account user name that most recently updated the flow.
*/ inline const Aws::String& GetLastUpdatedBy() const{ return m_lastUpdatedBy; } /** *Specifies the account user name that most recently updated the flow.
*/ inline bool LastUpdatedByHasBeenSet() const { return m_lastUpdatedByHasBeenSet; } /** *Specifies the account user name that most recently updated the flow.
*/ inline void SetLastUpdatedBy(const Aws::String& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = value; } /** *Specifies the account user name that most recently updated the flow.
*/ inline void SetLastUpdatedBy(Aws::String&& value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy = std::move(value); } /** *Specifies the account user name that most recently updated the flow.
*/ inline void SetLastUpdatedBy(const char* value) { m_lastUpdatedByHasBeenSet = true; m_lastUpdatedBy.assign(value); } /** *Specifies the account user name that most recently updated the flow.
*/ inline FlowDefinition& WithLastUpdatedBy(const Aws::String& value) { SetLastUpdatedBy(value); return *this;} /** *Specifies the account user name that most recently updated the flow.
*/ inline FlowDefinition& WithLastUpdatedBy(Aws::String&& value) { SetLastUpdatedBy(std::move(value)); return *this;} /** *Specifies the account user name that most recently updated the flow.
*/ inline FlowDefinition& WithLastUpdatedBy(const char* value) { SetLastUpdatedBy(value); return *this;} /** *The tags used to organize, track, or control access for your flow.
*/ inline const Aws::MapThe tags used to organize, track, or control access for your flow.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The tags used to organize, track, or control access for your flow.
*/ inline void SetTags(const Aws::MapThe tags used to organize, track, or control access for your flow.
*/ inline void SetTags(Aws::MapThe tags used to organize, track, or control access for your flow.
*/ inline FlowDefinition& WithTags(const Aws::MapThe tags used to organize, track, or control access for your flow.
*/ inline FlowDefinition& WithTags(Aws::MapThe tags used to organize, track, or control access for your flow.
*/ inline FlowDefinition& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *The tags used to organize, track, or control access for your flow.
*/ inline FlowDefinition& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags used to organize, track, or control access for your flow.
*/ inline FlowDefinition& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags used to organize, track, or control access for your flow.
*/ inline FlowDefinition& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *The tags used to organize, track, or control access for your flow.
*/ inline FlowDefinition& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *The tags used to organize, track, or control access for your flow.
*/ inline FlowDefinition& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *The tags used to organize, track, or control access for your flow.
*/ inline FlowDefinition& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *Describes the details of the most recent flow run.
*/ inline const ExecutionDetails& GetLastRunExecutionDetails() const{ return m_lastRunExecutionDetails; } /** *Describes the details of the most recent flow run.
*/ inline bool LastRunExecutionDetailsHasBeenSet() const { return m_lastRunExecutionDetailsHasBeenSet; } /** *Describes the details of the most recent flow run.
*/ inline void SetLastRunExecutionDetails(const ExecutionDetails& value) { m_lastRunExecutionDetailsHasBeenSet = true; m_lastRunExecutionDetails = value; } /** *Describes the details of the most recent flow run.
*/ inline void SetLastRunExecutionDetails(ExecutionDetails&& value) { m_lastRunExecutionDetailsHasBeenSet = true; m_lastRunExecutionDetails = std::move(value); } /** *Describes the details of the most recent flow run.
*/ inline FlowDefinition& WithLastRunExecutionDetails(const ExecutionDetails& value) { SetLastRunExecutionDetails(value); return *this;} /** *Describes the details of the most recent flow run.
*/ inline FlowDefinition& WithLastRunExecutionDetails(ExecutionDetails&& value) { SetLastRunExecutionDetails(std::move(value)); return *this;} private: Aws::String m_flowArn; bool m_flowArnHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_flowName; bool m_flowNameHasBeenSet = false; FlowStatus m_flowStatus; bool m_flowStatusHasBeenSet = false; ConnectorType m_sourceConnectorType; bool m_sourceConnectorTypeHasBeenSet = false; Aws::String m_sourceConnectorLabel; bool m_sourceConnectorLabelHasBeenSet = false; ConnectorType m_destinationConnectorType; bool m_destinationConnectorTypeHasBeenSet = false; Aws::String m_destinationConnectorLabel; bool m_destinationConnectorLabelHasBeenSet = false; TriggerType m_triggerType; bool m_triggerTypeHasBeenSet = false; Aws::Utils::DateTime m_createdAt; bool m_createdAtHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedAt; bool m_lastUpdatedAtHasBeenSet = false; Aws::String m_createdBy; bool m_createdByHasBeenSet = false; Aws::String m_lastUpdatedBy; bool m_lastUpdatedByHasBeenSet = false; Aws::Map