AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
InterfaceMapping.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/medialive/MediaLive_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace MediaLive {
20namespace Model {
21
28 public:
29 AWS_MEDIALIVE_API InterfaceMapping() = default;
30 AWS_MEDIALIVE_API InterfaceMapping(Aws::Utils::Json::JsonView jsonValue);
32 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
41 inline const Aws::String& GetLogicalInterfaceName() const { return m_logicalInterfaceName; }
42 inline bool LogicalInterfaceNameHasBeenSet() const { return m_logicalInterfaceNameHasBeenSet; }
43 template <typename LogicalInterfaceNameT = Aws::String>
44 void SetLogicalInterfaceName(LogicalInterfaceNameT&& value) {
45 m_logicalInterfaceNameHasBeenSet = true;
46 m_logicalInterfaceName = std::forward<LogicalInterfaceNameT>(value);
47 }
48 template <typename LogicalInterfaceNameT = Aws::String>
49 InterfaceMapping& WithLogicalInterfaceName(LogicalInterfaceNameT&& value) {
50 SetLogicalInterfaceName(std::forward<LogicalInterfaceNameT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::String& GetNetworkId() const { return m_networkId; }
61 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
62 template <typename NetworkIdT = Aws::String>
63 void SetNetworkId(NetworkIdT&& value) {
64 m_networkIdHasBeenSet = true;
65 m_networkId = std::forward<NetworkIdT>(value);
66 }
67 template <typename NetworkIdT = Aws::String>
68 InterfaceMapping& WithNetworkId(NetworkIdT&& value) {
69 SetNetworkId(std::forward<NetworkIdT>(value));
70 return *this;
71 }
73 private:
74 Aws::String m_logicalInterfaceName;
75
76 Aws::String m_networkId;
77 bool m_logicalInterfaceNameHasBeenSet = false;
78 bool m_networkIdHasBeenSet = false;
79};
80
81} // namespace Model
82} // namespace MediaLive
83} // namespace Aws
const Aws::String & GetLogicalInterfaceName() const
AWS_MEDIALIVE_API InterfaceMapping(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API InterfaceMapping()=default
InterfaceMapping & WithLogicalInterfaceName(LogicalInterfaceNameT &&value)
AWS_MEDIALIVE_API InterfaceMapping & operator=(Aws::Utils::Json::JsonView jsonValue)
InterfaceMapping & WithNetworkId(NetworkIdT &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetNetworkId() const
void SetLogicalInterfaceName(LogicalInterfaceNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue