AWS SDK for C++

AWS SDK for C++ Version 1.11.609

Loading...
Searching...
No Matches
NodeInterfaceMapping.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/medialive/model/NetworkInterfaceMode.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace MediaLive
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_MEDIALIVE_API NodeInterfaceMapping() = default;
40 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetLogicalInterfaceName() const { return m_logicalInterfaceName; }
49 inline bool LogicalInterfaceNameHasBeenSet() const { return m_logicalInterfaceNameHasBeenSet; }
50 template<typename LogicalInterfaceNameT = Aws::String>
51 void SetLogicalInterfaceName(LogicalInterfaceNameT&& value) { m_logicalInterfaceNameHasBeenSet = true; m_logicalInterfaceName = std::forward<LogicalInterfaceNameT>(value); }
52 template<typename LogicalInterfaceNameT = Aws::String>
53 NodeInterfaceMapping& WithLogicalInterfaceName(LogicalInterfaceNameT&& value) { SetLogicalInterfaceName(std::forward<LogicalInterfaceNameT>(value)); return *this;}
55
57
58 inline NetworkInterfaceMode GetNetworkInterfaceMode() const { return m_networkInterfaceMode; }
59 inline bool NetworkInterfaceModeHasBeenSet() const { return m_networkInterfaceModeHasBeenSet; }
60 inline void SetNetworkInterfaceMode(NetworkInterfaceMode value) { m_networkInterfaceModeHasBeenSet = true; m_networkInterfaceMode = value; }
63
65
69 inline const Aws::String& GetPhysicalInterfaceName() const { return m_physicalInterfaceName; }
70 inline bool PhysicalInterfaceNameHasBeenSet() const { return m_physicalInterfaceNameHasBeenSet; }
71 template<typename PhysicalInterfaceNameT = Aws::String>
72 void SetPhysicalInterfaceName(PhysicalInterfaceNameT&& value) { m_physicalInterfaceNameHasBeenSet = true; m_physicalInterfaceName = std::forward<PhysicalInterfaceNameT>(value); }
73 template<typename PhysicalInterfaceNameT = Aws::String>
74 NodeInterfaceMapping& WithPhysicalInterfaceName(PhysicalInterfaceNameT&& value) { SetPhysicalInterfaceName(std::forward<PhysicalInterfaceNameT>(value)); return *this;}
76 private:
77
78 Aws::String m_logicalInterfaceName;
79 bool m_logicalInterfaceNameHasBeenSet = false;
80
82 bool m_networkInterfaceModeHasBeenSet = false;
83
84 Aws::String m_physicalInterfaceName;
85 bool m_physicalInterfaceNameHasBeenSet = false;
86 };
87
88} // namespace Model
89} // namespace MediaLive
90} // namespace Aws
const Aws::String & GetPhysicalInterfaceName() const
AWS_MEDIALIVE_API NodeInterfaceMapping()=default
const Aws::String & GetLogicalInterfaceName() const
NodeInterfaceMapping & WithNetworkInterfaceMode(NetworkInterfaceMode value)
AWS_MEDIALIVE_API NodeInterfaceMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLogicalInterfaceName(LogicalInterfaceNameT &&value)
void SetNetworkInterfaceMode(NetworkInterfaceMode value)
NetworkInterfaceMode GetNetworkInterfaceMode() const
AWS_MEDIALIVE_API NodeInterfaceMapping(Aws::Utils::Json::JsonView jsonValue)
NodeInterfaceMapping & WithPhysicalInterfaceName(PhysicalInterfaceNameT &&value)
NodeInterfaceMapping & WithLogicalInterfaceName(LogicalInterfaceNameT &&value)
void SetPhysicalInterfaceName(PhysicalInterfaceNameT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue