AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AssetContract.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 <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace ManagedBlockchainQuery
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract() = default;
38 AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract(Aws::Utils::Json::JsonView jsonValue);
39 AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const ContractIdentifier& GetContractIdentifier() const { return m_contractIdentifier; }
49 inline bool ContractIdentifierHasBeenSet() const { return m_contractIdentifierHasBeenSet; }
50 template<typename ContractIdentifierT = ContractIdentifier>
51 void SetContractIdentifier(ContractIdentifierT&& value) { m_contractIdentifierHasBeenSet = true; m_contractIdentifier = std::forward<ContractIdentifierT>(value); }
52 template<typename ContractIdentifierT = ContractIdentifier>
53 AssetContract& WithContractIdentifier(ContractIdentifierT&& value) { SetContractIdentifier(std::forward<ContractIdentifierT>(value)); return *this;}
55
57
60 inline QueryTokenStandard GetTokenStandard() const { return m_tokenStandard; }
61 inline bool TokenStandardHasBeenSet() const { return m_tokenStandardHasBeenSet; }
62 inline void SetTokenStandard(QueryTokenStandard value) { m_tokenStandardHasBeenSet = true; m_tokenStandard = value; }
65
67
70 inline const Aws::String& GetDeployerAddress() const { return m_deployerAddress; }
71 inline bool DeployerAddressHasBeenSet() const { return m_deployerAddressHasBeenSet; }
72 template<typename DeployerAddressT = Aws::String>
73 void SetDeployerAddress(DeployerAddressT&& value) { m_deployerAddressHasBeenSet = true; m_deployerAddress = std::forward<DeployerAddressT>(value); }
74 template<typename DeployerAddressT = Aws::String>
75 AssetContract& WithDeployerAddress(DeployerAddressT&& value) { SetDeployerAddress(std::forward<DeployerAddressT>(value)); return *this;}
77 private:
78
79 ContractIdentifier m_contractIdentifier;
80 bool m_contractIdentifierHasBeenSet = false;
81
83 bool m_tokenStandardHasBeenSet = false;
84
85 Aws::String m_deployerAddress;
86 bool m_deployerAddressHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ManagedBlockchainQuery
91} // namespace Aws
AssetContract & WithTokenStandard(QueryTokenStandard value)
void SetContractIdentifier(ContractIdentifierT &&value)
AssetContract & WithDeployerAddress(DeployerAddressT &&value)
const ContractIdentifier & GetContractIdentifier() const
AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTokenStandard(QueryTokenStandard value)
void SetDeployerAddress(DeployerAddressT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API AssetContract()=default
AssetContract & WithContractIdentifier(ContractIdentifierT &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue