/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SWF { namespace Model { /** *

Provides the details of the DecisionTaskStarted * event.

See Also:

AWS * API Reference

*/ class DecisionTaskStartedEventAttributes { public: AWS_SWF_API DecisionTaskStartedEventAttributes(); AWS_SWF_API DecisionTaskStartedEventAttributes(Aws::Utils::Json::JsonView jsonValue); AWS_SWF_API DecisionTaskStartedEventAttributes& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Identity of the decider making the request. This enables diagnostic tracing * when problems arise. The form of this identity is user defined.

*/ inline const Aws::String& GetIdentity() const{ return m_identity; } /** *

Identity of the decider making the request. This enables diagnostic tracing * when problems arise. The form of this identity is user defined.

*/ inline bool IdentityHasBeenSet() const { return m_identityHasBeenSet; } /** *

Identity of the decider making the request. This enables diagnostic tracing * when problems arise. The form of this identity is user defined.

*/ inline void SetIdentity(const Aws::String& value) { m_identityHasBeenSet = true; m_identity = value; } /** *

Identity of the decider making the request. This enables diagnostic tracing * when problems arise. The form of this identity is user defined.

*/ inline void SetIdentity(Aws::String&& value) { m_identityHasBeenSet = true; m_identity = std::move(value); } /** *

Identity of the decider making the request. This enables diagnostic tracing * when problems arise. The form of this identity is user defined.

*/ inline void SetIdentity(const char* value) { m_identityHasBeenSet = true; m_identity.assign(value); } /** *

Identity of the decider making the request. This enables diagnostic tracing * when problems arise. The form of this identity is user defined.

*/ inline DecisionTaskStartedEventAttributes& WithIdentity(const Aws::String& value) { SetIdentity(value); return *this;} /** *

Identity of the decider making the request. This enables diagnostic tracing * when problems arise. The form of this identity is user defined.

*/ inline DecisionTaskStartedEventAttributes& WithIdentity(Aws::String&& value) { SetIdentity(std::move(value)); return *this;} /** *

Identity of the decider making the request. This enables diagnostic tracing * when problems arise. The form of this identity is user defined.

*/ inline DecisionTaskStartedEventAttributes& WithIdentity(const char* value) { SetIdentity(value); return *this;} /** *

The ID of the DecisionTaskScheduled event that was recorded when * this decision task was scheduled. This information can be useful for diagnosing * problems by tracing back the chain of events leading up to this event.

*/ inline long long GetScheduledEventId() const{ return m_scheduledEventId; } /** *

The ID of the DecisionTaskScheduled event that was recorded when * this decision task was scheduled. This information can be useful for diagnosing * problems by tracing back the chain of events leading up to this event.

*/ inline bool ScheduledEventIdHasBeenSet() const { return m_scheduledEventIdHasBeenSet; } /** *

The ID of the DecisionTaskScheduled event that was recorded when * this decision task was scheduled. This information can be useful for diagnosing * problems by tracing back the chain of events leading up to this event.

*/ inline void SetScheduledEventId(long long value) { m_scheduledEventIdHasBeenSet = true; m_scheduledEventId = value; } /** *

The ID of the DecisionTaskScheduled event that was recorded when * this decision task was scheduled. This information can be useful for diagnosing * problems by tracing back the chain of events leading up to this event.

*/ inline DecisionTaskStartedEventAttributes& WithScheduledEventId(long long value) { SetScheduledEventId(value); return *this;} private: Aws::String m_identity; bool m_identityHasBeenSet = false; long long m_scheduledEventId; bool m_scheduledEventIdHasBeenSet = false; }; } // namespace Model } // namespace SWF } // namespace Aws