AWS SDK for C++  1.9.103
AWS SDK for C++
ExecutionTimedOutEventDetails.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SFN
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetError() const{ return m_error; }
45 
49  inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
50 
54  inline void SetError(const Aws::String& value) { m_errorHasBeenSet = true; m_error = value; }
55 
59  inline void SetError(Aws::String&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
60 
64  inline void SetError(const char* value) { m_errorHasBeenSet = true; m_error.assign(value); }
65 
69  inline ExecutionTimedOutEventDetails& WithError(const Aws::String& value) { SetError(value); return *this;}
70 
74  inline ExecutionTimedOutEventDetails& WithError(Aws::String&& value) { SetError(std::move(value)); return *this;}
75 
79  inline ExecutionTimedOutEventDetails& WithError(const char* value) { SetError(value); return *this;}
80 
81 
85  inline const Aws::String& GetCause() const{ return m_cause; }
86 
90  inline bool CauseHasBeenSet() const { return m_causeHasBeenSet; }
91 
95  inline void SetCause(const Aws::String& value) { m_causeHasBeenSet = true; m_cause = value; }
96 
100  inline void SetCause(Aws::String&& value) { m_causeHasBeenSet = true; m_cause = std::move(value); }
101 
105  inline void SetCause(const char* value) { m_causeHasBeenSet = true; m_cause.assign(value); }
106 
110  inline ExecutionTimedOutEventDetails& WithCause(const Aws::String& value) { SetCause(value); return *this;}
111 
115  inline ExecutionTimedOutEventDetails& WithCause(Aws::String&& value) { SetCause(std::move(value)); return *this;}
116 
120  inline ExecutionTimedOutEventDetails& WithCause(const char* value) { SetCause(value); return *this;}
121 
122  private:
123 
124  Aws::String m_error;
125  bool m_errorHasBeenSet;
126 
127  Aws::String m_cause;
128  bool m_causeHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SFN
133 } // namespace Aws
Aws::SFN::Model::ExecutionTimedOutEventDetails::SetCause
void SetCause(const char *value)
Definition: ExecutionTimedOutEventDetails.h:105
Aws::SFN::Model::ExecutionTimedOutEventDetails
Definition: ExecutionTimedOutEventDetails.h:33
Aws::SFN::Model::ExecutionTimedOutEventDetails::SetCause
void SetCause(Aws::String &&value)
Definition: ExecutionTimedOutEventDetails.h:100
Aws::SFN::Model::ExecutionTimedOutEventDetails::ErrorHasBeenSet
bool ErrorHasBeenSet() const
Definition: ExecutionTimedOutEventDetails.h:49
Aws::SFN::Model::ExecutionTimedOutEventDetails::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SFN::Model::ExecutionTimedOutEventDetails::WithError
ExecutionTimedOutEventDetails & WithError(const Aws::String &value)
Definition: ExecutionTimedOutEventDetails.h:69
Aws::SFN::Model::ExecutionTimedOutEventDetails::GetCause
const Aws::String & GetCause() const
Definition: ExecutionTimedOutEventDetails.h:85
Aws::SFN::Model::ExecutionTimedOutEventDetails::WithCause
ExecutionTimedOutEventDetails & WithCause(const Aws::String &value)
Definition: ExecutionTimedOutEventDetails.h:110
AWS_SFN_API
#define AWS_SFN_API
Definition: SFN_EXPORTS.h:28
SFN_EXPORTS.h
Aws::SFN::Model::ExecutionTimedOutEventDetails::ExecutionTimedOutEventDetails
ExecutionTimedOutEventDetails(Aws::Utils::Json::JsonView jsonValue)
Aws::SFN::Model::ExecutionTimedOutEventDetails::SetError
void SetError(Aws::String &&value)
Definition: ExecutionTimedOutEventDetails.h:59
Aws::SFN::Model::ExecutionTimedOutEventDetails::SetError
void SetError(const Aws::String &value)
Definition: ExecutionTimedOutEventDetails.h:54
Aws::SFN::Model::ExecutionTimedOutEventDetails::WithCause
ExecutionTimedOutEventDetails & WithCause(Aws::String &&value)
Definition: ExecutionTimedOutEventDetails.h:115
Aws::SFN::Model::ExecutionTimedOutEventDetails::GetError
const Aws::String & GetError() const
Definition: ExecutionTimedOutEventDetails.h:44
Aws::SFN::Model::ExecutionTimedOutEventDetails::WithError
ExecutionTimedOutEventDetails & WithError(Aws::String &&value)
Definition: ExecutionTimedOutEventDetails.h:74
Aws::SFN::Model::ExecutionTimedOutEventDetails::WithError
ExecutionTimedOutEventDetails & WithError(const char *value)
Definition: ExecutionTimedOutEventDetails.h:79
Aws::SFN::Model::ExecutionTimedOutEventDetails::SetError
void SetError(const char *value)
Definition: ExecutionTimedOutEventDetails.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SFN::Model::ExecutionTimedOutEventDetails::ExecutionTimedOutEventDetails
ExecutionTimedOutEventDetails()
Aws::SFN::Model::ExecutionTimedOutEventDetails::operator=
ExecutionTimedOutEventDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::SFN::Model::ExecutionTimedOutEventDetails::CauseHasBeenSet
bool CauseHasBeenSet() const
Definition: ExecutionTimedOutEventDetails.h:90
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SFN::Model::ExecutionTimedOutEventDetails::WithCause
ExecutionTimedOutEventDetails & WithCause(const char *value)
Definition: ExecutionTimedOutEventDetails.h:120
Aws::SFN::Model::ExecutionTimedOutEventDetails::SetCause
void SetCause(const Aws::String &value)
Definition: ExecutionTimedOutEventDetails.h:95