/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The information about a processor in a channel flow.See Also:
* AWS
* API Reference
The name of the channel flow.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the channel flow.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the channel flow.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the channel flow.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the channel flow.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the channel flow.
*/ inline Processor& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the channel flow.
*/ inline Processor& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the channel flow.
*/ inline Processor& WithName(const char* value) { SetName(value); return *this;} /** *The information about the type of processor and its identifier.
*/ inline const ProcessorConfiguration& GetConfiguration() const{ return m_configuration; } /** *The information about the type of processor and its identifier.
*/ inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; } /** *The information about the type of processor and its identifier.
*/ inline void SetConfiguration(const ProcessorConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; } /** *The information about the type of processor and its identifier.
*/ inline void SetConfiguration(ProcessorConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); } /** *The information about the type of processor and its identifier.
*/ inline Processor& WithConfiguration(const ProcessorConfiguration& value) { SetConfiguration(value); return *this;} /** *The information about the type of processor and its identifier.
*/ inline Processor& WithConfiguration(ProcessorConfiguration&& value) { SetConfiguration(std::move(value)); return *this;} /** *The sequence in which processors run. If you have multiple processors in a * channel flow, message processing goes through each processor in the sequence. * The value determines the sequence. At this point, we support only 1 processor * within a flow.
*/ inline int GetExecutionOrder() const{ return m_executionOrder; } /** *The sequence in which processors run. If you have multiple processors in a * channel flow, message processing goes through each processor in the sequence. * The value determines the sequence. At this point, we support only 1 processor * within a flow.
*/ inline bool ExecutionOrderHasBeenSet() const { return m_executionOrderHasBeenSet; } /** *The sequence in which processors run. If you have multiple processors in a * channel flow, message processing goes through each processor in the sequence. * The value determines the sequence. At this point, we support only 1 processor * within a flow.
*/ inline void SetExecutionOrder(int value) { m_executionOrderHasBeenSet = true; m_executionOrder = value; } /** *The sequence in which processors run. If you have multiple processors in a * channel flow, message processing goes through each processor in the sequence. * The value determines the sequence. At this point, we support only 1 processor * within a flow.
*/ inline Processor& WithExecutionOrder(int value) { SetExecutionOrder(value); return *this;} /** *Determines whether to continue with message processing or stop it in cases
* where communication with a processor fails. If a processor has a fallback action
* of ABORT
and communication with it fails, the processor sets the
* message status to FAILED
and does not send the message to any
* recipients. Note that if the last processor in the channel flow sequence has a
* fallback action of CONTINUE
and communication with the processor
* fails, then the message is considered processed and sent to recipients of the
* channel.
Determines whether to continue with message processing or stop it in cases
* where communication with a processor fails. If a processor has a fallback action
* of ABORT
and communication with it fails, the processor sets the
* message status to FAILED
and does not send the message to any
* recipients. Note that if the last processor in the channel flow sequence has a
* fallback action of CONTINUE
and communication with the processor
* fails, then the message is considered processed and sent to recipients of the
* channel.
Determines whether to continue with message processing or stop it in cases
* where communication with a processor fails. If a processor has a fallback action
* of ABORT
and communication with it fails, the processor sets the
* message status to FAILED
and does not send the message to any
* recipients. Note that if the last processor in the channel flow sequence has a
* fallback action of CONTINUE
and communication with the processor
* fails, then the message is considered processed and sent to recipients of the
* channel.
Determines whether to continue with message processing or stop it in cases
* where communication with a processor fails. If a processor has a fallback action
* of ABORT
and communication with it fails, the processor sets the
* message status to FAILED
and does not send the message to any
* recipients. Note that if the last processor in the channel flow sequence has a
* fallback action of CONTINUE
and communication with the processor
* fails, then the message is considered processed and sent to recipients of the
* channel.
Determines whether to continue with message processing or stop it in cases
* where communication with a processor fails. If a processor has a fallback action
* of ABORT
and communication with it fails, the processor sets the
* message status to FAILED
and does not send the message to any
* recipients. Note that if the last processor in the channel flow sequence has a
* fallback action of CONTINUE
and communication with the processor
* fails, then the message is considered processed and sent to recipients of the
* channel.
Determines whether to continue with message processing or stop it in cases
* where communication with a processor fails. If a processor has a fallback action
* of ABORT
and communication with it fails, the processor sets the
* message status to FAILED
and does not send the message to any
* recipients. Note that if the last processor in the channel flow sequence has a
* fallback action of CONTINUE
and communication with the processor
* fails, then the message is considered processed and sent to recipients of the
* channel.