AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchUpdatePartitionFailureEntry.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/Glue_EXPORTS.h>
10#include <aws/glue/model/ErrorDetail.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Glue {
22namespace Model {
23
31 public:
32 AWS_GLUE_API BatchUpdatePartitionFailureEntry() = default;
36
38
41 inline const Aws::Vector<Aws::String>& GetPartitionValueList() const { return m_partitionValueList; }
42 inline bool PartitionValueListHasBeenSet() const { return m_partitionValueListHasBeenSet; }
43 template <typename PartitionValueListT = Aws::Vector<Aws::String>>
44 void SetPartitionValueList(PartitionValueListT&& value) {
45 m_partitionValueListHasBeenSet = true;
46 m_partitionValueList = std::forward<PartitionValueListT>(value);
47 }
48 template <typename PartitionValueListT = Aws::Vector<Aws::String>>
50 SetPartitionValueList(std::forward<PartitionValueListT>(value));
51 return *this;
52 }
53 template <typename PartitionValueListT = Aws::String>
55 m_partitionValueListHasBeenSet = true;
56 m_partitionValueList.emplace_back(std::forward<PartitionValueListT>(value));
57 return *this;
58 }
60
62
65 inline const ErrorDetail& GetErrorDetail() const { return m_errorDetail; }
66 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
67 template <typename ErrorDetailT = ErrorDetail>
68 void SetErrorDetail(ErrorDetailT&& value) {
69 m_errorDetailHasBeenSet = true;
70 m_errorDetail = std::forward<ErrorDetailT>(value);
71 }
72 template <typename ErrorDetailT = ErrorDetail>
74 SetErrorDetail(std::forward<ErrorDetailT>(value));
75 return *this;
76 }
78 private:
79 Aws::Vector<Aws::String> m_partitionValueList;
80
81 ErrorDetail m_errorDetail;
82 bool m_partitionValueListHasBeenSet = false;
83 bool m_errorDetailHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace Glue
88} // namespace Aws
BatchUpdatePartitionFailureEntry & WithErrorDetail(ErrorDetailT &&value)
AWS_GLUE_API BatchUpdatePartitionFailureEntry(Aws::Utils::Json::JsonView jsonValue)
AWS_GLUE_API BatchUpdatePartitionFailureEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetPartitionValueList(PartitionValueListT &&value)
bool PartitionValueListHasBeenSet() const
const Aws::Vector< Aws::String > & GetPartitionValueList() const
BatchUpdatePartitionFailureEntry & AddPartitionValueList(PartitionValueListT &&value)
bool ErrorDetailHasBeenSet() const
AWS_GLUE_API BatchUpdatePartitionFailureEntry()=default
void SetErrorDetail(ErrorDetailT &&value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
BatchUpdatePartitionFailureEntry & WithPartitionValueList(PartitionValueListT &&value)
const ErrorDetail & GetErrorDetail() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue