AWS SDK for C++  1.8.126
AWS SDK for C++
GetColumnStatisticsForPartitionResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Glue
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const Aws::Vector<ColumnStatistics>& GetColumnStatisticsList() const{ return m_columnStatisticsList; }
41 
45  inline void SetColumnStatisticsList(const Aws::Vector<ColumnStatistics>& value) { m_columnStatisticsList = value; }
46 
50  inline void SetColumnStatisticsList(Aws::Vector<ColumnStatistics>&& value) { m_columnStatisticsList = std::move(value); }
51 
55  inline GetColumnStatisticsForPartitionResult& WithColumnStatisticsList(const Aws::Vector<ColumnStatistics>& value) { SetColumnStatisticsList(value); return *this;}
56 
60  inline GetColumnStatisticsForPartitionResult& WithColumnStatisticsList(Aws::Vector<ColumnStatistics>&& value) { SetColumnStatisticsList(std::move(value)); return *this;}
61 
65  inline GetColumnStatisticsForPartitionResult& AddColumnStatisticsList(const ColumnStatistics& value) { m_columnStatisticsList.push_back(value); return *this; }
66 
70  inline GetColumnStatisticsForPartitionResult& AddColumnStatisticsList(ColumnStatistics&& value) { m_columnStatisticsList.push_back(std::move(value)); return *this; }
71 
72 
76  inline const Aws::Vector<ColumnError>& GetErrors() const{ return m_errors; }
77 
81  inline void SetErrors(const Aws::Vector<ColumnError>& value) { m_errors = value; }
82 
86  inline void SetErrors(Aws::Vector<ColumnError>&& value) { m_errors = std::move(value); }
87 
91  inline GetColumnStatisticsForPartitionResult& WithErrors(const Aws::Vector<ColumnError>& value) { SetErrors(value); return *this;}
92 
96  inline GetColumnStatisticsForPartitionResult& WithErrors(Aws::Vector<ColumnError>&& value) { SetErrors(std::move(value)); return *this;}
97 
101  inline GetColumnStatisticsForPartitionResult& AddErrors(const ColumnError& value) { m_errors.push_back(value); return *this; }
102 
106  inline GetColumnStatisticsForPartitionResult& AddErrors(ColumnError&& value) { m_errors.push_back(std::move(value)); return *this; }
107 
108  private:
109 
110  Aws::Vector<ColumnStatistics> m_columnStatisticsList;
111 
112  Aws::Vector<ColumnError> m_errors;
113  };
114 
115 } // namespace Model
116 } // namespace Glue
117 } // namespace Aws
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::WithErrors
GetColumnStatisticsForPartitionResult & WithErrors(const Aws::Vector< ColumnError > &value)
Definition: GetColumnStatisticsForPartitionResult.h:91
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::SetErrors
void SetErrors(const Aws::Vector< ColumnError > &value)
Definition: GetColumnStatisticsForPartitionResult.h:81
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::WithColumnStatisticsList
GetColumnStatisticsForPartitionResult & WithColumnStatisticsList(Aws::Vector< ColumnStatistics > &&value)
Definition: GetColumnStatisticsForPartitionResult.h:60
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::SetErrors
void SetErrors(Aws::Vector< ColumnError > &&value)
Definition: GetColumnStatisticsForPartitionResult.h:86
Glue_EXPORTS.h
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::AddErrors
GetColumnStatisticsForPartitionResult & AddErrors(ColumnError &&value)
Definition: GetColumnStatisticsForPartitionResult.h:106
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::GetColumnStatisticsList
const Aws::Vector< ColumnStatistics > & GetColumnStatisticsList() const
Definition: GetColumnStatisticsForPartitionResult.h:40
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::SetColumnStatisticsList
void SetColumnStatisticsList(Aws::Vector< ColumnStatistics > &&value)
Definition: GetColumnStatisticsForPartitionResult.h:50
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Glue::Model::ColumnError
Definition: ColumnError.h:34
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::WithColumnStatisticsList
GetColumnStatisticsForPartitionResult & WithColumnStatisticsList(const Aws::Vector< ColumnStatistics > &value)
Definition: GetColumnStatisticsForPartitionResult.h:55
AWSVector.h
ColumnStatistics.h
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::AddErrors
GetColumnStatisticsForPartitionResult & AddErrors(const ColumnError &value)
Definition: GetColumnStatisticsForPartitionResult.h:101
AWS_GLUE_API
#define AWS_GLUE_API
Definition: Glue_EXPORTS.h:28
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::GetErrors
const Aws::Vector< ColumnError > & GetErrors() const
Definition: GetColumnStatisticsForPartitionResult.h:76
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::GetColumnStatisticsForPartitionResult
GetColumnStatisticsForPartitionResult()
Aws::Glue::Model::ColumnStatistics
Definition: ColumnStatistics.h:35
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::AddColumnStatisticsList
GetColumnStatisticsForPartitionResult & AddColumnStatisticsList(const ColumnStatistics &value)
Definition: GetColumnStatisticsForPartitionResult.h:65
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::AddColumnStatisticsList
GetColumnStatisticsForPartitionResult & AddColumnStatisticsList(ColumnStatistics &&value)
Definition: GetColumnStatisticsForPartitionResult.h:70
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::operator=
GetColumnStatisticsForPartitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::WithErrors
GetColumnStatisticsForPartitionResult & WithErrors(Aws::Vector< ColumnError > &&value)
Definition: GetColumnStatisticsForPartitionResult.h:96
ColumnError.h
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::SetColumnStatisticsList
void SetColumnStatisticsList(const Aws::Vector< ColumnStatistics > &value)
Definition: GetColumnStatisticsForPartitionResult.h:45
Aws::Glue::Model::GetColumnStatisticsForPartitionResult
Definition: GetColumnStatisticsForPartitionResult.h:30
Aws::Glue::Model::GetColumnStatisticsForPartitionResult::GetColumnStatisticsForPartitionResult
GetColumnStatisticsForPartitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)