AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetLogicalInterfaceName(const Aws::String& value) { m_logicalInterfaceNameHasBeenSet = true; m_logicalInterfaceName = value; }
51 inline void SetLogicalInterfaceName(Aws::String&& value) { m_logicalInterfaceNameHasBeenSet = true; m_logicalInterfaceName = std::move(value); }
52 inline void SetLogicalInterfaceName(const char* value) { m_logicalInterfaceNameHasBeenSet = true; m_logicalInterfaceName.assign(value); }
54 inline NodeInterfaceMapping& WithLogicalInterfaceName(Aws::String&& value) { SetLogicalInterfaceName(std::move(value)); return *this;}
55 inline NodeInterfaceMapping& WithLogicalInterfaceName(const char* value) { SetLogicalInterfaceName(value); return *this;}
57
59
60 inline const NetworkInterfaceMode& GetNetworkInterfaceMode() const{ return m_networkInterfaceMode; }
61 inline bool NetworkInterfaceModeHasBeenSet() const { return m_networkInterfaceModeHasBeenSet; }
62 inline void SetNetworkInterfaceMode(const NetworkInterfaceMode& value) { m_networkInterfaceModeHasBeenSet = true; m_networkInterfaceMode = value; }
63 inline void SetNetworkInterfaceMode(NetworkInterfaceMode&& value) { m_networkInterfaceModeHasBeenSet = true; m_networkInterfaceMode = std::move(value); }
67
69
73 inline const Aws::String& GetPhysicalInterfaceName() const{ return m_physicalInterfaceName; }
74 inline bool PhysicalInterfaceNameHasBeenSet() const { return m_physicalInterfaceNameHasBeenSet; }
75 inline void SetPhysicalInterfaceName(const Aws::String& value) { m_physicalInterfaceNameHasBeenSet = true; m_physicalInterfaceName = value; }
76 inline void SetPhysicalInterfaceName(Aws::String&& value) { m_physicalInterfaceNameHasBeenSet = true; m_physicalInterfaceName = std::move(value); }
77 inline void SetPhysicalInterfaceName(const char* value) { m_physicalInterfaceNameHasBeenSet = true; m_physicalInterfaceName.assign(value); }
79 inline NodeInterfaceMapping& WithPhysicalInterfaceName(Aws::String&& value) { SetPhysicalInterfaceName(std::move(value)); return *this;}
80 inline NodeInterfaceMapping& WithPhysicalInterfaceName(const char* value) { SetPhysicalInterfaceName(value); return *this;}
82 private:
83
84 Aws::String m_logicalInterfaceName;
85 bool m_logicalInterfaceNameHasBeenSet = false;
86
87 NetworkInterfaceMode m_networkInterfaceMode;
88 bool m_networkInterfaceModeHasBeenSet = false;
89
90 Aws::String m_physicalInterfaceName;
91 bool m_physicalInterfaceNameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace MediaLive
96} // namespace Aws
void SetPhysicalInterfaceName(const Aws::String &value)
void SetLogicalInterfaceName(const Aws::String &value)
NodeInterfaceMapping & WithPhysicalInterfaceName(Aws::String &&value)
const Aws::String & GetPhysicalInterfaceName() const
const Aws::String & GetLogicalInterfaceName() const
AWS_MEDIALIVE_API NodeInterfaceMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API NodeInterfaceMapping(Aws::Utils::Json::JsonView jsonValue)
NodeInterfaceMapping & WithNetworkInterfaceMode(NetworkInterfaceMode &&value)
void SetNetworkInterfaceMode(NetworkInterfaceMode &&value)
NodeInterfaceMapping & WithLogicalInterfaceName(const Aws::String &value)
NodeInterfaceMapping & WithPhysicalInterfaceName(const Aws::String &value)
void SetNetworkInterfaceMode(const NetworkInterfaceMode &value)
NodeInterfaceMapping & WithPhysicalInterfaceName(const char *value)
const NetworkInterfaceMode & GetNetworkInterfaceMode() const
NodeInterfaceMapping & WithLogicalInterfaceName(Aws::String &&value)
NodeInterfaceMapping & WithNetworkInterfaceMode(const NetworkInterfaceMode &value)
NodeInterfaceMapping & WithLogicalInterfaceName(const char *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