AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetWorkUnitsResult.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lakeformation/model/WorkUnitRange.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace LakeFormation
26{
27namespace Model
28{
35 {
36 public:
37 AWS_LAKEFORMATION_API GetWorkUnitsResult();
40
41
43
47 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
48 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
49 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
50 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
51 inline GetWorkUnitsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
52 inline GetWorkUnitsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
53 inline GetWorkUnitsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
55
57
60 inline const Aws::String& GetQueryId() const{ return m_queryId; }
61 inline void SetQueryId(const Aws::String& value) { m_queryId = value; }
62 inline void SetQueryId(Aws::String&& value) { m_queryId = std::move(value); }
63 inline void SetQueryId(const char* value) { m_queryId.assign(value); }
64 inline GetWorkUnitsResult& WithQueryId(const Aws::String& value) { SetQueryId(value); return *this;}
65 inline GetWorkUnitsResult& WithQueryId(Aws::String&& value) { SetQueryId(std::move(value)); return *this;}
66 inline GetWorkUnitsResult& WithQueryId(const char* value) { SetQueryId(value); return *this;}
68
70
74 inline const Aws::Vector<WorkUnitRange>& GetWorkUnitRanges() const{ return m_workUnitRanges; }
75 inline void SetWorkUnitRanges(const Aws::Vector<WorkUnitRange>& value) { m_workUnitRanges = value; }
76 inline void SetWorkUnitRanges(Aws::Vector<WorkUnitRange>&& value) { m_workUnitRanges = std::move(value); }
78 inline GetWorkUnitsResult& WithWorkUnitRanges(Aws::Vector<WorkUnitRange>&& value) { SetWorkUnitRanges(std::move(value)); return *this;}
79 inline GetWorkUnitsResult& AddWorkUnitRanges(const WorkUnitRange& value) { m_workUnitRanges.push_back(value); return *this; }
80 inline GetWorkUnitsResult& AddWorkUnitRanges(WorkUnitRange&& value) { m_workUnitRanges.push_back(std::move(value)); return *this; }
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline GetWorkUnitsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline GetWorkUnitsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline GetWorkUnitsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 Aws::String m_nextToken;
96
97 Aws::String m_queryId;
98
99 Aws::Vector<WorkUnitRange> m_workUnitRanges;
100
101 Aws::String m_requestId;
102 };
103
104} // namespace Model
105} // namespace LakeFormation
106} // namespace Aws
const Aws::Vector< WorkUnitRange > & GetWorkUnitRanges() const
GetWorkUnitsResult & WithQueryId(Aws::String &&value)
GetWorkUnitsResult & WithNextToken(const char *value)
void SetWorkUnitRanges(const Aws::Vector< WorkUnitRange > &value)
GetWorkUnitsResult & WithRequestId(const Aws::String &value)
AWS_LAKEFORMATION_API GetWorkUnitsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LAKEFORMATION_API GetWorkUnitsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWorkUnitsResult & AddWorkUnitRanges(const WorkUnitRange &value)
GetWorkUnitsResult & WithRequestId(const char *value)
GetWorkUnitsResult & WithQueryId(const char *value)
void SetWorkUnitRanges(Aws::Vector< WorkUnitRange > &&value)
GetWorkUnitsResult & WithWorkUnitRanges(const Aws::Vector< WorkUnitRange > &value)
GetWorkUnitsResult & WithNextToken(const Aws::String &value)
GetWorkUnitsResult & WithRequestId(Aws::String &&value)
GetWorkUnitsResult & WithWorkUnitRanges(Aws::Vector< WorkUnitRange > &&value)
GetWorkUnitsResult & WithNextToken(Aws::String &&value)
GetWorkUnitsResult & WithQueryId(const Aws::String &value)
GetWorkUnitsResult & AddWorkUnitRanges(WorkUnitRange &&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