AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BatchGetPartitionResult.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/glue/model/Partition.h>
11#include <aws/glue/model/PartitionValueList.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace Glue
27{
28namespace Model
29{
31 {
32 public:
36
37
39
42 inline const Aws::Vector<Partition>& GetPartitions() const{ return m_partitions; }
43 inline void SetPartitions(const Aws::Vector<Partition>& value) { m_partitions = value; }
44 inline void SetPartitions(Aws::Vector<Partition>&& value) { m_partitions = std::move(value); }
45 inline BatchGetPartitionResult& WithPartitions(const Aws::Vector<Partition>& value) { SetPartitions(value); return *this;}
46 inline BatchGetPartitionResult& WithPartitions(Aws::Vector<Partition>&& value) { SetPartitions(std::move(value)); return *this;}
47 inline BatchGetPartitionResult& AddPartitions(const Partition& value) { m_partitions.push_back(value); return *this; }
48 inline BatchGetPartitionResult& AddPartitions(Partition&& value) { m_partitions.push_back(std::move(value)); return *this; }
50
52
56 inline const Aws::Vector<PartitionValueList>& GetUnprocessedKeys() const{ return m_unprocessedKeys; }
57 inline void SetUnprocessedKeys(const Aws::Vector<PartitionValueList>& value) { m_unprocessedKeys = value; }
58 inline void SetUnprocessedKeys(Aws::Vector<PartitionValueList>&& value) { m_unprocessedKeys = std::move(value); }
61 inline BatchGetPartitionResult& AddUnprocessedKeys(const PartitionValueList& value) { m_unprocessedKeys.push_back(value); return *this; }
62 inline BatchGetPartitionResult& AddUnprocessedKeys(PartitionValueList&& value) { m_unprocessedKeys.push_back(std::move(value)); return *this; }
64
66
67 inline const Aws::String& GetRequestId() const{ return m_requestId; }
68 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
69 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
70 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
71 inline BatchGetPartitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
72 inline BatchGetPartitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
73 inline BatchGetPartitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
75 private:
76
77 Aws::Vector<Partition> m_partitions;
78
79 Aws::Vector<PartitionValueList> m_unprocessedKeys;
80
81 Aws::String m_requestId;
82 };
83
84} // namespace Model
85} // namespace Glue
86} // namespace Aws
BatchGetPartitionResult & AddPartitions(Partition &&value)
void SetPartitions(const Aws::Vector< Partition > &value)
AWS_GLUE_API BatchGetPartitionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
BatchGetPartitionResult & WithRequestId(const Aws::String &value)
BatchGetPartitionResult & WithPartitions(const Aws::Vector< Partition > &value)
BatchGetPartitionResult & AddUnprocessedKeys(PartitionValueList &&value)
BatchGetPartitionResult & AddUnprocessedKeys(const PartitionValueList &value)
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(const char *value)
BatchGetPartitionResult & WithPartitions(Aws::Vector< Partition > &&value)
BatchGetPartitionResult & WithUnprocessedKeys(Aws::Vector< PartitionValueList > &&value)
BatchGetPartitionResult & AddPartitions(const Partition &value)
void SetUnprocessedKeys(Aws::Vector< PartitionValueList > &&value)
BatchGetPartitionResult & WithRequestId(Aws::String &&value)
BatchGetPartitionResult & WithUnprocessedKeys(const Aws::Vector< PartitionValueList > &value)
void SetPartitions(Aws::Vector< Partition > &&value)
void SetUnprocessedKeys(const Aws::Vector< PartitionValueList > &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