AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TaskTimedOutEventDetails.h
1
6#pragma once
7#include <aws/states/SFN_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 SFN
22{
23namespace Model
24{
25
33 {
34 public:
39
40
42
45 inline const Aws::String& GetResourceType() const{ return m_resourceType; }
46 inline bool ResourceTypeHasBeenSet() const { return m_resourceTypeHasBeenSet; }
47 inline void SetResourceType(const Aws::String& value) { m_resourceTypeHasBeenSet = true; m_resourceType = value; }
48 inline void SetResourceType(Aws::String&& value) { m_resourceTypeHasBeenSet = true; m_resourceType = std::move(value); }
49 inline void SetResourceType(const char* value) { m_resourceTypeHasBeenSet = true; m_resourceType.assign(value); }
50 inline TaskTimedOutEventDetails& WithResourceType(const Aws::String& value) { SetResourceType(value); return *this;}
51 inline TaskTimedOutEventDetails& WithResourceType(Aws::String&& value) { SetResourceType(std::move(value)); return *this;}
52 inline TaskTimedOutEventDetails& WithResourceType(const char* value) { SetResourceType(value); return *this;}
54
56
59 inline const Aws::String& GetResource() const{ return m_resource; }
60 inline bool ResourceHasBeenSet() const { return m_resourceHasBeenSet; }
61 inline void SetResource(const Aws::String& value) { m_resourceHasBeenSet = true; m_resource = value; }
62 inline void SetResource(Aws::String&& value) { m_resourceHasBeenSet = true; m_resource = std::move(value); }
63 inline void SetResource(const char* value) { m_resourceHasBeenSet = true; m_resource.assign(value); }
64 inline TaskTimedOutEventDetails& WithResource(const Aws::String& value) { SetResource(value); return *this;}
65 inline TaskTimedOutEventDetails& WithResource(Aws::String&& value) { SetResource(std::move(value)); return *this;}
66 inline TaskTimedOutEventDetails& WithResource(const char* value) { SetResource(value); return *this;}
68
70
73 inline const Aws::String& GetError() const{ return m_error; }
74 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
75 inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
76 inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
77 inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
78 inline TaskTimedOutEventDetails& WithError(const Aws::String& value) { SetError(value); return *this;}
79 inline TaskTimedOutEventDetails& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
80 inline TaskTimedOutEventDetails& WithError(const char* value) { SetError(value); return *this;}
82
84
87 inline const Aws::String& GetCause() const{ return m_cause; }
88 inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
89 inline void SetCause(const Aws::String& value) { m_causeHasBeenSet = true; m_cause = value; }
90 inline void SetCause(Aws::String&& value) { m_causeHasBeenSet = true; m_cause = std::move(value); }
91 inline void SetCause(const char* value) { m_causeHasBeenSet = true; m_cause.assign(value); }
92 inline TaskTimedOutEventDetails& WithCause(const Aws::String& value) { SetCause(value); return *this;}
93 inline TaskTimedOutEventDetails& WithCause(Aws::String&& value) { SetCause(std::move(value)); return *this;}
94 inline TaskTimedOutEventDetails& WithCause(const char* value) { SetCause(value); return *this;}
96 private:
97
98 Aws::String m_resourceType;
99 bool m_resourceTypeHasBeenSet = false;
100
101 Aws::String m_resource;
102 bool m_resourceHasBeenSet = false;
103
104 Aws::String m_error;
105 bool m_errorHasBeenSet = false;
106
107 Aws::String m_cause;
108 bool m_causeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace SFN
113} // namespace Aws
TaskTimedOutEventDetails & WithResourceType(Aws::String &&value)
TaskTimedOutEventDetails & WithResourceType(const Aws::String &value)
AWS_SFN_API Aws::Utils::Json::JsonValue Jsonize() const
TaskTimedOutEventDetails & WithCause(const Aws::String &value)
AWS_SFN_API TaskTimedOutEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskTimedOutEventDetails & WithResource(Aws::String &&value)
TaskTimedOutEventDetails & WithError(const Aws::String &value)
TaskTimedOutEventDetails & WithCause(Aws::String &&value)
TaskTimedOutEventDetails & WithResourceType(const char *value)
TaskTimedOutEventDetails & WithCause(const char *value)
TaskTimedOutEventDetails & WithError(Aws::String &&value)
TaskTimedOutEventDetails & WithError(const char *value)
TaskTimedOutEventDetails & WithResource(const Aws::String &value)
AWS_SFN_API TaskTimedOutEventDetails(Aws::Utils::Json::JsonView jsonValue)
TaskTimedOutEventDetails & WithResource(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue