AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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 inline void SetReason(const Aws::String& value) { m_reasonHasBeenSet = true; m_reason = value; }
48 inline void SetReason(Aws::String&& value) { m_reasonHasBeenSet = true; m_reason = std::move(value); }
49 inline void SetReason(const char* value) { m_reasonHasBeenSet = true; m_reason.assign(value); }
50 inline WorkflowExecutionFailedEventAttributes& WithReason(const Aws::String& value) { SetReason(value); return *this;}
51 inline WorkflowExecutionFailedEventAttributes& WithReason(Aws::String&& value) { SetReason(std::move(value)); return *this;}
52 inline WorkflowExecutionFailedEventAttributes& WithReason(const char* value) { SetReason(value); return *this;}
54
56
59 inline const Aws::String& GetDetails() const{ return m_details; }
60 inline bool DetailsHasBeenSet() const { return m_detailsHasBeenSet; }
61 inline void SetDetails(const Aws::String& value) { m_detailsHasBeenSet = true; m_details = value; }
62 inline void SetDetails(Aws::String&& value) { m_detailsHasBeenSet = true; m_details = std::move(value); }
63 inline void SetDetails(const char* value) { m_detailsHasBeenSet = true; m_details.assign(value); }
64 inline WorkflowExecutionFailedEventAttributes& WithDetails(const Aws::String& value) { SetDetails(value); return *this;}
65 inline WorkflowExecutionFailedEventAttributes& WithDetails(Aws::String&& value) { SetDetails(std::move(value)); return *this;}
66 inline WorkflowExecutionFailedEventAttributes& WithDetails(const char* value) { SetDetails(value); return *this;}
68
70
76 inline long long GetDecisionTaskCompletedEventId() const{ return m_decisionTaskCompletedEventId; }
77 inline bool DecisionTaskCompletedEventIdHasBeenSet() const { return m_decisionTaskCompletedEventIdHasBeenSet; }
78 inline void SetDecisionTaskCompletedEventId(long long value) { m_decisionTaskCompletedEventIdHasBeenSet = true; m_decisionTaskCompletedEventId = value; }
81 private:
82
83 Aws::String m_reason;
84 bool m_reasonHasBeenSet = false;
85
86 Aws::String m_details;
87 bool m_detailsHasBeenSet = false;
88
89 long long m_decisionTaskCompletedEventId;
90 bool m_decisionTaskCompletedEventIdHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SWF
95} // namespace Aws
WorkflowExecutionFailedEventAttributes & WithReason(const char *value)
WorkflowExecutionFailedEventAttributes & WithDetails(Aws::String &&value)
WorkflowExecutionFailedEventAttributes & WithDetails(const char *value)
AWS_SWF_API Aws::Utils::Json::JsonValue Jsonize() const
WorkflowExecutionFailedEventAttributes & WithReason(Aws::String &&value)
AWS_SWF_API WorkflowExecutionFailedEventAttributes(Aws::Utils::Json::JsonView jsonValue)
WorkflowExecutionFailedEventAttributes & WithDecisionTaskCompletedEventId(long long value)
WorkflowExecutionFailedEventAttributes & WithReason(const Aws::String &value)
WorkflowExecutionFailedEventAttributes & WithDetails(const Aws::String &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