AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
NodeEthereumAttributes.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/managedblockchain/ManagedBlockchain_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace ManagedBlockchain {
20namespace Model {
21
28 public:
29 AWS_MANAGEDBLOCKCHAIN_API NodeEthereumAttributes() = default;
30 AWS_MANAGEDBLOCKCHAIN_API NodeEthereumAttributes(Aws::Utils::Json::JsonView jsonValue);
31 AWS_MANAGEDBLOCKCHAIN_API NodeEthereumAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
43 inline const Aws::String& GetHttpEndpoint() const { return m_httpEndpoint; }
44 inline bool HttpEndpointHasBeenSet() const { return m_httpEndpointHasBeenSet; }
45 template <typename HttpEndpointT = Aws::String>
46 void SetHttpEndpoint(HttpEndpointT&& value) {
47 m_httpEndpointHasBeenSet = true;
48 m_httpEndpoint = std::forward<HttpEndpointT>(value);
49 }
50 template <typename HttpEndpointT = Aws::String>
51 NodeEthereumAttributes& WithHttpEndpoint(HttpEndpointT&& value) {
52 SetHttpEndpoint(std::forward<HttpEndpointT>(value));
53 return *this;
54 }
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) {
70 m_webSocketEndpointHasBeenSet = true;
71 m_webSocketEndpoint = std::forward<WebSocketEndpointT>(value);
72 }
73 template <typename WebSocketEndpointT = Aws::String>
74 NodeEthereumAttributes& WithWebSocketEndpoint(WebSocketEndpointT&& value) {
75 SetWebSocketEndpoint(std::forward<WebSocketEndpointT>(value));
76 return *this;
77 }
79 private:
80 Aws::String m_httpEndpoint;
81
82 Aws::String m_webSocketEndpoint;
83 bool m_httpEndpointHasBeenSet = false;
84 bool m_webSocketEndpointHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace ManagedBlockchain
89} // 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