AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetHttpEndpoint(const Aws::String& value) { m_httpEndpointHasBeenSet = true; m_httpEndpoint = value; }
52 inline void SetHttpEndpoint(Aws::String&& value) { m_httpEndpointHasBeenSet = true; m_httpEndpoint = std::move(value); }
53 inline void SetHttpEndpoint(const char* value) { m_httpEndpointHasBeenSet = true; m_httpEndpoint.assign(value); }
54 inline NodeEthereumAttributes& WithHttpEndpoint(const Aws::String& value) { SetHttpEndpoint(value); return *this;}
55 inline NodeEthereumAttributes& WithHttpEndpoint(Aws::String&& value) { SetHttpEndpoint(std::move(value)); return *this;}
56 inline NodeEthereumAttributes& WithHttpEndpoint(const char* value) { SetHttpEndpoint(value); return *this;}
58
60
68 inline const Aws::String& GetWebSocketEndpoint() const{ return m_webSocketEndpoint; }
69 inline bool WebSocketEndpointHasBeenSet() const { return m_webSocketEndpointHasBeenSet; }
70 inline void SetWebSocketEndpoint(const Aws::String& value) { m_webSocketEndpointHasBeenSet = true; m_webSocketEndpoint = value; }
71 inline void SetWebSocketEndpoint(Aws::String&& value) { m_webSocketEndpointHasBeenSet = true; m_webSocketEndpoint = std::move(value); }
72 inline void SetWebSocketEndpoint(const char* value) { m_webSocketEndpointHasBeenSet = true; m_webSocketEndpoint.assign(value); }
74 inline NodeEthereumAttributes& WithWebSocketEndpoint(Aws::String&& value) { SetWebSocketEndpoint(std::move(value)); return *this;}
75 inline NodeEthereumAttributes& WithWebSocketEndpoint(const char* value) { SetWebSocketEndpoint(value); return *this;}
77 private:
78
79 Aws::String m_httpEndpoint;
80 bool m_httpEndpointHasBeenSet = false;
81
82 Aws::String m_webSocketEndpoint;
83 bool m_webSocketEndpointHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace ManagedBlockchain
88} // namespace Aws
NodeEthereumAttributes & WithWebSocketEndpoint(const char *value)
AWS_MANAGEDBLOCKCHAIN_API NodeEthereumAttributes(Aws::Utils::Json::JsonView jsonValue)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
NodeEthereumAttributes & WithHttpEndpoint(const char *value)
NodeEthereumAttributes & WithWebSocketEndpoint(const Aws::String &value)
NodeEthereumAttributes & WithHttpEndpoint(const Aws::String &value)
NodeEthereumAttributes & WithHttpEndpoint(Aws::String &&value)
AWS_MANAGEDBLOCKCHAIN_API NodeEthereumAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeEthereumAttributes & WithWebSocketEndpoint(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue