AWS SDK for C++

AWS SDK for C++ Version 1.11.726

Loading...
Searching...
No Matches
UpdateRouterInputRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/mediaconnect/MediaConnectRequest.h>
9#include <aws/mediaconnect/MediaConnect_EXPORTS.h>
10#include <aws/mediaconnect/model/MaintenanceConfiguration.h>
11#include <aws/mediaconnect/model/RouterInputConfiguration.h>
12#include <aws/mediaconnect/model/RouterInputTier.h>
13#include <aws/mediaconnect/model/RouterInputTransitEncryption.h>
14#include <aws/mediaconnect/model/RoutingScope.h>
15
16#include <utility>
17
18namespace Aws {
19namespace MediaConnect {
20namespace Model {
21
25 public:
26 AWS_MEDIACONNECT_API UpdateRouterInputRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateRouterInput"; }
33
34 AWS_MEDIACONNECT_API Aws::String SerializePayload() const override;
35
37
41 inline const Aws::String& GetArn() const { return m_arn; }
42 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
43 template <typename ArnT = Aws::String>
44 void SetArn(ArnT&& value) {
45 m_arnHasBeenSet = true;
46 m_arn = std::forward<ArnT>(value);
47 }
48 template <typename ArnT = Aws::String>
50 SetArn(std::forward<ArnT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetName() const { return m_name; }
60 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
61 template <typename NameT = Aws::String>
62 void SetName(NameT&& value) {
63 m_nameHasBeenSet = true;
64 m_name = std::forward<NameT>(value);
65 }
66 template <typename NameT = Aws::String>
68 SetName(std::forward<NameT>(value));
69 return *this;
70 }
72
74
78 inline const RouterInputConfiguration& GetConfiguration() const { return m_configuration; }
79 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
80 template <typename ConfigurationT = RouterInputConfiguration>
81 void SetConfiguration(ConfigurationT&& value) {
82 m_configurationHasBeenSet = true;
83 m_configuration = std::forward<ConfigurationT>(value);
84 }
85 template <typename ConfigurationT = RouterInputConfiguration>
87 SetConfiguration(std::forward<ConfigurationT>(value));
88 return *this;
89 }
91
93
96 inline long long GetMaximumBitrate() const { return m_maximumBitrate; }
97 inline bool MaximumBitrateHasBeenSet() const { return m_maximumBitrateHasBeenSet; }
98 inline void SetMaximumBitrate(long long value) {
99 m_maximumBitrateHasBeenSet = true;
100 m_maximumBitrate = value;
101 }
103 SetMaximumBitrate(value);
104 return *this;
105 }
107
109
114 inline RoutingScope GetRoutingScope() const { return m_routingScope; }
115 inline bool RoutingScopeHasBeenSet() const { return m_routingScopeHasBeenSet; }
116 inline void SetRoutingScope(RoutingScope value) {
117 m_routingScopeHasBeenSet = true;
118 m_routingScope = value;
119 }
121 SetRoutingScope(value);
122 return *this;
123 }
125
127
130 inline RouterInputTier GetTier() const { return m_tier; }
131 inline bool TierHasBeenSet() const { return m_tierHasBeenSet; }
132 inline void SetTier(RouterInputTier value) {
133 m_tierHasBeenSet = true;
134 m_tier = value;
135 }
137 SetTier(value);
138 return *this;
139 }
141
143
146 inline const RouterInputTransitEncryption& GetTransitEncryption() const { return m_transitEncryption; }
147 inline bool TransitEncryptionHasBeenSet() const { return m_transitEncryptionHasBeenSet; }
148 template <typename TransitEncryptionT = RouterInputTransitEncryption>
149 void SetTransitEncryption(TransitEncryptionT&& value) {
150 m_transitEncryptionHasBeenSet = true;
151 m_transitEncryption = std::forward<TransitEncryptionT>(value);
152 }
153 template <typename TransitEncryptionT = RouterInputTransitEncryption>
154 UpdateRouterInputRequest& WithTransitEncryption(TransitEncryptionT&& value) {
155 SetTransitEncryption(std::forward<TransitEncryptionT>(value));
156 return *this;
157 }
159
161
165 inline const MaintenanceConfiguration& GetMaintenanceConfiguration() const { return m_maintenanceConfiguration; }
166 inline bool MaintenanceConfigurationHasBeenSet() const { return m_maintenanceConfigurationHasBeenSet; }
167 template <typename MaintenanceConfigurationT = MaintenanceConfiguration>
168 void SetMaintenanceConfiguration(MaintenanceConfigurationT&& value) {
169 m_maintenanceConfigurationHasBeenSet = true;
170 m_maintenanceConfiguration = std::forward<MaintenanceConfigurationT>(value);
171 }
172 template <typename MaintenanceConfigurationT = MaintenanceConfiguration>
173 UpdateRouterInputRequest& WithMaintenanceConfiguration(MaintenanceConfigurationT&& value) {
174 SetMaintenanceConfiguration(std::forward<MaintenanceConfigurationT>(value));
175 return *this;
176 }
178 private:
179 Aws::String m_arn;
180
181 Aws::String m_name;
182
183 RouterInputConfiguration m_configuration;
184
185 long long m_maximumBitrate{0};
186
187 RoutingScope m_routingScope{RoutingScope::NOT_SET};
188
190
191 RouterInputTransitEncryption m_transitEncryption;
192
193 MaintenanceConfiguration m_maintenanceConfiguration;
194 bool m_arnHasBeenSet = false;
195 bool m_nameHasBeenSet = false;
196 bool m_configurationHasBeenSet = false;
197 bool m_maximumBitrateHasBeenSet = false;
198 bool m_routingScopeHasBeenSet = false;
199 bool m_tierHasBeenSet = false;
200 bool m_transitEncryptionHasBeenSet = false;
201 bool m_maintenanceConfigurationHasBeenSet = false;
202};
203
204} // namespace Model
205} // namespace MediaConnect
206} // namespace Aws
AWS_MEDIACONNECT_API UpdateRouterInputRequest()=default
UpdateRouterInputRequest & WithMaximumBitrate(long long value)
const RouterInputTransitEncryption & GetTransitEncryption() const
UpdateRouterInputRequest & WithTransitEncryption(TransitEncryptionT &&value)
void SetMaintenanceConfiguration(MaintenanceConfigurationT &&value)
UpdateRouterInputRequest & WithRoutingScope(RoutingScope value)
UpdateRouterInputRequest & WithConfiguration(ConfigurationT &&value)
UpdateRouterInputRequest & WithTier(RouterInputTier value)
UpdateRouterInputRequest & WithArn(ArnT &&value)
const RouterInputConfiguration & GetConfiguration() const
AWS_MEDIACONNECT_API Aws::String SerializePayload() const override
virtual const char * GetServiceRequestName() const override
UpdateRouterInputRequest & WithName(NameT &&value)
UpdateRouterInputRequest & WithMaintenanceConfiguration(MaintenanceConfigurationT &&value)
const MaintenanceConfiguration & GetMaintenanceConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String