AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ListTransactionsRequest.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 <aws/lakeformation/model/TransactionStatusFilter.h>
11#include <utility>
12
13namespace Aws
14{
15namespace LakeFormation
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_LAKEFORMATION_API ListTransactionsRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "ListTransactions"; }
32
33 AWS_LAKEFORMATION_API Aws::String SerializePayload() const override;
34
35
37
41 inline const Aws::String& GetCatalogId() const { return m_catalogId; }
42 inline bool CatalogIdHasBeenSet() const { return m_catalogIdHasBeenSet; }
43 template<typename CatalogIdT = Aws::String>
44 void SetCatalogId(CatalogIdT&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::forward<CatalogIdT>(value); }
45 template<typename CatalogIdT = Aws::String>
46 ListTransactionsRequest& WithCatalogId(CatalogIdT&& value) { SetCatalogId(std::forward<CatalogIdT>(value)); return *this;}
48
50
54 inline TransactionStatusFilter GetStatusFilter() const { return m_statusFilter; }
55 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
56 inline void SetStatusFilter(TransactionStatusFilter value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
59
61
64 inline int GetMaxResults() const { return m_maxResults; }
65 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
66 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
67 inline ListTransactionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
69
71
75 inline const Aws::String& GetNextToken() const { return m_nextToken; }
76 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
77 template<typename NextTokenT = Aws::String>
78 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
79 template<typename NextTokenT = Aws::String>
80 ListTransactionsRequest& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
82 private:
83
84 Aws::String m_catalogId;
85 bool m_catalogIdHasBeenSet = false;
86
88 bool m_statusFilterHasBeenSet = false;
89
90 int m_maxResults{0};
91 bool m_maxResultsHasBeenSet = false;
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace LakeFormation
99} // namespace Aws
AWS_LAKEFORMATION_API Aws::String SerializePayload() const override
ListTransactionsRequest & WithCatalogId(CatalogIdT &&value)
ListTransactionsRequest & WithNextToken(NextTokenT &&value)
ListTransactionsRequest & WithStatusFilter(TransactionStatusFilter value)
virtual const char * GetServiceRequestName() const override
AWS_LAKEFORMATION_API ListTransactionsRequest()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String