AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetCatalogId(const Aws::String& value) { m_catalogIdHasBeenSet = true; m_catalogId = value; }
44 inline void SetCatalogId(Aws::String&& value) { m_catalogIdHasBeenSet = true; m_catalogId = std::move(value); }
45 inline void SetCatalogId(const char* value) { m_catalogIdHasBeenSet = true; m_catalogId.assign(value); }
46 inline ListTransactionsRequest& WithCatalogId(const Aws::String& value) { SetCatalogId(value); return *this;}
47 inline ListTransactionsRequest& WithCatalogId(Aws::String&& value) { SetCatalogId(std::move(value)); return *this;}
48 inline ListTransactionsRequest& WithCatalogId(const char* value) { SetCatalogId(value); return *this;}
50
52
56 inline const TransactionStatusFilter& GetStatusFilter() const{ return m_statusFilter; }
57 inline bool StatusFilterHasBeenSet() const { return m_statusFilterHasBeenSet; }
58 inline void SetStatusFilter(const TransactionStatusFilter& value) { m_statusFilterHasBeenSet = true; m_statusFilter = value; }
59 inline void SetStatusFilter(TransactionStatusFilter&& value) { m_statusFilterHasBeenSet = true; m_statusFilter = std::move(value); }
61 inline ListTransactionsRequest& WithStatusFilter(TransactionStatusFilter&& value) { SetStatusFilter(std::move(value)); return *this;}
63
65
68 inline int GetMaxResults() const{ return m_maxResults; }
69 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
70 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
71 inline ListTransactionsRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
73
75
79 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
80 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
81 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
82 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
83 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
84 inline ListTransactionsRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
85 inline ListTransactionsRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
86 inline ListTransactionsRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
88 private:
89
90 Aws::String m_catalogId;
91 bool m_catalogIdHasBeenSet = false;
92
93 TransactionStatusFilter m_statusFilter;
94 bool m_statusFilterHasBeenSet = false;
95
96 int m_maxResults;
97 bool m_maxResultsHasBeenSet = false;
98
99 Aws::String m_nextToken;
100 bool m_nextTokenHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace LakeFormation
105} // namespace Aws
const TransactionStatusFilter & GetStatusFilter() const
AWS_LAKEFORMATION_API Aws::String SerializePayload() const override
ListTransactionsRequest & WithNextToken(const Aws::String &value)
ListTransactionsRequest & WithNextToken(Aws::String &&value)
ListTransactionsRequest & WithCatalogId(Aws::String &&value)
ListTransactionsRequest & WithNextToken(const char *value)
ListTransactionsRequest & WithStatusFilter(const TransactionStatusFilter &value)
virtual const char * GetServiceRequestName() const override
void SetStatusFilter(const TransactionStatusFilter &value)
ListTransactionsRequest & WithStatusFilter(TransactionStatusFilter &&value)
void SetStatusFilter(TransactionStatusFilter &&value)
ListTransactionsRequest & WithCatalogId(const Aws::String &value)
ListTransactionsRequest & WithCatalogId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String