AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ExecutionMessageT = Aws::String>
58 void SetExecutionMessage(ExecutionMessageT&& value) { m_executionMessageHasBeenSet = true; m_executionMessage = std::forward<ExecutionMessageT>(value); }
59 template<typename ExecutionMessageT = Aws::String>
60 ErrorInfo& WithExecutionMessage(ExecutionMessageT&& value) { SetExecutionMessage(std::forward<ExecutionMessageT>(value)); return *this;}
62 private:
63
64 long long m_putFailuresCount{0};
65 bool m_putFailuresCountHasBeenSet = false;
66
67 Aws::String m_executionMessage;
68 bool m_executionMessageHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Appflow
73} // namespace Aws
void SetExecutionMessage(ExecutionMessageT &&value)
Definition ErrorInfo.h:58
AWS_APPFLOW_API ErrorInfo()=default
void SetPutFailuresCount(long long value)
Definition ErrorInfo.h:47
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)
AWS_APPFLOW_API ErrorInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
ErrorInfo & WithExecutionMessage(ExecutionMessageT &&value)
Definition ErrorInfo.h:60
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