AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetTableName(const Aws::String& value) { m_tableNameHasBeenSet = true; m_tableName = value; }
49 inline void SetTableName(Aws::String&& value) { m_tableNameHasBeenSet = true; m_tableName = std::move(value); }
50 inline void SetTableName(const char* value) { m_tableNameHasBeenSet = true; m_tableName.assign(value); }
51 inline TableError& WithTableName(const Aws::String& value) { SetTableName(value); return *this;}
52 inline TableError& WithTableName(Aws::String&& value) { SetTableName(std::move(value)); return *this;}
53 inline TableError& WithTableName(const char* value) { SetTableName(value); return *this;}
55
57
60 inline const ErrorDetail& GetErrorDetail() const{ return m_errorDetail; }
61 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
62 inline void SetErrorDetail(const ErrorDetail& value) { m_errorDetailHasBeenSet = true; m_errorDetail = value; }
63 inline void SetErrorDetail(ErrorDetail&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::move(value); }
64 inline TableError& WithErrorDetail(const ErrorDetail& value) { SetErrorDetail(value); return *this;}
65 inline TableError& WithErrorDetail(ErrorDetail&& value) { SetErrorDetail(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_tableName;
70 bool m_tableNameHasBeenSet = false;
71
72 ErrorDetail m_errorDetail;
73 bool m_errorDetailHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
TableError & WithErrorDetail(const ErrorDetail &value)
Definition TableError.h:64
void SetTableName(Aws::String &&value)
Definition TableError.h:49
const Aws::String & GetTableName() const
Definition TableError.h:46
AWS_GLUE_API TableError & operator=(Aws::Utils::Json::JsonView jsonValue)
TableError & WithTableName(const Aws::String &value)
Definition TableError.h:51
void SetErrorDetail(const ErrorDetail &value)
Definition TableError.h:62
bool TableNameHasBeenSet() const
Definition TableError.h:47
void SetErrorDetail(ErrorDetail &&value)
Definition TableError.h:63
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const ErrorDetail & GetErrorDetail() const
Definition TableError.h:60
TableError & WithTableName(const char *value)
Definition TableError.h:53
AWS_GLUE_API TableError(Aws::Utils::Json::JsonView jsonValue)
TableError & WithTableName(Aws::String &&value)
Definition TableError.h:52
TableError & WithErrorDetail(ErrorDetail &&value)
Definition TableError.h:65
void SetTableName(const char *value)
Definition TableError.h:50
void SetTableName(const Aws::String &value)
Definition TableError.h:48
bool ErrorDetailHasBeenSet() const
Definition TableError.h:61
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue