AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ListTokenBalancesRequest.h
1
6#pragma once
7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/managedblockchain-query/ManagedBlockchainQueryRequest.h>
9#include <aws/managedblockchain-query/model/OwnerFilter.h>
10#include <aws/managedblockchain-query/model/TokenFilter.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ManagedBlockchainQuery
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_MANAGEDBLOCKCHAINQUERY_API ListTokenBalancesRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "ListTokenBalances"; }
33
34 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override;
35
36
38
44 inline const OwnerFilter& GetOwnerFilter() const{ return m_ownerFilter; }
45 inline bool OwnerFilterHasBeenSet() const { return m_ownerFilterHasBeenSet; }
46 inline void SetOwnerFilter(const OwnerFilter& value) { m_ownerFilterHasBeenSet = true; m_ownerFilter = value; }
47 inline void SetOwnerFilter(OwnerFilter&& value) { m_ownerFilterHasBeenSet = true; m_ownerFilter = std::move(value); }
48 inline ListTokenBalancesRequest& WithOwnerFilter(const OwnerFilter& value) { SetOwnerFilter(value); return *this;}
49 inline ListTokenBalancesRequest& WithOwnerFilter(OwnerFilter&& value) { SetOwnerFilter(std::move(value)); return *this;}
51
53
60 inline const TokenFilter& GetTokenFilter() const{ return m_tokenFilter; }
61 inline bool TokenFilterHasBeenSet() const { return m_tokenFilterHasBeenSet; }
62 inline void SetTokenFilter(const TokenFilter& value) { m_tokenFilterHasBeenSet = true; m_tokenFilter = value; }
63 inline void SetTokenFilter(TokenFilter&& value) { m_tokenFilterHasBeenSet = true; m_tokenFilter = std::move(value); }
64 inline ListTokenBalancesRequest& WithTokenFilter(const TokenFilter& value) { SetTokenFilter(value); return *this;}
65 inline ListTokenBalancesRequest& WithTokenFilter(TokenFilter&& value) { SetTokenFilter(std::move(value)); return *this;}
67
69
72 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
73 inline bool NextTokenHasBeenSet() const { return m_nextTokenHasBeenSet; }
74 inline void SetNextToken(const Aws::String& value) { m_nextTokenHasBeenSet = true; m_nextToken = value; }
75 inline void SetNextToken(Aws::String&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::move(value); }
76 inline void SetNextToken(const char* value) { m_nextTokenHasBeenSet = true; m_nextToken.assign(value); }
77 inline ListTokenBalancesRequest& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
78 inline ListTokenBalancesRequest& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
79 inline ListTokenBalancesRequest& WithNextToken(const char* value) { SetNextToken(value); return *this;}
81
83
92 inline int GetMaxResults() const{ return m_maxResults; }
93 inline bool MaxResultsHasBeenSet() const { return m_maxResultsHasBeenSet; }
94 inline void SetMaxResults(int value) { m_maxResultsHasBeenSet = true; m_maxResults = value; }
95 inline ListTokenBalancesRequest& WithMaxResults(int value) { SetMaxResults(value); return *this;}
97 private:
98
99 OwnerFilter m_ownerFilter;
100 bool m_ownerFilterHasBeenSet = false;
101
102 TokenFilter m_tokenFilter;
103 bool m_tokenFilterHasBeenSet = false;
104
105 Aws::String m_nextToken;
106 bool m_nextTokenHasBeenSet = false;
107
108 int m_maxResults;
109 bool m_maxResultsHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ManagedBlockchainQuery
114} // namespace Aws
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::String SerializePayload() const override
ListTokenBalancesRequest & WithOwnerFilter(const OwnerFilter &value)
ListTokenBalancesRequest & WithNextToken(Aws::String &&value)
ListTokenBalancesRequest & WithNextToken(const Aws::String &value)
ListTokenBalancesRequest & WithOwnerFilter(OwnerFilter &&value)
ListTokenBalancesRequest & WithTokenFilter(TokenFilter &&value)
ListTokenBalancesRequest & WithTokenFilter(const TokenFilter &value)
ListTokenBalancesRequest & WithNextToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String