AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkEthereumAttributes.h
1
6#pragma once
7#include <aws/managedblockchain/ManagedBlockchain_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 ManagedBlockchain
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_MANAGEDBLOCKCHAIN_API NetworkEthereumAttributes();
35 AWS_MANAGEDBLOCKCHAIN_API NetworkEthereumAttributes(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MANAGEDBLOCKCHAIN_API NetworkEthereumAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
46 inline const Aws::String& GetChainId() const{ return m_chainId; }
47 inline bool ChainIdHasBeenSet() const { return m_chainIdHasBeenSet; }
48 inline void SetChainId(const Aws::String& value) { m_chainIdHasBeenSet = true; m_chainId = value; }
49 inline void SetChainId(Aws::String&& value) { m_chainIdHasBeenSet = true; m_chainId = std::move(value); }
50 inline void SetChainId(const char* value) { m_chainIdHasBeenSet = true; m_chainId.assign(value); }
51 inline NetworkEthereumAttributes& WithChainId(const Aws::String& value) { SetChainId(value); return *this;}
52 inline NetworkEthereumAttributes& WithChainId(Aws::String&& value) { SetChainId(std::move(value)); return *this;}
53 inline NetworkEthereumAttributes& WithChainId(const char* value) { SetChainId(value); return *this;}
55 private:
56
57 Aws::String m_chainId;
58 bool m_chainIdHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace ManagedBlockchain
63} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API NetworkEthereumAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkEthereumAttributes & WithChainId(const Aws::String &value)
NetworkEthereumAttributes & WithChainId(const char *value)
NetworkEthereumAttributes & WithChainId(Aws::String &&value)
AWS_MANAGEDBLOCKCHAIN_API NetworkEthereumAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue