AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DataViewErrorInfo.h
1
6#pragma once
7#include <aws/finspace-data/FinSpaceData_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/finspace-data/model/ErrorCategory.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FinSpaceData
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_FINSPACEDATA_API DataViewErrorInfo();
36 AWS_FINSPACEDATA_API DataViewErrorInfo(Aws::Utils::Json::JsonView jsonValue);
37 AWS_FINSPACEDATA_API DataViewErrorInfo& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetErrorMessage() const{ return m_errorMessage; }
46 inline bool ErrorMessageHasBeenSet() const { return m_errorMessageHasBeenSet; }
47 inline void SetErrorMessage(const Aws::String& value) { m_errorMessageHasBeenSet = true; m_errorMessage = value; }
48 inline void SetErrorMessage(Aws::String&& value) { m_errorMessageHasBeenSet = true; m_errorMessage = std::move(value); }
49 inline void SetErrorMessage(const char* value) { m_errorMessageHasBeenSet = true; m_errorMessage.assign(value); }
50 inline DataViewErrorInfo& WithErrorMessage(const Aws::String& value) { SetErrorMessage(value); return *this;}
51 inline DataViewErrorInfo& WithErrorMessage(Aws::String&& value) { SetErrorMessage(std::move(value)); return *this;}
52 inline DataViewErrorInfo& WithErrorMessage(const char* value) { SetErrorMessage(value); return *this;}
54
56
70 inline const ErrorCategory& GetErrorCategory() const{ return m_errorCategory; }
71 inline bool ErrorCategoryHasBeenSet() const { return m_errorCategoryHasBeenSet; }
72 inline void SetErrorCategory(const ErrorCategory& value) { m_errorCategoryHasBeenSet = true; m_errorCategory = value; }
73 inline void SetErrorCategory(ErrorCategory&& value) { m_errorCategoryHasBeenSet = true; m_errorCategory = std::move(value); }
74 inline DataViewErrorInfo& WithErrorCategory(const ErrorCategory& value) { SetErrorCategory(value); return *this;}
75 inline DataViewErrorInfo& WithErrorCategory(ErrorCategory&& value) { SetErrorCategory(std::move(value)); return *this;}
77 private:
78
79 Aws::String m_errorMessage;
80 bool m_errorMessageHasBeenSet = false;
81
82 ErrorCategory m_errorCategory;
83 bool m_errorCategoryHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace FinSpaceData
88} // namespace Aws
AWS_FINSPACEDATA_API DataViewErrorInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
DataViewErrorInfo & WithErrorMessage(const Aws::String &value)
DataViewErrorInfo & WithErrorMessage(Aws::String &&value)
AWS_FINSPACEDATA_API Aws::Utils::Json::JsonValue Jsonize() const
void SetErrorCategory(const ErrorCategory &value)
DataViewErrorInfo & WithErrorCategory(ErrorCategory &&value)
DataViewErrorInfo & WithErrorCategory(const ErrorCategory &value)
void SetErrorMessage(const Aws::String &value)
const ErrorCategory & GetErrorCategory() const
DataViewErrorInfo & WithErrorMessage(const char *value)
AWS_FINSPACEDATA_API DataViewErrorInfo(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue