AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InterfaceMappingUpdateRequest.h
1
6#pragma once
7#include <aws/medialive/MediaLive_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaLive
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_MEDIALIVE_API InterfaceMappingUpdateRequest();
38 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
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); }
55 inline InterfaceMappingUpdateRequest& WithLogicalInterfaceName(const char* value) { SetLogicalInterfaceName(value); return *this;}
57
59
64 inline const Aws::String& GetNetworkId() const{ return m_networkId; }
65 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
66 inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
67 inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
68 inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
69 inline InterfaceMappingUpdateRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
70 inline InterfaceMappingUpdateRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
71 inline InterfaceMappingUpdateRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
73 private:
74
75 Aws::String m_logicalInterfaceName;
76 bool m_logicalInterfaceNameHasBeenSet = false;
77
78 Aws::String m_networkId;
79 bool m_networkIdHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace MediaLive
84} // namespace Aws
InterfaceMappingUpdateRequest & WithLogicalInterfaceName(Aws::String &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InterfaceMappingUpdateRequest & WithLogicalInterfaceName(const Aws::String &value)
InterfaceMappingUpdateRequest & WithLogicalInterfaceName(const char *value)
InterfaceMappingUpdateRequest & WithNetworkId(const char *value)
AWS_MEDIALIVE_API InterfaceMappingUpdateRequest(Aws::Utils::Json::JsonView jsonValue)
InterfaceMappingUpdateRequest & WithNetworkId(const Aws::String &value)
AWS_MEDIALIVE_API InterfaceMappingUpdateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
InterfaceMappingUpdateRequest & WithNetworkId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue