AWS SDK for C++

AWS SDK for C++ Version 1.11.934

Loading...
Searching...
No Matches
ConnectAttachmentOptions.h
1
6#pragma once
7#include <aws/networkmanager/NetworkManager_EXPORTS.h>
8#include <aws/networkmanager/model/TunnelProtocol.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace NetworkManager {
20namespace Model {
21
29 public:
30 AWS_NETWORKMANAGER_API ConnectAttachmentOptions() = default;
31 AWS_NETWORKMANAGER_API ConnectAttachmentOptions(Aws::Utils::Json::JsonView jsonValue);
33 AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline TunnelProtocol GetProtocol() const { return m_protocol; }
40 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
41 inline void SetProtocol(TunnelProtocol value) {
42 m_protocolHasBeenSet = true;
43 m_protocol = value;
44 }
46 SetProtocol(value);
47 return *this;
48 }
50 private:
52 bool m_protocolHasBeenSet = false;
53};
54
55} // namespace Model
56} // namespace NetworkManager
57} // namespace Aws
AWS_NETWORKMANAGER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKMANAGER_API ConnectAttachmentOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKMANAGER_API ConnectAttachmentOptions(Aws::Utils::Json::JsonView jsonValue)
ConnectAttachmentOptions & WithProtocol(TunnelProtocol value)
AWS_NETWORKMANAGER_API ConnectAttachmentOptions()=default
Aws::Utils::Json::JsonValue JsonValue