AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
MergeRouterInputConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
10#include <aws/mediaconnect/model/MergeRouterInputProtocolConfiguration.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
31 public:
32 AWS_MEDIACONNECT_API MergeRouterInputConfiguration() = default;
35 AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetNetworkInterfaceArn() const { return m_networkInterfaceArn; }
42 inline bool NetworkInterfaceArnHasBeenSet() const { return m_networkInterfaceArnHasBeenSet; }
43 template <typename NetworkInterfaceArnT = Aws::String>
44 void SetNetworkInterfaceArn(NetworkInterfaceArnT&& value) {
45 m_networkInterfaceArnHasBeenSet = true;
46 m_networkInterfaceArn = std::forward<NetworkInterfaceArnT>(value);
47 }
48 template <typename NetworkInterfaceArnT = Aws::String>
50 SetNetworkInterfaceArn(std::forward<NetworkInterfaceArnT>(value));
51 return *this;
52 }
54
56
60 inline const Aws::Vector<MergeRouterInputProtocolConfiguration>& GetProtocolConfigurations() const { return m_protocolConfigurations; }
61 inline bool ProtocolConfigurationsHasBeenSet() const { return m_protocolConfigurationsHasBeenSet; }
62 template <typename ProtocolConfigurationsT = Aws::Vector<MergeRouterInputProtocolConfiguration>>
63 void SetProtocolConfigurations(ProtocolConfigurationsT&& value) {
64 m_protocolConfigurationsHasBeenSet = true;
65 m_protocolConfigurations = std::forward<ProtocolConfigurationsT>(value);
66 }
67 template <typename ProtocolConfigurationsT = Aws::Vector<MergeRouterInputProtocolConfiguration>>
69 SetProtocolConfigurations(std::forward<ProtocolConfigurationsT>(value));
70 return *this;
71 }
72 template <typename ProtocolConfigurationsT = MergeRouterInputProtocolConfiguration>
73 MergeRouterInputConfiguration& AddProtocolConfigurations(ProtocolConfigurationsT&& value) {
74 m_protocolConfigurationsHasBeenSet = true;
75 m_protocolConfigurations.emplace_back(std::forward<ProtocolConfigurationsT>(value));
76 return *this;
77 }
79
81
84 inline long long GetMergeRecoveryWindowMilliseconds() const { return m_mergeRecoveryWindowMilliseconds; }
85 inline bool MergeRecoveryWindowMillisecondsHasBeenSet() const { return m_mergeRecoveryWindowMillisecondsHasBeenSet; }
86 inline void SetMergeRecoveryWindowMilliseconds(long long value) {
87 m_mergeRecoveryWindowMillisecondsHasBeenSet = true;
88 m_mergeRecoveryWindowMilliseconds = value;
89 }
92 return *this;
93 }
95 private:
96 Aws::String m_networkInterfaceArn;
97
99
100 long long m_mergeRecoveryWindowMilliseconds{0};
101 bool m_networkInterfaceArnHasBeenSet = false;
102 bool m_protocolConfigurationsHasBeenSet = false;
103 bool m_mergeRecoveryWindowMillisecondsHasBeenSet = false;
104};
105
106} // namespace Model
107} // namespace MediaConnect
108} // namespace Aws
const Aws::Vector< MergeRouterInputProtocolConfiguration > & GetProtocolConfigurations() const
AWS_MEDIACONNECT_API MergeRouterInputConfiguration(Aws::Utils::Json::JsonView jsonValue)
MergeRouterInputConfiguration & WithNetworkInterfaceArn(NetworkInterfaceArnT &&value)
MergeRouterInputConfiguration & WithProtocolConfigurations(ProtocolConfigurationsT &&value)
AWS_MEDIACONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
MergeRouterInputConfiguration & WithMergeRecoveryWindowMilliseconds(long long value)
AWS_MEDIACONNECT_API MergeRouterInputConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
MergeRouterInputConfiguration & AddProtocolConfigurations(ProtocolConfigurationsT &&value)
AWS_MEDIACONNECT_API MergeRouterInputConfiguration()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue