AWS SDK for C++

AWS SDK for C++ Version 1.11.716

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Glue {
21namespace Model {
22
30 public:
31 AWS_GLUE_API ColumnStatisticsError() = default;
35
37
40 inline const ColumnStatistics& GetColumnStatistics() const { return m_columnStatistics; }
41 inline bool ColumnStatisticsHasBeenSet() const { return m_columnStatisticsHasBeenSet; }
42 template <typename ColumnStatisticsT = ColumnStatistics>
43 void SetColumnStatistics(ColumnStatisticsT&& value) {
44 m_columnStatisticsHasBeenSet = true;
45 m_columnStatistics = std::forward<ColumnStatisticsT>(value);
46 }
47 template <typename ColumnStatisticsT = ColumnStatistics>
48 ColumnStatisticsError& WithColumnStatistics(ColumnStatisticsT&& value) {
49 SetColumnStatistics(std::forward<ColumnStatisticsT>(value));
50 return *this;
51 }
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) {
62 m_errorHasBeenSet = true;
63 m_error = std::forward<ErrorT>(value);
64 }
65 template <typename ErrorT = ErrorDetail>
67 SetError(std::forward<ErrorT>(value));
68 return *this;
69 }
71 private:
72 ColumnStatistics m_columnStatistics;
73
74 ErrorDetail m_error;
75 bool m_columnStatisticsHasBeenSet = false;
76 bool m_errorHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Glue
81} // 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