AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
InterfaceMappingCreateRequest.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
32 {
33 public:
34 AWS_MEDIALIVE_API InterfaceMappingCreateRequest();
37 AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
47 inline const Aws::String& GetLogicalInterfaceName() const{ return m_logicalInterfaceName; }
48 inline bool LogicalInterfaceNameHasBeenSet() const { return m_logicalInterfaceNameHasBeenSet; }
49 inline void SetLogicalInterfaceName(const Aws::String& value) { m_logicalInterfaceNameHasBeenSet = true; m_logicalInterfaceName = value; }
50 inline void SetLogicalInterfaceName(Aws::String&& value) { m_logicalInterfaceNameHasBeenSet = true; m_logicalInterfaceName = std::move(value); }
51 inline void SetLogicalInterfaceName(const char* value) { m_logicalInterfaceNameHasBeenSet = true; m_logicalInterfaceName.assign(value); }
54 inline InterfaceMappingCreateRequest& WithLogicalInterfaceName(const char* value) { SetLogicalInterfaceName(value); return *this;}
56
58
62 inline const Aws::String& GetNetworkId() const{ return m_networkId; }
63 inline bool NetworkIdHasBeenSet() const { return m_networkIdHasBeenSet; }
64 inline void SetNetworkId(const Aws::String& value) { m_networkIdHasBeenSet = true; m_networkId = value; }
65 inline void SetNetworkId(Aws::String&& value) { m_networkIdHasBeenSet = true; m_networkId = std::move(value); }
66 inline void SetNetworkId(const char* value) { m_networkIdHasBeenSet = true; m_networkId.assign(value); }
67 inline InterfaceMappingCreateRequest& WithNetworkId(const Aws::String& value) { SetNetworkId(value); return *this;}
68 inline InterfaceMappingCreateRequest& WithNetworkId(Aws::String&& value) { SetNetworkId(std::move(value)); return *this;}
69 inline InterfaceMappingCreateRequest& WithNetworkId(const char* value) { SetNetworkId(value); return *this;}
71 private:
72
73 Aws::String m_logicalInterfaceName;
74 bool m_logicalInterfaceNameHasBeenSet = false;
75
76 Aws::String m_networkId;
77 bool m_networkIdHasBeenSet = false;
78 };
79
80} // namespace Model
81} // namespace MediaLive
82} // namespace Aws
InterfaceMappingCreateRequest & WithNetworkId(Aws::String &&value)
InterfaceMappingCreateRequest & WithNetworkId(const Aws::String &value)
InterfaceMappingCreateRequest & WithLogicalInterfaceName(Aws::String &&value)
AWS_MEDIALIVE_API Aws::Utils::Json::JsonValue Jsonize() const
InterfaceMappingCreateRequest & WithLogicalInterfaceName(const char *value)
AWS_MEDIALIVE_API InterfaceMappingCreateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIALIVE_API InterfaceMappingCreateRequest(Aws::Utils::Json::JsonView jsonValue)
InterfaceMappingCreateRequest & WithNetworkId(const char *value)
InterfaceMappingCreateRequest & WithLogicalInterfaceName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue