AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TableError.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/glue/model/ErrorDetail.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 Glue
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_GLUE_API TableError() = default;
36 AWS_GLUE_API TableError(Aws::Utils::Json::JsonView jsonValue);
39
40
42
46 inline const Aws::String& GetTableName() const { return m_tableName; }
47 inline bool TableNameHasBeenSet() const { return m_tableNameHasBeenSet; }
48 template<typename TableNameT = Aws::String>
49 void SetTableName(TableNameT&& value) { m_tableNameHasBeenSet = true; m_tableName = std::forward<TableNameT>(value); }
50 template<typename TableNameT = Aws::String>
51 TableError& WithTableName(TableNameT&& value) { SetTableName(std::forward<TableNameT>(value)); return *this;}
53
55
58 inline const ErrorDetail& GetErrorDetail() const { return m_errorDetail; }
59 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
60 template<typename ErrorDetailT = ErrorDetail>
61 void SetErrorDetail(ErrorDetailT&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::forward<ErrorDetailT>(value); }
62 template<typename ErrorDetailT = ErrorDetail>
63 TableError& WithErrorDetail(ErrorDetailT&& value) { SetErrorDetail(std::forward<ErrorDetailT>(value)); return *this;}
65 private:
66
67 Aws::String m_tableName;
68 bool m_tableNameHasBeenSet = false;
69
70 ErrorDetail m_errorDetail;
71 bool m_errorDetailHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Glue
76} // namespace Aws
void SetErrorDetail(ErrorDetailT &&value)
Definition TableError.h:61
const Aws::String & GetTableName() const
Definition TableError.h:46
AWS_GLUE_API TableError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTableName(TableNameT &&value)
Definition TableError.h:49
AWS_GLUE_API TableError()=default
TableError & WithErrorDetail(ErrorDetailT &&value)
Definition TableError.h:63
bool TableNameHasBeenSet() const
Definition TableError.h:47
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const ErrorDetail & GetErrorDetail() const
Definition TableError.h:58
AWS_GLUE_API TableError(Aws::Utils::Json::JsonView jsonValue)
TableError & WithTableName(TableNameT &&value)
Definition TableError.h:51
bool ErrorDetailHasBeenSet() const
Definition TableError.h:59
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue