AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetAssetContractResult.h
1
6#pragma once
7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/managedblockchain-query/model/ContractIdentifier.h>
9#include <aws/managedblockchain-query/model/QueryTokenStandard.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/managedblockchain-query/model/ContractMetadata.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace ManagedBlockchainQuery
27{
28namespace Model
29{
31 {
32 public:
33 AWS_MANAGEDBLOCKCHAINQUERY_API GetAssetContractResult();
36
37
39
43 inline const ContractIdentifier& GetContractIdentifier() const{ return m_contractIdentifier; }
44 inline void SetContractIdentifier(const ContractIdentifier& value) { m_contractIdentifier = value; }
45 inline void SetContractIdentifier(ContractIdentifier&& value) { m_contractIdentifier = std::move(value); }
49
51
54 inline const QueryTokenStandard& GetTokenStandard() const{ return m_tokenStandard; }
55 inline void SetTokenStandard(const QueryTokenStandard& value) { m_tokenStandard = value; }
56 inline void SetTokenStandard(QueryTokenStandard&& value) { m_tokenStandard = std::move(value); }
57 inline GetAssetContractResult& WithTokenStandard(const QueryTokenStandard& value) { SetTokenStandard(value); return *this;}
58 inline GetAssetContractResult& WithTokenStandard(QueryTokenStandard&& value) { SetTokenStandard(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetDeployerAddress() const{ return m_deployerAddress; }
66 inline void SetDeployerAddress(const Aws::String& value) { m_deployerAddress = value; }
67 inline void SetDeployerAddress(Aws::String&& value) { m_deployerAddress = std::move(value); }
68 inline void SetDeployerAddress(const char* value) { m_deployerAddress.assign(value); }
69 inline GetAssetContractResult& WithDeployerAddress(const Aws::String& value) { SetDeployerAddress(value); return *this;}
70 inline GetAssetContractResult& WithDeployerAddress(Aws::String&& value) { SetDeployerAddress(std::move(value)); return *this;}
71 inline GetAssetContractResult& WithDeployerAddress(const char* value) { SetDeployerAddress(value); return *this;}
73
75
76 inline const ContractMetadata& GetMetadata() const{ return m_metadata; }
77 inline void SetMetadata(const ContractMetadata& value) { m_metadata = value; }
78 inline void SetMetadata(ContractMetadata&& value) { m_metadata = std::move(value); }
79 inline GetAssetContractResult& WithMetadata(const ContractMetadata& value) { SetMetadata(value); return *this;}
80 inline GetAssetContractResult& WithMetadata(ContractMetadata&& value) { SetMetadata(std::move(value)); return *this;}
82
84
85 inline const Aws::String& GetRequestId() const{ return m_requestId; }
86 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
87 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
88 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
89 inline GetAssetContractResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
90 inline GetAssetContractResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 inline GetAssetContractResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
93 private:
94
95 ContractIdentifier m_contractIdentifier;
96
97 QueryTokenStandard m_tokenStandard;
98
99 Aws::String m_deployerAddress;
100
101 ContractMetadata m_metadata;
102
103 Aws::String m_requestId;
104 };
105
106} // namespace Model
107} // namespace ManagedBlockchainQuery
108} // namespace Aws
GetAssetContractResult & WithMetadata(const ContractMetadata &value)
GetAssetContractResult & WithRequestId(const char *value)
GetAssetContractResult & WithTokenStandard(QueryTokenStandard &&value)
GetAssetContractResult & WithTokenStandard(const QueryTokenStandard &value)
GetAssetContractResult & WithContractIdentifier(const ContractIdentifier &value)
AWS_MANAGEDBLOCKCHAINQUERY_API GetAssetContractResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAssetContractResult & WithMetadata(ContractMetadata &&value)
GetAssetContractResult & WithDeployerAddress(const char *value)
GetAssetContractResult & WithDeployerAddress(Aws::String &&value)
GetAssetContractResult & WithContractIdentifier(ContractIdentifier &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API GetAssetContractResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetAssetContractResult & WithDeployerAddress(const Aws::String &value)
GetAssetContractResult & WithRequestId(const Aws::String &value)
GetAssetContractResult & WithRequestId(Aws::String &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API GetAssetContractResult()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue