AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ContractMetadata.h
1
6#pragma once
7#include <aws/managedblockchain-query/ManagedBlockchainQuery_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace ManagedBlockchainQuery
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MANAGEDBLOCKCHAINQUERY_API ContractMetadata();
35 AWS_MANAGEDBLOCKCHAINQUERY_API ContractMetadata(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MANAGEDBLOCKCHAINQUERY_API ContractMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetName() const{ return m_name; }
45 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
46 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
47 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
48 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
49 inline ContractMetadata& WithName(const Aws::String& value) { SetName(value); return *this;}
50 inline ContractMetadata& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
51 inline ContractMetadata& WithName(const char* value) { SetName(value); return *this;}
53
55
58 inline const Aws::String& GetSymbol() const{ return m_symbol; }
59 inline bool SymbolHasBeenSet() const { return m_symbolHasBeenSet; }
60 inline void SetSymbol(const Aws::String& value) { m_symbolHasBeenSet = true; m_symbol = value; }
61 inline void SetSymbol(Aws::String&& value) { m_symbolHasBeenSet = true; m_symbol = std::move(value); }
62 inline void SetSymbol(const char* value) { m_symbolHasBeenSet = true; m_symbol.assign(value); }
63 inline ContractMetadata& WithSymbol(const Aws::String& value) { SetSymbol(value); return *this;}
64 inline ContractMetadata& WithSymbol(Aws::String&& value) { SetSymbol(std::move(value)); return *this;}
65 inline ContractMetadata& WithSymbol(const char* value) { SetSymbol(value); return *this;}
67
69
72 inline int GetDecimals() const{ return m_decimals; }
73 inline bool DecimalsHasBeenSet() const { return m_decimalsHasBeenSet; }
74 inline void SetDecimals(int value) { m_decimalsHasBeenSet = true; m_decimals = value; }
75 inline ContractMetadata& WithDecimals(int value) { SetDecimals(value); return *this;}
77 private:
78
79 Aws::String m_name;
80 bool m_nameHasBeenSet = false;
81
82 Aws::String m_symbol;
83 bool m_symbolHasBeenSet = false;
84
85 int m_decimals;
86 bool m_decimalsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace ManagedBlockchainQuery
91} // namespace Aws
AWS_MANAGEDBLOCKCHAINQUERY_API Aws::Utils::Json::JsonValue Jsonize() const
ContractMetadata & WithSymbol(Aws::String &&value)
AWS_MANAGEDBLOCKCHAINQUERY_API ContractMetadata()
AWS_MANAGEDBLOCKCHAINQUERY_API ContractMetadata(Aws::Utils::Json::JsonView jsonValue)
ContractMetadata & WithSymbol(const Aws::String &value)
ContractMetadata & WithSymbol(const char *value)
AWS_MANAGEDBLOCKCHAINQUERY_API ContractMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
ContractMetadata & WithName(const Aws::String &value)
ContractMetadata & WithName(const char *value)
ContractMetadata & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue