7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename ReasonT = Aws::String>
48 void SetReason(ReasonT&& value) { m_reasonHasBeenSet =
true; m_reason = std::forward<ReasonT>(value); }
49 template<
typename ReasonT = Aws::String>
59 template<
typename DetailsT = Aws::String>
60 void SetDetails(DetailsT&& value) { m_detailsHasBeenSet =
true; m_details = std::forward<DetailsT>(value); }
61 template<
typename DetailsT = Aws::String>
73 inline void SetScheduledEventId(
long long value) { m_scheduledEventIdHasBeenSet =
true; m_scheduledEventId = value; }
85 inline void SetStartedEventId(
long long value) { m_startedEventIdHasBeenSet =
true; m_startedEventId = value; }
91 bool m_reasonHasBeenSet =
false;
94 bool m_detailsHasBeenSet =
false;
96 long long m_scheduledEventId{0};
97 bool m_scheduledEventIdHasBeenSet =
false;
99 long long m_startedEventId{0};
100 bool m_startedEventIdHasBeenSet =
false;
bool StartedEventIdHasBeenSet() const
void SetScheduledEventId(long long value)
bool ScheduledEventIdHasBeenSet() const
void SetDetails(DetailsT &&value)
long long GetStartedEventId() const
AWS_SWF_API ActivityTaskFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
ActivityTaskFailedEventAttributes & WithReason(ReasonT &&value)
bool ReasonHasBeenSet() const
long long GetScheduledEventId() const
ActivityTaskFailedEventAttributes & WithScheduledEventId(long long value)
ActivityTaskFailedEventAttributes & WithStartedEventId(long long value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SWF_API ActivityTaskFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
void SetReason(ReasonT &&value)
const Aws::String & GetReason() const
AWS_SWF_API ActivityTaskFailedEventAttributes()=default
void SetStartedEventId(long long value)
const Aws::String & GetDetails() const
bool DetailsHasBeenSet() const
ActivityTaskFailedEventAttributes & WithDetails(DetailsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue