AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PartitionError.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
34 {
35 public:
36 AWS_GLUE_API PartitionError();
40
41
43
46 inline const Aws::Vector<Aws::String>& GetPartitionValues() const{ return m_partitionValues; }
47 inline bool PartitionValuesHasBeenSet() const { return m_partitionValuesHasBeenSet; }
48 inline void SetPartitionValues(const Aws::Vector<Aws::String>& value) { m_partitionValuesHasBeenSet = true; m_partitionValues = value; }
49 inline void SetPartitionValues(Aws::Vector<Aws::String>&& value) { m_partitionValuesHasBeenSet = true; m_partitionValues = std::move(value); }
51 inline PartitionError& WithPartitionValues(Aws::Vector<Aws::String>&& value) { SetPartitionValues(std::move(value)); return *this;}
52 inline PartitionError& AddPartitionValues(const Aws::String& value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(value); return *this; }
53 inline PartitionError& AddPartitionValues(Aws::String&& value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(std::move(value)); return *this; }
54 inline PartitionError& AddPartitionValues(const char* value) { m_partitionValuesHasBeenSet = true; m_partitionValues.push_back(value); return *this; }
56
58
61 inline const ErrorDetail& GetErrorDetail() const{ return m_errorDetail; }
62 inline bool ErrorDetailHasBeenSet() const { return m_errorDetailHasBeenSet; }
63 inline void SetErrorDetail(const ErrorDetail& value) { m_errorDetailHasBeenSet = true; m_errorDetail = value; }
64 inline void SetErrorDetail(ErrorDetail&& value) { m_errorDetailHasBeenSet = true; m_errorDetail = std::move(value); }
65 inline PartitionError& WithErrorDetail(const ErrorDetail& value) { SetErrorDetail(value); return *this;}
66 inline PartitionError& WithErrorDetail(ErrorDetail&& value) { SetErrorDetail(std::move(value)); return *this;}
68 private:
69
70 Aws::Vector<Aws::String> m_partitionValues;
71 bool m_partitionValuesHasBeenSet = false;
72
73 ErrorDetail m_errorDetail;
74 bool m_errorDetailHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace Glue
79} // namespace Aws
void SetPartitionValues(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetPartitionValues() const
PartitionError & WithPartitionValues(Aws::Vector< Aws::String > &&value)
PartitionError & WithErrorDetail(const ErrorDetail &value)
void SetErrorDetail(const ErrorDetail &value)
void SetPartitionValues(Aws::Vector< Aws::String > &&value)
PartitionError & AddPartitionValues(const char *value)
AWS_GLUE_API PartitionError(Aws::Utils::Json::JsonView jsonValue)
PartitionError & WithPartitionValues(const Aws::Vector< Aws::String > &value)
PartitionError & AddPartitionValues(const Aws::String &value)
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GLUE_API PartitionError & operator=(Aws::Utils::Json::JsonView jsonValue)
PartitionError & AddPartitionValues(Aws::String &&value)
void SetErrorDetail(ErrorDetail &&value)
PartitionError & WithErrorDetail(ErrorDetail &&value)
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