/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SFN { namespace Model { class DescribeStateMachineForExecutionResult { public: AWS_SFN_API DescribeStateMachineForExecutionResult(); AWS_SFN_API DescribeStateMachineForExecutionResult(const Aws::AmazonWebServiceResult& result); AWS_SFN_API DescribeStateMachineForExecutionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the state machine associated with the * execution.

*/ inline const Aws::String& GetStateMachineArn() const{ return m_stateMachineArn; } /** *

The Amazon Resource Name (ARN) of the state machine associated with the * execution.

*/ inline void SetStateMachineArn(const Aws::String& value) { m_stateMachineArn = value; } /** *

The Amazon Resource Name (ARN) of the state machine associated with the * execution.

*/ inline void SetStateMachineArn(Aws::String&& value) { m_stateMachineArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the state machine associated with the * execution.

*/ inline void SetStateMachineArn(const char* value) { m_stateMachineArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the state machine associated with the * execution.

*/ inline DescribeStateMachineForExecutionResult& WithStateMachineArn(const Aws::String& value) { SetStateMachineArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the state machine associated with the * execution.

*/ inline DescribeStateMachineForExecutionResult& WithStateMachineArn(Aws::String&& value) { SetStateMachineArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the state machine associated with the * execution.

*/ inline DescribeStateMachineForExecutionResult& WithStateMachineArn(const char* value) { SetStateMachineArn(value); return *this;} /** *

The name of the state machine associated with the execution.

*/ inline const Aws::String& GetName() const{ return m_name; } /** *

The name of the state machine associated with the execution.

*/ inline void SetName(const Aws::String& value) { m_name = value; } /** *

The name of the state machine associated with the execution.

*/ inline void SetName(Aws::String&& value) { m_name = std::move(value); } /** *

The name of the state machine associated with the execution.

*/ inline void SetName(const char* value) { m_name.assign(value); } /** *

The name of the state machine associated with the execution.

*/ inline DescribeStateMachineForExecutionResult& WithName(const Aws::String& value) { SetName(value); return *this;} /** *

The name of the state machine associated with the execution.

*/ inline DescribeStateMachineForExecutionResult& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *

The name of the state machine associated with the execution.

*/ inline DescribeStateMachineForExecutionResult& WithName(const char* value) { SetName(value); return *this;} /** *

The Amazon States Language definition of the state machine. See Amazon * States Language.

*/ inline const Aws::String& GetDefinition() const{ return m_definition; } /** *

The Amazon States Language definition of the state machine. See Amazon * States Language.

*/ inline void SetDefinition(const Aws::String& value) { m_definition = value; } /** *

The Amazon States Language definition of the state machine. See Amazon * States Language.

*/ inline void SetDefinition(Aws::String&& value) { m_definition = std::move(value); } /** *

The Amazon States Language definition of the state machine. See Amazon * States Language.

*/ inline void SetDefinition(const char* value) { m_definition.assign(value); } /** *

The Amazon States Language definition of the state machine. See Amazon * States Language.

*/ inline DescribeStateMachineForExecutionResult& WithDefinition(const Aws::String& value) { SetDefinition(value); return *this;} /** *

The Amazon States Language definition of the state machine. See Amazon * States Language.

*/ inline DescribeStateMachineForExecutionResult& WithDefinition(Aws::String&& value) { SetDefinition(std::move(value)); return *this;} /** *

The Amazon States Language definition of the state machine. See Amazon * States Language.

*/ inline DescribeStateMachineForExecutionResult& WithDefinition(const char* value) { SetDefinition(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role of the State Machine for the * execution.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of the IAM role of the State Machine for the * execution.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of the IAM role of the State Machine for the * execution.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the IAM role of the State Machine for the * execution.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the IAM role of the State Machine for the * execution.

*/ inline DescribeStateMachineForExecutionResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role of the State Machine for the * execution.

*/ inline DescribeStateMachineForExecutionResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the IAM role of the State Machine for the * execution.

*/ inline DescribeStateMachineForExecutionResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The date and time the state machine associated with an execution was updated. * For a newly created state machine, this is the creation date.

*/ inline const Aws::Utils::DateTime& GetUpdateDate() const{ return m_updateDate; } /** *

The date and time the state machine associated with an execution was updated. * For a newly created state machine, this is the creation date.

*/ inline void SetUpdateDate(const Aws::Utils::DateTime& value) { m_updateDate = value; } /** *

The date and time the state machine associated with an execution was updated. * For a newly created state machine, this is the creation date.

*/ inline void SetUpdateDate(Aws::Utils::DateTime&& value) { m_updateDate = std::move(value); } /** *

The date and time the state machine associated with an execution was updated. * For a newly created state machine, this is the creation date.

*/ inline DescribeStateMachineForExecutionResult& WithUpdateDate(const Aws::Utils::DateTime& value) { SetUpdateDate(value); return *this;} /** *

The date and time the state machine associated with an execution was updated. * For a newly created state machine, this is the creation date.

*/ inline DescribeStateMachineForExecutionResult& WithUpdateDate(Aws::Utils::DateTime&& value) { SetUpdateDate(std::move(value)); return *this;} inline const LoggingConfiguration& GetLoggingConfiguration() const{ return m_loggingConfiguration; } inline void SetLoggingConfiguration(const LoggingConfiguration& value) { m_loggingConfiguration = value; } inline void SetLoggingConfiguration(LoggingConfiguration&& value) { m_loggingConfiguration = std::move(value); } inline DescribeStateMachineForExecutionResult& WithLoggingConfiguration(const LoggingConfiguration& value) { SetLoggingConfiguration(value); return *this;} inline DescribeStateMachineForExecutionResult& WithLoggingConfiguration(LoggingConfiguration&& value) { SetLoggingConfiguration(std::move(value)); return *this;} /** *

Selects whether X-Ray tracing is enabled.

*/ inline const TracingConfiguration& GetTracingConfiguration() const{ return m_tracingConfiguration; } /** *

Selects whether X-Ray tracing is enabled.

*/ inline void SetTracingConfiguration(const TracingConfiguration& value) { m_tracingConfiguration = value; } /** *

Selects whether X-Ray tracing is enabled.

*/ inline void SetTracingConfiguration(TracingConfiguration&& value) { m_tracingConfiguration = std::move(value); } /** *

Selects whether X-Ray tracing is enabled.

*/ inline DescribeStateMachineForExecutionResult& WithTracingConfiguration(const TracingConfiguration& value) { SetTracingConfiguration(value); return *this;} /** *

Selects whether X-Ray tracing is enabled.

*/ inline DescribeStateMachineForExecutionResult& WithTracingConfiguration(TracingConfiguration&& value) { SetTracingConfiguration(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Map Run that started the child workflow * execution. This field is returned only if the executionArn is a * child workflow execution that was started by a Distributed Map state.

*/ inline const Aws::String& GetMapRunArn() const{ return m_mapRunArn; } /** *

The Amazon Resource Name (ARN) of the Map Run that started the child workflow * execution. This field is returned only if the executionArn is a * child workflow execution that was started by a Distributed Map state.

*/ inline void SetMapRunArn(const Aws::String& value) { m_mapRunArn = value; } /** *

The Amazon Resource Name (ARN) of the Map Run that started the child workflow * execution. This field is returned only if the executionArn is a * child workflow execution that was started by a Distributed Map state.

*/ inline void SetMapRunArn(Aws::String&& value) { m_mapRunArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Map Run that started the child workflow * execution. This field is returned only if the executionArn is a * child workflow execution that was started by a Distributed Map state.

*/ inline void SetMapRunArn(const char* value) { m_mapRunArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Map Run that started the child workflow * execution. This field is returned only if the executionArn is a * child workflow execution that was started by a Distributed Map state.

*/ inline DescribeStateMachineForExecutionResult& WithMapRunArn(const Aws::String& value) { SetMapRunArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Map Run that started the child workflow * execution. This field is returned only if the executionArn is a * child workflow execution that was started by a Distributed Map state.

*/ inline DescribeStateMachineForExecutionResult& WithMapRunArn(Aws::String&& value) { SetMapRunArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Map Run that started the child workflow * execution. This field is returned only if the executionArn is a * child workflow execution that was started by a Distributed Map state.

*/ inline DescribeStateMachineForExecutionResult& WithMapRunArn(const char* value) { SetMapRunArn(value); return *this;} /** *

A user-defined or an auto-generated string that identifies a Map * state. This field is returned only if the executionArn is a child * workflow execution that was started by a Distributed Map state.

*/ inline const Aws::String& GetLabel() const{ return m_label; } /** *

A user-defined or an auto-generated string that identifies a Map * state. This field is returned only if the executionArn is a child * workflow execution that was started by a Distributed Map state.

*/ inline void SetLabel(const Aws::String& value) { m_label = value; } /** *

A user-defined or an auto-generated string that identifies a Map * state. This field is returned only if the executionArn is a child * workflow execution that was started by a Distributed Map state.

*/ inline void SetLabel(Aws::String&& value) { m_label = std::move(value); } /** *

A user-defined or an auto-generated string that identifies a Map * state. This field is returned only if the executionArn is a child * workflow execution that was started by a Distributed Map state.

*/ inline void SetLabel(const char* value) { m_label.assign(value); } /** *

A user-defined or an auto-generated string that identifies a Map * state. This field is returned only if the executionArn is a child * workflow execution that was started by a Distributed Map state.

*/ inline DescribeStateMachineForExecutionResult& WithLabel(const Aws::String& value) { SetLabel(value); return *this;} /** *

A user-defined or an auto-generated string that identifies a Map * state. This field is returned only if the executionArn is a child * workflow execution that was started by a Distributed Map state.

*/ inline DescribeStateMachineForExecutionResult& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;} /** *

A user-defined or an auto-generated string that identifies a Map * state. This field is returned only if the executionArn is a child * workflow execution that was started by a Distributed Map state.

*/ inline DescribeStateMachineForExecutionResult& WithLabel(const char* value) { SetLabel(value); return *this;} /** *

The revision identifier for the state machine. The first revision ID when you * create the state machine is null.

Use the state machine * revisionId parameter to compare the revision of a state machine * with the configuration of the state machine used for executions without * performing a diff of the properties, such as definition and * roleArn.

*/ inline const Aws::String& GetRevisionId() const{ return m_revisionId; } /** *

The revision identifier for the state machine. The first revision ID when you * create the state machine is null.

Use the state machine * revisionId parameter to compare the revision of a state machine * with the configuration of the state machine used for executions without * performing a diff of the properties, such as definition and * roleArn.

*/ inline void SetRevisionId(const Aws::String& value) { m_revisionId = value; } /** *

The revision identifier for the state machine. The first revision ID when you * create the state machine is null.

Use the state machine * revisionId parameter to compare the revision of a state machine * with the configuration of the state machine used for executions without * performing a diff of the properties, such as definition and * roleArn.

*/ inline void SetRevisionId(Aws::String&& value) { m_revisionId = std::move(value); } /** *

The revision identifier for the state machine. The first revision ID when you * create the state machine is null.

Use the state machine * revisionId parameter to compare the revision of a state machine * with the configuration of the state machine used for executions without * performing a diff of the properties, such as definition and * roleArn.

*/ inline void SetRevisionId(const char* value) { m_revisionId.assign(value); } /** *

The revision identifier for the state machine. The first revision ID when you * create the state machine is null.

Use the state machine * revisionId parameter to compare the revision of a state machine * with the configuration of the state machine used for executions without * performing a diff of the properties, such as definition and * roleArn.

*/ inline DescribeStateMachineForExecutionResult& WithRevisionId(const Aws::String& value) { SetRevisionId(value); return *this;} /** *

The revision identifier for the state machine. The first revision ID when you * create the state machine is null.

Use the state machine * revisionId parameter to compare the revision of a state machine * with the configuration of the state machine used for executions without * performing a diff of the properties, such as definition and * roleArn.

*/ inline DescribeStateMachineForExecutionResult& WithRevisionId(Aws::String&& value) { SetRevisionId(std::move(value)); return *this;} /** *

The revision identifier for the state machine. The first revision ID when you * create the state machine is null.

Use the state machine * revisionId parameter to compare the revision of a state machine * with the configuration of the state machine used for executions without * performing a diff of the properties, such as definition and * roleArn.

*/ inline DescribeStateMachineForExecutionResult& WithRevisionId(const char* value) { SetRevisionId(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeStateMachineForExecutionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeStateMachineForExecutionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeStateMachineForExecutionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_stateMachineArn; Aws::String m_name; Aws::String m_definition; Aws::String m_roleArn; Aws::Utils::DateTime m_updateDate; LoggingConfiguration m_loggingConfiguration; TracingConfiguration m_tracingConfiguration; Aws::String m_mapRunArn; Aws::String m_label; Aws::String m_revisionId; Aws::String m_requestId; }; } // namespace Model } // namespace SFN } // namespace Aws