AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetWorkUnitsRequest.h
1
6#pragma once
7#include <aws/lakeformation/LakeFormation_EXPORTS.h>
8#include <aws/lakeformation/LakeFormationRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace LakeFormation
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_LAKEFORMATION_API GetWorkUnitsRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "GetWorkUnits"; }
31
32 AWS_LAKEFORMATION_API Aws::String SerializePayload() const override;
33
34
36
39 inline const Aws::String& GetNextToken() const { return m_nextToken; }
40 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
41 template<typename NextTokenT = Aws::String>
42 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
43 template<typename NextTokenT = Aws::String>
44 GetWorkUnitsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
46
48
55 inline int GetPageSize() const { return m_pageSize; }
56 inline bool PageSizeHasBeenSet() const { return m_pageSizeHasBeenSet; }
57 inline void SetPageSize(int value) { m_pageSizeHasBeenSet = true; m_pageSize = value; }
58 inline GetWorkUnitsRequest& WithPageSize(int value) { SetPageSize(value); return *this;}
60
62
65 inline const Aws::String& GetQueryId() const { return m_queryId; }
66 inline bool QueryIdHasBeenSet() const { return m_queryIdHasBeenSet; }
67 template<typename QueryIdT = Aws::String>
68 void SetQueryId(QueryIdT&& value) { m_queryIdHasBeenSet = true; m_queryId = std::forward<QueryIdT>(value); }
69 template<typename QueryIdT = Aws::String>
70 GetWorkUnitsRequest& WithQueryId(QueryIdT&& value) { SetQueryId(std::forward<QueryIdT>(value)); return *this;}
72 private:
73
74 Aws::String m_nextToken;
75 bool m_nextTokenHasBeenSet = false;
76
77 int m_pageSize{0};
78 bool m_pageSizeHasBeenSet = false;
79
80 Aws::String m_queryId;
81 bool m_queryIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace LakeFormation
86} // namespace Aws
virtual const char * GetServiceRequestName() const override
GetWorkUnitsRequest & WithNextToken(NextTokenT &&value)
AWS_LAKEFORMATION_API GetWorkUnitsRequest()=default
GetWorkUnitsRequest & WithPageSize(int value)
GetWorkUnitsRequest & WithQueryId(QueryIdT &&value)
AWS_LAKEFORMATION_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String