AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ColumnError.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
34 {
35 public:
36 AWS_GLUE_API ColumnError();
37 AWS_GLUE_API ColumnError(Aws::Utils::Json::JsonView jsonValue);
40
41
43
46 inline const Aws::String& GetColumnName() const{ return m_columnName; }
47 inline bool ColumnNameHasBeenSet() const { return m_columnNameHasBeenSet; }
48 inline void SetColumnName(const Aws::String& value) { m_columnNameHasBeenSet = true; m_columnName = value; }
49 inline void SetColumnName(Aws::String&& value) { m_columnNameHasBeenSet = true; m_columnName = std::move(value); }
50 inline void SetColumnName(const char* value) { m_columnNameHasBeenSet = true; m_columnName.assign(value); }
51 inline ColumnError& WithColumnName(const Aws::String& value) { SetColumnName(value); return *this;}
52 inline ColumnError& WithColumnName(Aws::String&& value) { SetColumnName(std::move(value)); return *this;}
53 inline ColumnError& WithColumnName(const char* value) { SetColumnName(value); return *this;}
55
57
60 inline const ErrorDetail& GetError() const{ return m_error; }
61 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
62 inline void SetError(const ErrorDetail& value) { m_errorHasBeenSet = true; m_error = value; }
63 inline void SetError(ErrorDetail&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
64 inline ColumnError& WithError(const ErrorDetail& value) { SetError(value); return *this;}
65 inline ColumnError& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_columnName;
70 bool m_columnNameHasBeenSet = false;
71
72 ErrorDetail m_error;
73 bool m_errorHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
const Aws::String & GetColumnName() const
Definition ColumnError.h:46
const ErrorDetail & GetError() const
Definition ColumnError.h:60
AWS_GLUE_API ColumnError(Aws::Utils::Json::JsonView jsonValue)
ColumnError & WithColumnName(Aws::String &&value)
Definition ColumnError.h:52
void SetColumnName(const char *value)
Definition ColumnError.h:50
void SetError(ErrorDetail &&value)
Definition ColumnError.h:63
AWS_GLUE_API ColumnError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetError(const ErrorDetail &value)
Definition ColumnError.h:62
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetColumnName(Aws::String &&value)
Definition ColumnError.h:49
void SetColumnName(const Aws::String &value)
Definition ColumnError.h:48
ColumnError & WithColumnName(const char *value)
Definition ColumnError.h:53
ColumnError & WithError(ErrorDetail &&value)
Definition ColumnError.h:65
ColumnError & WithError(const ErrorDetail &value)
Definition ColumnError.h:64
ColumnError & WithColumnName(const Aws::String &value)
Definition ColumnError.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue