AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
WorkflowExecutionFailedEventAttributes.h
1
6#pragma once
7#include <aws/swf/SWF_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SWF
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
45 inline const Aws::String& GetReason() const { return m_reason; }
46 inline bool ReasonHasBeenSet() const { return m_reasonHasBeenSet; }
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>
50 WorkflowExecutionFailedEventAttributes& WithReason(ReasonT&& value) { SetReason(std::forward<ReasonT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDetails() const { return m_details; }
58 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
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>
62 WorkflowExecutionFailedEventAttributes& WithDetails(DetailsT&& value) { SetDetails(std::forward<DetailsT>(value)); return *this;}
64
66
72 inline long long GetDecisionTaskCompletedEventId() const { return m_decisionTaskCompletedEventId; }
73 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
74 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
77 private:
78
79 Aws::String m_reason;
80 bool m_reasonHasBeenSet = false;
81
82 Aws::String m_details;
83 bool m_detailsHasBeenSet = false;
84
85 long long m_decisionTaskCompletedEventId{0};
86 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace SWF
91} // namespace Aws
WorkflowExecutionFailedEventAttributes & WithDetails(DetailsT &&value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SWF_API WorkflowExecutionFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionFailedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
WorkflowExecutionFailedEventAttributes & WithReason(ReasonT &&value)
AWS_SWF_API WorkflowExecutionFailedEventAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue