AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Appflow {
20namespace Model {
21
28class ErrorInfo {
29 public:
30 AWS_APPFLOW_API ErrorInfo() = default;
31 AWS_APPFLOW_API ErrorInfo(Aws::Utils::Json::JsonView jsonValue);
32 AWS_APPFLOW_API ErrorInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_APPFLOW_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline long long GetPutFailuresCount() const { return m_putFailuresCount; }
40 inline bool PutFailuresCountHasBeenSet() const { return m_putFailuresCountHasBeenSet; }
41 inline void SetPutFailuresCount(long long value) {
42 m_putFailuresCountHasBeenSet = true;
43 m_putFailuresCount = value;
44 }
45 inline ErrorInfo& WithPutFailuresCount(long long value) {
47 return *this;
48 }
50
52
55 inline const Aws::String& GetExecutionMessage() const { return m_executionMessage; }
56 inline bool ExecutionMessageHasBeenSet() const { return m_executionMessageHasBeenSet; }
57 template <typename ExecutionMessageT = Aws::String>
58 void SetExecutionMessage(ExecutionMessageT&& value) {
59 m_executionMessageHasBeenSet = true;
60 m_executionMessage = std::forward<ExecutionMessageT>(value);
61 }
62 template <typename ExecutionMessageT = Aws::String>
63 ErrorInfo& WithExecutionMessage(ExecutionMessageT&& value) {
64 SetExecutionMessage(std::forward<ExecutionMessageT>(value));
65 return *this;
66 }
68 private:
69 long long m_putFailuresCount{0};
70
71 Aws::String m_executionMessage;
72 bool m_putFailuresCountHasBeenSet = false;
73 bool m_executionMessageHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Appflow
78} // namespace Aws
void SetExecutionMessage(ExecutionMessageT &&value)
Definition ErrorInfo.h:58
AWS_APPFLOW_API ErrorInfo()=default
void SetPutFailuresCount(long long value)
Definition ErrorInfo.h:41
bool ExecutionMessageHasBeenSet() const
Definition ErrorInfo.h:56
long long GetPutFailuresCount() const
Definition ErrorInfo.h:39
bool PutFailuresCountHasBeenSet() const
Definition ErrorInfo.h:40
AWS_APPFLOW_API ErrorInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_APPFLOW_API ErrorInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorInfo & WithExecutionMessage(ExecutionMessageT &&value)
Definition ErrorInfo.h:63
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:45
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue