AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ColumnStatisticsError.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ColumnStatistics.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 ColumnStatisticsError();
40
41
43
46 inline const ColumnStatistics& GetColumnStatistics() const{ return m_columnStatistics; }
47 inline bool ColumnStatisticsHasBeenSet() const { return m_columnStatisticsHasBeenSet; }
48 inline void SetColumnStatistics(const ColumnStatistics& value) { m_columnStatisticsHasBeenSet = true; m_columnStatistics = value; }
49 inline void SetColumnStatistics(ColumnStatistics&& value) { m_columnStatisticsHasBeenSet = true; m_columnStatistics = std::move(value); }
51 inline ColumnStatisticsError& WithColumnStatistics(ColumnStatistics&& value) { SetColumnStatistics(std::move(value)); return *this;}
53
55
58 inline const ErrorDetail& GetError() const{ return m_error; }
59 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
60 inline void SetError(const ErrorDetail& value) { m_errorHasBeenSet = true; m_error = value; }
61 inline void SetError(ErrorDetail&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
62 inline ColumnStatisticsError& WithError(const ErrorDetail& value) { SetError(value); return *this;}
63 inline ColumnStatisticsError& WithError(ErrorDetail&& value) { SetError(std::move(value)); return *this;}
65 private:
66
67 ColumnStatistics m_columnStatistics;
68 bool m_columnStatisticsHasBeenSet = false;
69
70 ErrorDetail m_error;
71 bool m_errorHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Glue
76} // namespace Aws
AWS_GLUE_API ColumnStatisticsError & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetError(const ErrorDetail &value)
ColumnStatisticsError & WithColumnStatistics(const ColumnStatistics &value)
ColumnStatisticsError & WithColumnStatistics(ColumnStatistics &&value)
AWS_GLUE_API ColumnStatisticsError(Aws::Utils::Json::JsonView jsonValue)
ColumnStatisticsError & WithError(ErrorDetail &&value)
void SetColumnStatistics(const ColumnStatistics &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetColumnStatistics(ColumnStatistics &&value)
ColumnStatisticsError & WithError(const ErrorDetail &value)
const ColumnStatistics & GetColumnStatistics() const
Aws::Utils::Json::JsonValue JsonValue