AWS SDK for C++

AWS SDK for C++ Version 1.11.742

Loading...
Searching...
No Matches
InterfaceMappingUpdateRequest.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
29 public:
30 AWS_MEDIALIVE_API InterfaceMappingUpdateRequest() = default;
33 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const Aws::String& GetLogicalInterfaceName() const { return m_logicalInterfaceName; }
43 inline bool LogicalInterfaceNameHasBeenSet() const { return m_logicalInterfaceNameHasBeenSet; }
44 template <typename LogicalInterfaceNameT = Aws::String>
45 void SetLogicalInterfaceName(LogicalInterfaceNameT&& value) {
46 m_logicalInterfaceNameHasBeenSet = true;
47 m_logicalInterfaceName = std::forward<LogicalInterfaceNameT>(value);
48 }
49 template <typename LogicalInterfaceNameT = Aws::String>
51 SetLogicalInterfaceName(std::forward<LogicalInterfaceNameT>(value));
52 return *this;
53 }
55
57
62 inline const Aws::String& GetNetworkId() const { return m_networkId; }
63 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
64 template <typename NetworkIdT = Aws::String>
65 void SetNetworkId(NetworkIdT&& value) {
66 m_networkIdHasBeenSet = true;
67 m_networkId = std::forward<NetworkIdT>(value);
68 }
69 template <typename NetworkIdT = Aws::String>
71 SetNetworkId(std::forward<NetworkIdT>(value));
72 return *this;
73 }
75 private:
76 Aws::String m_logicalInterfaceName;
77
78 Aws::String m_networkId;
79 bool m_logicalInterfaceNameHasBeenSet = false;
80 bool m_networkIdHasBeenSet = false;
81};
82
83} // namespace Model
84} // namespace MediaLive
85} // namespace Aws
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIALIVE_API InterfaceMappingUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API InterfaceMappingUpdateRequest()=default
AWS_MEDIALIVE_API InterfaceMappingUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
InterfaceMappingUpdateRequest & WithLogicalInterfaceName(LogicalInterfaceNameT &&value)
InterfaceMappingUpdateRequest & WithNetworkId(NetworkIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue