AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TransactionOutputItem.h
1
6#pragma once
7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/managedblockchain-query/model/QueryNetwork.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/managedblockchain-query/model/ConfirmationStatus.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace ManagedBlockchainQuery
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_MANAGEDBLOCKCHAINQUERY_API TransactionOutputItem();
38 AWS_MANAGEDBLOCKCHAINQUERY_API TransactionOutputItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDBLOCKCHAINQUERY_API TransactionOutputItem& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetTransactionHash() const{ return m_transactionHash; }
48 inline bool TransactionHashHasBeenSet() const { return m_transactionHashHasBeenSet; }
49 inline void SetTransactionHash(const Aws::String& value) { m_transactionHashHasBeenSet = true; m_transactionHash = value; }
50 inline void SetTransactionHash(Aws::String&& value) { m_transactionHashHasBeenSet = true; m_transactionHash = std::move(value); }
51 inline void SetTransactionHash(const char* value) { m_transactionHashHasBeenSet = true; m_transactionHash.assign(value); }
52 inline TransactionOutputItem& WithTransactionHash(const Aws::String& value) { SetTransactionHash(value); return *this;}
53 inline TransactionOutputItem& WithTransactionHash(Aws::String&& value) { SetTransactionHash(std::move(value)); return *this;}
54 inline TransactionOutputItem& WithTransactionHash(const char* value) { SetTransactionHash(value); return *this;}
56
58
62 inline const Aws::String& GetTransactionId() const{ return m_transactionId; }
63 inline bool TransactionIdHasBeenSet() const { return m_transactionIdHasBeenSet; }
64 inline void SetTransactionId(const Aws::String& value) { m_transactionIdHasBeenSet = true; m_transactionId = value; }
65 inline void SetTransactionId(Aws::String&& value) { m_transactionIdHasBeenSet = true; m_transactionId = std::move(value); }
66 inline void SetTransactionId(const char* value) { m_transactionIdHasBeenSet = true; m_transactionId.assign(value); }
67 inline TransactionOutputItem& WithTransactionId(const Aws::String& value) { SetTransactionId(value); return *this;}
68 inline TransactionOutputItem& WithTransactionId(Aws::String&& value) { SetTransactionId(std::move(value)); return *this;}
69 inline TransactionOutputItem& WithTransactionId(const char* value) { SetTransactionId(value); return *this;}
71
73
76 inline const QueryNetwork& GetNetwork() const{ return m_network; }
77 inline bool NetworkHasBeenSet() const { return m_networkHasBeenSet; }
78 inline void SetNetwork(const QueryNetwork& value) { m_networkHasBeenSet = true; m_network = value; }
79 inline void SetNetwork(QueryNetwork&& value) { m_networkHasBeenSet = true; m_network = std::move(value); }
80 inline TransactionOutputItem& WithNetwork(const QueryNetwork& value) { SetNetwork(value); return *this;}
81 inline TransactionOutputItem& WithNetwork(QueryNetwork&& value) { SetNetwork(std::move(value)); return *this;}
83
85
88 inline const Aws::Utils::DateTime& GetTransactionTimestamp() const{ return m_transactionTimestamp; }
89 inline bool TransactionTimestampHasBeenSet() const { return m_transactionTimestampHasBeenSet; }
90 inline void SetTransactionTimestamp(const Aws::Utils::DateTime& value) { m_transactionTimestampHasBeenSet = true; m_transactionTimestamp = value; }
91 inline void SetTransactionTimestamp(Aws::Utils::DateTime&& value) { m_transactionTimestampHasBeenSet = true; m_transactionTimestamp = std::move(value); }
95
97
100 inline const ConfirmationStatus& GetConfirmationStatus() const{ return m_confirmationStatus; }
101 inline bool ConfirmationStatusHasBeenSet() const { return m_confirmationStatusHasBeenSet; }
102 inline void SetConfirmationStatus(const ConfirmationStatus& value) { m_confirmationStatusHasBeenSet = true; m_confirmationStatus = value; }
103 inline void SetConfirmationStatus(ConfirmationStatus&& value) { m_confirmationStatusHasBeenSet = true; m_confirmationStatus = std::move(value); }
107 private:
108
109 Aws::String m_transactionHash;
110 bool m_transactionHashHasBeenSet = false;
111
112 Aws::String m_transactionId;
113 bool m_transactionIdHasBeenSet = false;
114
115 QueryNetwork m_network;
116 bool m_networkHasBeenSet = false;
117
118 Aws::Utils::DateTime m_transactionTimestamp;
119 bool m_transactionTimestampHasBeenSet = false;
120
121 ConfirmationStatus m_confirmationStatus;
122 bool m_confirmationStatusHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace ManagedBlockchainQuery
127} // namespace Aws
AWS_MANAGEDBLOCKCHAINQUERY_API TransactionOutputItem()
TransactionOutputItem & WithConfirmationStatus(const ConfirmationStatus &value)
AWS_MANAGEDBLOCKCHAINQUERY_API TransactionOutputItem(Aws::Utils::Json::JsonView jsonValue)
TransactionOutputItem & WithTransactionHash(const Aws::String &value)
TransactionOutputItem & WithTransactionHash(Aws::String &&value)
TransactionOutputItem & WithTransactionTimestamp(Aws::Utils::DateTime &&value)
TransactionOutputItem & WithNetwork(const QueryNetwork &value)
TransactionOutputItem & WithTransactionId(const Aws::String &value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
TransactionOutputItem & WithTransactionId(Aws::String &&value)
TransactionOutputItem & WithTransactionId(const char *value)
TransactionOutputItem & WithTransactionHash(const char *value)
TransactionOutputItem & WithNetwork(QueryNetwork &&value)
TransactionOutputItem & WithConfirmationStatus(ConfirmationStatus &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API TransactionOutputItem & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTransactionTimestamp(const Aws::Utils::DateTime &value)
TransactionOutputItem & WithTransactionTimestamp(const Aws::Utils::DateTime &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue