AWS SDK for C++

AWS SDK for C++ Version 1.11.687

Loading...
Searching...
No Matches
BatchDeletePartitionResult.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/PartitionError.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
26 public:
27 AWS_GLUE_API BatchDeletePartitionResult() = default;
30
32
35 inline const Aws::Vector<PartitionError>& GetErrors() const { return m_errors; }
36 template <typename ErrorsT = Aws::Vector<PartitionError>>
37 void SetErrors(ErrorsT&& value) {
38 m_errorsHasBeenSet = true;
39 m_errors = std::forward<ErrorsT>(value);
40 }
41 template <typename ErrorsT = Aws::Vector<PartitionError>>
43 SetErrors(std::forward<ErrorsT>(value));
44 return *this;
45 }
46 template <typename ErrorsT = PartitionError>
48 m_errorsHasBeenSet = true;
49 m_errors.emplace_back(std::forward<ErrorsT>(value));
50 return *this;
51 }
53
55
56 inline const Aws::String& GetRequestId() const { return m_requestId; }
57 template <typename RequestIdT = Aws::String>
58 void SetRequestId(RequestIdT&& value) {
59 m_requestIdHasBeenSet = true;
60 m_requestId = std::forward<RequestIdT>(value);
61 }
62 template <typename RequestIdT = Aws::String>
64 SetRequestId(std::forward<RequestIdT>(value));
65 return *this;
66 }
68 private:
70 bool m_errorsHasBeenSet = false;
71
72 Aws::String m_requestId;
73 bool m_requestIdHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace Glue
78} // namespace Aws
AWS_GLUE_API BatchDeletePartitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API BatchDeletePartitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< PartitionError > & GetErrors() const
BatchDeletePartitionResult & AddErrors(ErrorsT &&value)
AWS_GLUE_API BatchDeletePartitionResult()=default
BatchDeletePartitionResult & WithErrors(ErrorsT &&value)
BatchDeletePartitionResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue