AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
40
41
43
46 inline const ColumnStatistics& GetColumnStatistics() const { return m_columnStatistics; }
47 inline bool ColumnStatisticsHasBeenSet() const { return m_columnStatisticsHasBeenSet; }
48 template<typename ColumnStatisticsT = ColumnStatistics>
49 void SetColumnStatistics(ColumnStatisticsT&& value) { m_columnStatisticsHasBeenSet = true; m_columnStatistics = std::forward<ColumnStatisticsT>(value); }
50 template<typename ColumnStatisticsT = ColumnStatistics>
51 ColumnStatisticsError& WithColumnStatistics(ColumnStatisticsT&& value) { SetColumnStatistics(std::forward<ColumnStatisticsT>(value)); return *this;}
53
55
58 inline const ErrorDetail& GetError() const { return m_error; }
59 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
60 template<typename ErrorT = ErrorDetail>
61 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
62 template<typename ErrorT = ErrorDetail>
63 ColumnStatisticsError& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(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)
ColumnStatisticsError & WithColumnStatistics(ColumnStatisticsT &&value)
void SetColumnStatistics(ColumnStatisticsT &&value)
AWS_GLUE_API ColumnStatisticsError()=default
AWS_GLUE_API ColumnStatisticsError(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
ColumnStatisticsError & WithError(ErrorT &&value)
const ColumnStatistics & GetColumnStatistics() const
Aws::Utils::Json::JsonValue JsonValue