AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
BatchGetPartitionResult.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/Partition.h>
11#include <aws/glue/model/PartitionValueList.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace Glue {
25namespace Model {
27 public:
28 AWS_GLUE_API BatchGetPartitionResult() = default;
31
33
36 inline const Aws::Vector<Partition>& GetPartitions() const { return m_partitions; }
37 template <typename PartitionsT = Aws::Vector<Partition>>
38 void SetPartitions(PartitionsT&& value) {
39 m_partitionsHasBeenSet = true;
40 m_partitions = std::forward<PartitionsT>(value);
41 }
42 template <typename PartitionsT = Aws::Vector<Partition>>
44 SetPartitions(std::forward<PartitionsT>(value));
45 return *this;
46 }
47 template <typename PartitionsT = Partition>
48 BatchGetPartitionResult& AddPartitions(PartitionsT&& value) {
49 m_partitionsHasBeenSet = true;
50 m_partitions.emplace_back(std::forward<PartitionsT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<PartitionValueList>& GetUnprocessedKeys() const { return m_unprocessedKeys; }
61 template <typename UnprocessedKeysT = Aws::Vector<PartitionValueList>>
62 void SetUnprocessedKeys(UnprocessedKeysT&& value) {
63 m_unprocessedKeysHasBeenSet = true;
64 m_unprocessedKeys = std::forward<UnprocessedKeysT>(value);
65 }
66 template <typename UnprocessedKeysT = Aws::Vector<PartitionValueList>>
67 BatchGetPartitionResult& WithUnprocessedKeys(UnprocessedKeysT&& value) {
68 SetUnprocessedKeys(std::forward<UnprocessedKeysT>(value));
69 return *this;
70 }
71 template <typename UnprocessedKeysT = PartitionValueList>
72 BatchGetPartitionResult& AddUnprocessedKeys(UnprocessedKeysT&& value) {
73 m_unprocessedKeysHasBeenSet = true;
74 m_unprocessedKeys.emplace_back(std::forward<UnprocessedKeysT>(value));
75 return *this;
76 }
78
80
81 inline const Aws::String& GetRequestId() const { return m_requestId; }
82 template <typename RequestIdT = Aws::String>
83 void SetRequestId(RequestIdT&& value) {
84 m_requestIdHasBeenSet = true;
85 m_requestId = std::forward<RequestIdT>(value);
86 }
87 template <typename RequestIdT = Aws::String>
89 SetRequestId(std::forward<RequestIdT>(value));
90 return *this;
91 }
93 private:
94 Aws::Vector<Partition> m_partitions;
95
96 Aws::Vector<PartitionValueList> m_unprocessedKeys;
97
98 Aws::String m_requestId;
99 bool m_partitionsHasBeenSet = false;
100 bool m_unprocessedKeysHasBeenSet = false;
101 bool m_requestIdHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace Glue
106} // namespace Aws
BatchGetPartitionResult & AddPartitions(PartitionsT &&value)
AWS_GLUE_API BatchGetPartitionResult()=default
AWS_GLUE_API BatchGetPartitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_GLUE_API BatchGetPartitionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< PartitionValueList > & GetUnprocessedKeys() const
const Aws::Vector< Partition > & GetPartitions() const
BatchGetPartitionResult & WithRequestId(RequestIdT &&value)
BatchGetPartitionResult & AddUnprocessedKeys(UnprocessedKeysT &&value)
BatchGetPartitionResult & WithPartitions(PartitionsT &&value)
BatchGetPartitionResult & WithUnprocessedKeys(UnprocessedKeysT &&value)
void SetUnprocessedKeys(UnprocessedKeysT &&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