/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about an Step Functions state machine, which is a workflow
* consisting of a series of event- driven steps. See Also:
AWS
* API Reference
A user-defined or an auto-generated string that identifies a
* Map
state. This parameter is present only if the
* stateMachineArn
specified in input is a qualified state machine
* ARN.
A user-defined or an auto-generated string that identifies a
* Map
state. This parameter is present only if the
* stateMachineArn
specified in input is a qualified state machine
* ARN.
A user-defined or an auto-generated string that identifies a
* Map
state. This parameter is present only if the
* stateMachineArn
specified in input is a qualified state machine
* ARN.
A user-defined or an auto-generated string that identifies a
* Map
state. This parameter is present only if the
* stateMachineArn
specified in input is a qualified state machine
* ARN.
A user-defined or an auto-generated string that identifies a
* Map
state. This parameter is present only if the
* stateMachineArn
specified in input is a qualified state machine
* ARN.
A user-defined or an auto-generated string that identifies a
* Map
state. This parameter is present only if the
* stateMachineArn
specified in input is a qualified state machine
* ARN.
A user-defined or an auto-generated string that identifies a
* Map
state. This parameter is present only if the
* stateMachineArn
specified in input is a qualified state machine
* ARN.
A user-defined or an auto-generated string that identifies a
* Map
state. This parameter is present only if the
* stateMachineArn
specified in input is a qualified state machine
* ARN.
Used to set CloudWatch Logs options.
*/ inline const AwsStepFunctionStateMachineLoggingConfigurationDetails& GetLoggingConfiguration() const{ return m_loggingConfiguration; } /** *Used to set CloudWatch Logs options.
*/ inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; } /** *Used to set CloudWatch Logs options.
*/ inline void SetLoggingConfiguration(const AwsStepFunctionStateMachineLoggingConfigurationDetails& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = value; } /** *Used to set CloudWatch Logs options.
*/ inline void SetLoggingConfiguration(AwsStepFunctionStateMachineLoggingConfigurationDetails&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::move(value); } /** *Used to set CloudWatch Logs options.
*/ inline AwsStepFunctionStateMachineDetails& WithLoggingConfiguration(const AwsStepFunctionStateMachineLoggingConfigurationDetails& value) { SetLoggingConfiguration(value); return *this;} /** *Used to set CloudWatch Logs options.
*/ inline AwsStepFunctionStateMachineDetails& WithLoggingConfiguration(AwsStepFunctionStateMachineLoggingConfigurationDetails&& value) { SetLoggingConfiguration(std::move(value)); return *this;} /** *The name of the state machine.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the state machine.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the state machine.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the state machine.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the state machine.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the state machine.
*/ inline AwsStepFunctionStateMachineDetails& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the state machine.
*/ inline AwsStepFunctionStateMachineDetails& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the state machine.
*/ inline AwsStepFunctionStateMachineDetails& WithName(const char* value) { SetName(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role used when creating this state * machine.
*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *The Amazon Resource Name (ARN) of the IAM role used when creating this state * machine.
*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the IAM role used when creating this state * machine.
*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *The Amazon Resource Name (ARN) of the IAM role used when creating this state * machine.
*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the IAM role used when creating this state * machine.
*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *The Amazon Resource Name (ARN) of the IAM role used when creating this state * machine.
*/ inline AwsStepFunctionStateMachineDetails& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role used when creating this state * machine.
*/ inline AwsStepFunctionStateMachineDetails& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the IAM role used when creating this state * machine.
*/ inline AwsStepFunctionStateMachineDetails& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *The ARN that identifies the state machine.
*/ inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; } /** *The ARN that identifies the state machine.
*/ inline bool StateMachineArnHasBeenSet() const { return m_stateMachineArnHasBeenSet; } /** *The ARN that identifies the state machine.
*/ inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = value; } /** *The ARN that identifies the state machine.
*/ inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn = std::move(value); } /** *The ARN that identifies the state machine.
*/ inline void SetStateMachineArn(const char* value) { m_stateMachineArnHasBeenSet = true; m_stateMachineArn.assign(value); } /** *The ARN that identifies the state machine.
*/ inline AwsStepFunctionStateMachineDetails& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;} /** *The ARN that identifies the state machine.
*/ inline AwsStepFunctionStateMachineDetails& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;} /** *The ARN that identifies the state machine.
*/ inline AwsStepFunctionStateMachineDetails& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;} /** *The current status of the state machine.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The current status of the state machine.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The current status of the state machine.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The current status of the state machine.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The current status of the state machine.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The current status of the state machine.
*/ inline AwsStepFunctionStateMachineDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The current status of the state machine.
*/ inline AwsStepFunctionStateMachineDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The current status of the state machine.
*/ inline AwsStepFunctionStateMachineDetails& WithStatus(const char* value) { SetStatus(value); return *this;} /** *Specifies whether X-Ray tracing is enabled.
*/ inline const AwsStepFunctionStateMachineTracingConfigurationDetails& GetTracingConfiguration() const{ return m_tracingConfiguration; } /** *Specifies whether X-Ray tracing is enabled.
*/ inline bool TracingConfigurationHasBeenSet() const { return m_tracingConfigurationHasBeenSet; } /** *Specifies whether X-Ray tracing is enabled.
*/ inline void SetTracingConfiguration(const AwsStepFunctionStateMachineTracingConfigurationDetails& value) { m_tracingConfigurationHasBeenSet = true; m_tracingConfiguration = value; } /** *Specifies whether X-Ray tracing is enabled.
*/ inline void SetTracingConfiguration(AwsStepFunctionStateMachineTracingConfigurationDetails&& value) { m_tracingConfigurationHasBeenSet = true; m_tracingConfiguration = std::move(value); } /** *Specifies whether X-Ray tracing is enabled.
*/ inline AwsStepFunctionStateMachineDetails& WithTracingConfiguration(const AwsStepFunctionStateMachineTracingConfigurationDetails& value) { SetTracingConfiguration(value); return *this;} /** *Specifies whether X-Ray tracing is enabled.
*/ inline AwsStepFunctionStateMachineDetails& WithTracingConfiguration(AwsStepFunctionStateMachineTracingConfigurationDetails&& value) { SetTracingConfiguration(std::move(value)); return *this;} /** *The type of the state machine (STANDARD or EXPRESS).
*/ inline const Aws::String& GetType() const{ return m_type; } /** *The type of the state machine (STANDARD or EXPRESS).
*/ inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; } /** *The type of the state machine (STANDARD or EXPRESS).
*/ inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; } /** *The type of the state machine (STANDARD or EXPRESS).
*/ inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); } /** *The type of the state machine (STANDARD or EXPRESS).
*/ inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); } /** *The type of the state machine (STANDARD or EXPRESS).
*/ inline AwsStepFunctionStateMachineDetails& WithType(const Aws::String& value) { SetType(value); return *this;} /** *The type of the state machine (STANDARD or EXPRESS).
*/ inline AwsStepFunctionStateMachineDetails& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;} /** *The type of the state machine (STANDARD or EXPRESS).
*/ inline AwsStepFunctionStateMachineDetails& WithType(const char* value) { SetType(value); return *this;} private: Aws::String m_label; bool m_labelHasBeenSet = false; AwsStepFunctionStateMachineLoggingConfigurationDetails m_loggingConfiguration; bool m_loggingConfigurationHasBeenSet = false; Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::String m_stateMachineArn; bool m_stateMachineArnHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; AwsStepFunctionStateMachineTracingConfigurationDetails m_tracingConfiguration; bool m_tracingConfigurationHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws