AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchUpdatePartitionFailureEntry.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/glue/model/ErrorDetail.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue
24{
25namespace Model
26{
27
35 {
36 public:
41
42
44
47 inline const Aws::Vector<Aws::String>& GetPartitionValueList() const{ return m_partitionValueList; }
48 inline bool PartitionValueListHasBeenSet() const { return m_partitionValueListHasBeenSet; }
49 inline void SetPartitionValueList(const Aws::Vector<Aws::String>& value) { m_partitionValueListHasBeenSet = true; m_partitionValueList = value; }
50 inline void SetPartitionValueList(Aws::Vector<Aws::String>&& value) { m_partitionValueListHasBeenSet = true; m_partitionValueList = std::move(value); }
53 inline BatchUpdatePartitionFailureEntry& AddPartitionValueList(const Aws::String& value) { m_partitionValueListHasBeenSet = true; m_partitionValueList.push_back(value); return *this; }
54 inline BatchUpdatePartitionFailureEntry& AddPartitionValueList(Aws::String&& value) { m_partitionValueListHasBeenSet = true; m_partitionValueList.push_back(std::move(value)); return *this; }
55 inline BatchUpdatePartitionFailureEntry& AddPartitionValueList(const char* value) { m_partitionValueListHasBeenSet = true; m_partitionValueList.push_back(value); return *this; }
57
59
62 inline const ErrorDetail& GetErrorDetail() const{ return m_errorDetail; }
63 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
64 inline void SetErrorDetail(const ErrorDetail& value) { m_errorDetailHasBeenSet = true; m_errorDetail = value; }
65 inline void SetErrorDetail(ErrorDetail&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::move(value); }
66 inline BatchUpdatePartitionFailureEntry& WithErrorDetail(const ErrorDetail& value) { SetErrorDetail(value); return *this;}
67 inline BatchUpdatePartitionFailureEntry& WithErrorDetail(ErrorDetail&& value) { SetErrorDetail(std::move(value)); return *this;}
69 private:
70
71 Aws::Vector<Aws::String> m_partitionValueList;
72 bool m_partitionValueListHasBeenSet = false;
73
74 ErrorDetail m_errorDetail;
75 bool m_errorDetailHasBeenSet = false;
76 };
77
78} // namespace Model
79} // namespace Glue
80} // namespace Aws
BatchUpdatePartitionFailureEntry & AddPartitionValueList(Aws::String &&value)
BatchUpdatePartitionFailureEntry & WithPartitionValueList(Aws::Vector< Aws::String > &&value)
AWS_GLUE_API BatchUpdatePartitionFailureEntry()
void SetErrorDetail(ErrorDetail &&value)
BatchUpdatePartitionFailureEntry & WithErrorDetail(const ErrorDetail &value)
AWS_GLUE_API BatchUpdatePartitionFailureEntry(Aws::Utils::Json::JsonView jsonValue)
void SetPartitionValueList(Aws::Vector< Aws::String > &&value)
BatchUpdatePartitionFailureEntry & WithErrorDetail(ErrorDetail &&value)
AWS_GLUE_API BatchUpdatePartitionFailureEntry & operator=(Aws::Utils::Json::JsonView jsonValue)
bool PartitionValueListHasBeenSet() const
const Aws::Vector< Aws::String > & GetPartitionValueList() const
void SetErrorDetail(const ErrorDetail &value)
BatchUpdatePartitionFailureEntry & AddPartitionValueList(const char *value)
bool ErrorDetailHasBeenSet() const
BatchUpdatePartitionFailureEntry & AddPartitionValueList(const Aws::String &value)
void SetPartitionValueList(const Aws::Vector< Aws::String > &value)
BatchUpdatePartitionFailureEntry & WithPartitionValueList(const Aws::Vector< Aws::String > &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const ErrorDetail & GetErrorDetail() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue