AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
UpdateNetworkProfileRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/NetworkProfileType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DeviceFarm {
16namespace Model {
17
21 public:
22 AWS_DEVICEFARM_API UpdateNetworkProfileRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "UpdateNetworkProfile"; }
29
30 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
31
33
35
39 inline const Aws::String& GetArn() const { return m_arn; }
40 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
41 template <typename ArnT = Aws::String>
42 void SetArn(ArnT&& value) {
43 m_arnHasBeenSet = true;
44 m_arn = std::forward<ArnT>(value);
45 }
46 template <typename ArnT = Aws::String>
48 SetArn(std::forward<ArnT>(value));
49 return *this;
50 }
52
54
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template <typename NameT = Aws::String>
61 void SetName(NameT&& value) {
62 m_nameHasBeenSet = true;
63 m_name = std::forward<NameT>(value);
64 }
65 template <typename NameT = Aws::String>
67 SetName(std::forward<NameT>(value));
68 return *this;
69 }
71
73
77 inline const Aws::String& GetDescription() const { return m_description; }
78 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
79 template <typename DescriptionT = Aws::String>
80 void SetDescription(DescriptionT&& value) {
81 m_descriptionHasBeenSet = true;
82 m_description = std::forward<DescriptionT>(value);
83 }
84 template <typename DescriptionT = Aws::String>
86 SetDescription(std::forward<DescriptionT>(value));
87 return *this;
88 }
90
92
96 inline NetworkProfileType GetType() const { return m_type; }
97 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
98 inline void SetType(NetworkProfileType value) {
99 m_typeHasBeenSet = true;
100 m_type = value;
101 }
103 SetType(value);
104 return *this;
105 }
107
109
113 inline long long GetUplinkBandwidthBits() const { return m_uplinkBandwidthBits; }
114 inline bool UplinkBandwidthBitsHasBeenSet() const { return m_uplinkBandwidthBitsHasBeenSet; }
115 inline void SetUplinkBandwidthBits(long long value) {
116 m_uplinkBandwidthBitsHasBeenSet = true;
117 m_uplinkBandwidthBits = value;
118 }
121 return *this;
122 }
124
126
130 inline long long GetDownlinkBandwidthBits() const { return m_downlinkBandwidthBits; }
131 inline bool DownlinkBandwidthBitsHasBeenSet() const { return m_downlinkBandwidthBitsHasBeenSet; }
132 inline void SetDownlinkBandwidthBits(long long value) {
133 m_downlinkBandwidthBitsHasBeenSet = true;
134 m_downlinkBandwidthBits = value;
135 }
138 return *this;
139 }
141
143
147 inline long long GetUplinkDelayMs() const { return m_uplinkDelayMs; }
148 inline bool UplinkDelayMsHasBeenSet() const { return m_uplinkDelayMsHasBeenSet; }
149 inline void SetUplinkDelayMs(long long value) {
150 m_uplinkDelayMsHasBeenSet = true;
151 m_uplinkDelayMs = value;
152 }
154 SetUplinkDelayMs(value);
155 return *this;
156 }
158
160
164 inline long long GetDownlinkDelayMs() const { return m_downlinkDelayMs; }
165 inline bool DownlinkDelayMsHasBeenSet() const { return m_downlinkDelayMsHasBeenSet; }
166 inline void SetDownlinkDelayMs(long long value) {
167 m_downlinkDelayMsHasBeenSet = true;
168 m_downlinkDelayMs = value;
169 }
171 SetDownlinkDelayMs(value);
172 return *this;
173 }
175
177
181 inline long long GetUplinkJitterMs() const { return m_uplinkJitterMs; }
182 inline bool UplinkJitterMsHasBeenSet() const { return m_uplinkJitterMsHasBeenSet; }
183 inline void SetUplinkJitterMs(long long value) {
184 m_uplinkJitterMsHasBeenSet = true;
185 m_uplinkJitterMs = value;
186 }
188 SetUplinkJitterMs(value);
189 return *this;
190 }
192
194
198 inline long long GetDownlinkJitterMs() const { return m_downlinkJitterMs; }
199 inline bool DownlinkJitterMsHasBeenSet() const { return m_downlinkJitterMsHasBeenSet; }
200 inline void SetDownlinkJitterMs(long long value) {
201 m_downlinkJitterMsHasBeenSet = true;
202 m_downlinkJitterMs = value;
203 }
205 SetDownlinkJitterMs(value);
206 return *this;
207 }
209
211
215 inline int GetUplinkLossPercent() const { return m_uplinkLossPercent; }
216 inline bool UplinkLossPercentHasBeenSet() const { return m_uplinkLossPercentHasBeenSet; }
217 inline void SetUplinkLossPercent(int value) {
218 m_uplinkLossPercentHasBeenSet = true;
219 m_uplinkLossPercent = value;
220 }
223 return *this;
224 }
226
228
231 inline int GetDownlinkLossPercent() const { return m_downlinkLossPercent; }
232 inline bool DownlinkLossPercentHasBeenSet() const { return m_downlinkLossPercentHasBeenSet; }
233 inline void SetDownlinkLossPercent(int value) {
234 m_downlinkLossPercentHasBeenSet = true;
235 m_downlinkLossPercent = value;
236 }
239 return *this;
240 }
242 private:
243 Aws::String m_arn;
244
245 Aws::String m_name;
246
247 Aws::String m_description;
248
250
251 long long m_uplinkBandwidthBits{0};
252
253 long long m_downlinkBandwidthBits{0};
254
255 long long m_uplinkDelayMs{0};
256
257 long long m_downlinkDelayMs{0};
258
259 long long m_uplinkJitterMs{0};
260
261 long long m_downlinkJitterMs{0};
262
263 int m_uplinkLossPercent{0};
264
265 int m_downlinkLossPercent{0};
266 bool m_arnHasBeenSet = false;
267 bool m_nameHasBeenSet = false;
268 bool m_descriptionHasBeenSet = false;
269 bool m_typeHasBeenSet = false;
270 bool m_uplinkBandwidthBitsHasBeenSet = false;
271 bool m_downlinkBandwidthBitsHasBeenSet = false;
272 bool m_uplinkDelayMsHasBeenSet = false;
273 bool m_downlinkDelayMsHasBeenSet = false;
274 bool m_uplinkJitterMsHasBeenSet = false;
275 bool m_downlinkJitterMsHasBeenSet = false;
276 bool m_uplinkLossPercentHasBeenSet = false;
277 bool m_downlinkLossPercentHasBeenSet = false;
278};
279
280} // namespace Model
281} // namespace DeviceFarm
282} // namespace Aws
UpdateNetworkProfileRequest & WithDownlinkBandwidthBits(long long value)
UpdateNetworkProfileRequest & WithArn(ArnT &&value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
UpdateNetworkProfileRequest & WithUplinkDelayMs(long long value)
UpdateNetworkProfileRequest & WithType(NetworkProfileType value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateNetworkProfileRequest & WithDownlinkJitterMs(long long value)
UpdateNetworkProfileRequest & WithUplinkJitterMs(long long value)
UpdateNetworkProfileRequest & WithDownlinkLossPercent(int value)
AWS_DEVICEFARM_API UpdateNetworkProfileRequest()=default
UpdateNetworkProfileRequest & WithName(NameT &&value)
UpdateNetworkProfileRequest & WithDescription(DescriptionT &&value)
UpdateNetworkProfileRequest & WithUplinkBandwidthBits(long long value)
UpdateNetworkProfileRequest & WithDownlinkDelayMs(long long value)
UpdateNetworkProfileRequest & WithUplinkLossPercent(int value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String