AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NodeEthereumAttributes.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 NodeEthereumAttributes() = default;
35 AWS_MANAGEDBLOCKCHAIN_API NodeEthereumAttributes(Aws::Utils::Json::JsonView jsonValue);
36 AWS_MANAGEDBLOCKCHAIN_API NodeEthereumAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
49 inline const Aws::String& GetHttpEndpoint() const { return m_httpEndpoint; }
50 inline bool HttpEndpointHasBeenSet() const { return m_httpEndpointHasBeenSet; }
51 template<typename HttpEndpointT = Aws::String>
52 void SetHttpEndpoint(HttpEndpointT&& value) { m_httpEndpointHasBeenSet = true; m_httpEndpoint = std::forward<HttpEndpointT>(value); }
53 template<typename HttpEndpointT = Aws::String>
54 NodeEthereumAttributes& WithHttpEndpoint(HttpEndpointT&& value) { SetHttpEndpoint(std::forward<HttpEndpointT>(value)); return *this;}
56
58
66 inline const Aws::String& GetWebSocketEndpoint() const { return m_webSocketEndpoint; }
67 inline bool WebSocketEndpointHasBeenSet() const { return m_webSocketEndpointHasBeenSet; }
68 template<typename WebSocketEndpointT = Aws::String>
69 void SetWebSocketEndpoint(WebSocketEndpointT&& value) { m_webSocketEndpointHasBeenSet = true; m_webSocketEndpoint = std::forward<WebSocketEndpointT>(value); }
70 template<typename WebSocketEndpointT = Aws::String>
71 NodeEthereumAttributes& WithWebSocketEndpoint(WebSocketEndpointT&& value) { SetWebSocketEndpoint(std::forward<WebSocketEndpointT>(value)); return *this;}
73 private:
74
75 Aws::String m_httpEndpoint;
76 bool m_httpEndpointHasBeenSet = false;
77
78 Aws::String m_webSocketEndpoint;
79 bool m_webSocketEndpointHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace ManagedBlockchain
84} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API NodeEthereumAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
NodeEthereumAttributes & WithHttpEndpoint(HttpEndpointT &&value)
AWS_MANAGEDBLOCKCHAIN_API NodeEthereumAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API NodeEthereumAttributes()=default
NodeEthereumAttributes & WithWebSocketEndpoint(WebSocketEndpointT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue