AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
StandardRouterInputConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
9#include <aws/mediaconnect/model/RouterInputProtocol.h>
10#include <aws/mediaconnect/model/RouterInputProtocolConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace MediaConnect {
22namespace Model {
23
32 public:
33 AWS_MEDIACONNECT_API StandardRouterInputConfiguration() = default;
36 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::String& GetNetworkInterfaceArn() const { return m_networkInterfaceArn; }
44 inline bool NetworkInterfaceArnHasBeenSet() const { return m_networkInterfaceArnHasBeenSet; }
45 template <typename NetworkInterfaceArnT = Aws::String>
46 void SetNetworkInterfaceArn(NetworkInterfaceArnT&& value) {
47 m_networkInterfaceArnHasBeenSet = true;
48 m_networkInterfaceArn = std::forward<NetworkInterfaceArnT>(value);
49 }
50 template <typename NetworkInterfaceArnT = Aws::String>
52 SetNetworkInterfaceArn(std::forward<NetworkInterfaceArnT>(value));
53 return *this;
54 }
56
58
62 inline const RouterInputProtocolConfiguration& GetProtocolConfiguration() const { return m_protocolConfiguration; }
63 inline bool ProtocolConfigurationHasBeenSet() const { return m_protocolConfigurationHasBeenSet; }
64 template <typename ProtocolConfigurationT = RouterInputProtocolConfiguration>
65 void SetProtocolConfiguration(ProtocolConfigurationT&& value) {
66 m_protocolConfigurationHasBeenSet = true;
67 m_protocolConfiguration = std::forward<ProtocolConfigurationT>(value);
68 }
69 template <typename ProtocolConfigurationT = RouterInputProtocolConfiguration>
71 SetProtocolConfiguration(std::forward<ProtocolConfigurationT>(value));
72 return *this;
73 }
75
77
80 inline RouterInputProtocol GetProtocol() const { return m_protocol; }
81 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
82 inline void SetProtocol(RouterInputProtocol value) {
83 m_protocolHasBeenSet = true;
84 m_protocol = value;
85 }
87 SetProtocol(value);
88 return *this;
89 }
91 private:
92 Aws::String m_networkInterfaceArn;
93
94 RouterInputProtocolConfiguration m_protocolConfiguration;
95
97 bool m_networkInterfaceArnHasBeenSet = false;
98 bool m_protocolConfigurationHasBeenSet = false;
99 bool m_protocolHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace MediaConnect
104} // namespace Aws
AWS_MEDIACONNECT_API StandardRouterInputConfiguration()=default
AWS_MEDIACONNECT_API StandardRouterInputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_MEDIACONNECT_API StandardRouterInputConfiguration(Aws::Utils::Json::JsonView jsonValue)
StandardRouterInputConfiguration & WithProtocolConfiguration(ProtocolConfigurationT &&value)
StandardRouterInputConfiguration & WithProtocol(RouterInputProtocol value)
const RouterInputProtocolConfiguration & GetProtocolConfiguration() const
StandardRouterInputConfiguration & WithNetworkInterfaceArn(NetworkInterfaceArnT &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue