AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ErrorInfo.h
1
6#pragma once
7#include <aws/appflow/Appflow_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 Appflow
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_APPFLOW_API ErrorInfo();
36 AWS_APPFLOW_API ErrorInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_APPFLOW_API ErrorInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline long long GetPutFailuresCount() const{ return m_putFailuresCount; }
46 inline bool PutFailuresCountHasBeenSet() const { return m_putFailuresCountHasBeenSet; }
47 inline void SetPutFailuresCount(long long value) { m_putFailuresCountHasBeenSet = true; m_putFailuresCount = value; }
48 inline ErrorInfo& WithPutFailuresCount(long long value) { SetPutFailuresCount(value); return *this;}
50
52
55 inline const Aws::String& GetExecutionMessage() const{ return m_executionMessage; }
56 inline bool ExecutionMessageHasBeenSet() const { return m_executionMessageHasBeenSet; }
57 inline void SetExecutionMessage(const Aws::String& value) { m_executionMessageHasBeenSet = true; m_executionMessage = value; }
58 inline void SetExecutionMessage(Aws::String&& value) { m_executionMessageHasBeenSet = true; m_executionMessage = std::move(value); }
59 inline void SetExecutionMessage(const char* value) { m_executionMessageHasBeenSet = true; m_executionMessage.assign(value); }
60 inline ErrorInfo& WithExecutionMessage(const Aws::String& value) { SetExecutionMessage(value); return *this;}
61 inline ErrorInfo& WithExecutionMessage(Aws::String&& value) { SetExecutionMessage(std::move(value)); return *this;}
62 inline ErrorInfo& WithExecutionMessage(const char* value) { SetExecutionMessage(value); return *this;}
64 private:
65
66 long long m_putFailuresCount;
67 bool m_putFailuresCountHasBeenSet = false;
68
69 Aws::String m_executionMessage;
70 bool m_executionMessageHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace Appflow
75} // namespace Aws
ErrorInfo & WithExecutionMessage(Aws::String &&value)
Definition ErrorInfo.h:61
void SetExecutionMessage(Aws::String &&value)
Definition ErrorInfo.h:58
void SetPutFailuresCount(long long value)
Definition ErrorInfo.h:47
ErrorInfo & WithExecutionMessage(const Aws::String &value)
Definition ErrorInfo.h:60
ErrorInfo & WithExecutionMessage(const char *value)
Definition ErrorInfo.h:62
bool ExecutionMessageHasBeenSet() const
Definition ErrorInfo.h:56
long long GetPutFailuresCount() const
Definition ErrorInfo.h:45
bool PutFailuresCountHasBeenSet() const
Definition ErrorInfo.h:46
AWS_APPFLOW_API ErrorInfo(Aws::Utils::Json::JsonView jsonValue)
void SetExecutionMessage(const Aws::String &value)
Definition ErrorInfo.h:57
void SetExecutionMessage(const char *value)
Definition ErrorInfo.h:59
AWS_APPFLOW_API ErrorInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetExecutionMessage() const
Definition ErrorInfo.h:55
AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const
ErrorInfo & WithPutFailuresCount(long long value)
Definition ErrorInfo.h:48
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue