AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
StandardRouterOutputConfiguration.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/RouterOutputProtocol.h>
10#include <aws/mediaconnect/model/RouterOutputProtocolConfiguration.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 StandardRouterOutputConfiguration() = 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 RouterOutputProtocolConfiguration& GetProtocolConfiguration() const { return m_protocolConfiguration; }
63 inline bool ProtocolConfigurationHasBeenSet() const { return m_protocolConfigurationHasBeenSet; }
64 template <typename ProtocolConfigurationT = RouterOutputProtocolConfiguration>
65 void SetProtocolConfiguration(ProtocolConfigurationT&& value) {
66 m_protocolConfigurationHasBeenSet = true;
67 m_protocolConfiguration = std::forward<ProtocolConfigurationT>(value);
68 }
69 template <typename ProtocolConfigurationT = RouterOutputProtocolConfiguration>
71 SetProtocolConfiguration(std::forward<ProtocolConfigurationT>(value));
72 return *this;
73 }
75
77
80 inline RouterOutputProtocol GetProtocol() const { return m_protocol; }
81 inline bool ProtocolHasBeenSet() const { return m_protocolHasBeenSet; }
82 inline void SetProtocol(RouterOutputProtocol 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 RouterOutputProtocolConfiguration 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
StandardRouterOutputConfiguration & WithProtocolConfiguration(ProtocolConfigurationT &&value)
AWS_MEDIACONNECT_API StandardRouterOutputConfiguration()=default
AWS_MEDIACONNECT_API StandardRouterOutputConfiguration(Aws::Utils::Json::JsonView jsonValue)
StandardRouterOutputConfiguration & WithProtocol(RouterOutputProtocol value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_MEDIACONNECT_API StandardRouterOutputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const RouterOutputProtocolConfiguration & GetProtocolConfiguration() const
StandardRouterOutputConfiguration & WithNetworkInterfaceArn(NetworkInterfaceArnT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue