AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NodeFabricAttributes.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
33 {
34 public:
35 AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes() = default;
36 AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes(Aws::Utils::Json::JsonView jsonValue);
37 AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
46 inline const Aws::String& GetPeerEndpoint() const { return m_peerEndpoint; }
47 inline bool PeerEndpointHasBeenSet() const { return m_peerEndpointHasBeenSet; }
48 template<typename PeerEndpointT = Aws::String>
49 void SetPeerEndpoint(PeerEndpointT&& value) { m_peerEndpointHasBeenSet = true; m_peerEndpoint = std::forward<PeerEndpointT>(value); }
50 template<typename PeerEndpointT = Aws::String>
51 NodeFabricAttributes& WithPeerEndpoint(PeerEndpointT&& value) { SetPeerEndpoint(std::forward<PeerEndpointT>(value)); return *this;}
53
55
59 inline const Aws::String& GetPeerEventEndpoint() const { return m_peerEventEndpoint; }
60 inline bool PeerEventEndpointHasBeenSet() const { return m_peerEventEndpointHasBeenSet; }
61 template<typename PeerEventEndpointT = Aws::String>
62 void SetPeerEventEndpoint(PeerEventEndpointT&& value) { m_peerEventEndpointHasBeenSet = true; m_peerEventEndpoint = std::forward<PeerEventEndpointT>(value); }
63 template<typename PeerEventEndpointT = Aws::String>
64 NodeFabricAttributes& WithPeerEventEndpoint(PeerEventEndpointT&& value) { SetPeerEventEndpoint(std::forward<PeerEventEndpointT>(value)); return *this;}
66 private:
67
68 Aws::String m_peerEndpoint;
69 bool m_peerEndpointHasBeenSet = false;
70
71 Aws::String m_peerEventEndpoint;
72 bool m_peerEventEndpointHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace ManagedBlockchain
77} // namespace Aws
AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes()=default
AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes & operator=(Aws::Utils::Json::JsonView jsonValue)
NodeFabricAttributes & WithPeerEndpoint(PeerEndpointT &&value)
NodeFabricAttributes & WithPeerEventEndpoint(PeerEventEndpointT &&value)
AWS_MANAGEDBLOCKCHAIN_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MANAGEDBLOCKCHAIN_API NodeFabricAttributes(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue