AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
UpdateNetworkProfileRequest.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/devicefarm/model/NetworkProfileType.h>
11#include <utility>
12
13namespace Aws
14{
15namespace DeviceFarm
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_DEVICEFARM_API UpdateNetworkProfileRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateNetworkProfile"; }
32
33 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetArn() const { return m_arn; }
44 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
45 template<typename ArnT = Aws::String>
46 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
47 template<typename ArnT = Aws::String>
48 UpdateNetworkProfileRequest& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
50
52
56 inline const Aws::String& GetName() const { return m_name; }
57 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
58 template<typename NameT = Aws::String>
59 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
60 template<typename NameT = Aws::String>
61 UpdateNetworkProfileRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
63
65
69 inline const Aws::String& GetDescription() const { return m_description; }
70 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
71 template<typename DescriptionT = Aws::String>
72 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
73 template<typename DescriptionT = Aws::String>
74 UpdateNetworkProfileRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
76
78
82 inline NetworkProfileType GetType() const { return m_type; }
83 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
84 inline void SetType(NetworkProfileType value) { m_typeHasBeenSet = true; m_type = value; }
85 inline UpdateNetworkProfileRequest& WithType(NetworkProfileType value) { SetType(value); return *this;}
87
89
93 inline long long GetUplinkBandwidthBits() const { return m_uplinkBandwidthBits; }
94 inline bool UplinkBandwidthBitsHasBeenSet() const { return m_uplinkBandwidthBitsHasBeenSet; }
95 inline void SetUplinkBandwidthBits(long long value) { m_uplinkBandwidthBitsHasBeenSet = true; m_uplinkBandwidthBits = value; }
96 inline UpdateNetworkProfileRequest& WithUplinkBandwidthBits(long long value) { SetUplinkBandwidthBits(value); return *this;}
98
100
104 inline long long GetDownlinkBandwidthBits() const { return m_downlinkBandwidthBits; }
105 inline bool DownlinkBandwidthBitsHasBeenSet() const { return m_downlinkBandwidthBitsHasBeenSet; }
106 inline void SetDownlinkBandwidthBits(long long value) { m_downlinkBandwidthBitsHasBeenSet = true; m_downlinkBandwidthBits = value; }
109
111
115 inline long long GetUplinkDelayMs() const { return m_uplinkDelayMs; }
116 inline bool UplinkDelayMsHasBeenSet() const { return m_uplinkDelayMsHasBeenSet; }
117 inline void SetUplinkDelayMs(long long value) { m_uplinkDelayMsHasBeenSet = true; m_uplinkDelayMs = value; }
118 inline UpdateNetworkProfileRequest& WithUplinkDelayMs(long long value) { SetUplinkDelayMs(value); return *this;}
120
122
126 inline long long GetDownlinkDelayMs() const { return m_downlinkDelayMs; }
127 inline bool DownlinkDelayMsHasBeenSet() const { return m_downlinkDelayMsHasBeenSet; }
128 inline void SetDownlinkDelayMs(long long value) { m_downlinkDelayMsHasBeenSet = true; m_downlinkDelayMs = value; }
129 inline UpdateNetworkProfileRequest& WithDownlinkDelayMs(long long value) { SetDownlinkDelayMs(value); return *this;}
131
133
137 inline long long GetUplinkJitterMs() const { return m_uplinkJitterMs; }
138 inline bool UplinkJitterMsHasBeenSet() const { return m_uplinkJitterMsHasBeenSet; }
139 inline void SetUplinkJitterMs(long long value) { m_uplinkJitterMsHasBeenSet = true; m_uplinkJitterMs = value; }
140 inline UpdateNetworkProfileRequest& WithUplinkJitterMs(long long value) { SetUplinkJitterMs(value); return *this;}
142
144
148 inline long long GetDownlinkJitterMs() const { return m_downlinkJitterMs; }
149 inline bool DownlinkJitterMsHasBeenSet() const { return m_downlinkJitterMsHasBeenSet; }
150 inline void SetDownlinkJitterMs(long long value) { m_downlinkJitterMsHasBeenSet = true; m_downlinkJitterMs = value; }
151 inline UpdateNetworkProfileRequest& WithDownlinkJitterMs(long long value) { SetDownlinkJitterMs(value); return *this;}
153
155
159 inline int GetUplinkLossPercent() const { return m_uplinkLossPercent; }
160 inline bool UplinkLossPercentHasBeenSet() const { return m_uplinkLossPercentHasBeenSet; }
161 inline void SetUplinkLossPercent(int value) { m_uplinkLossPercentHasBeenSet = true; m_uplinkLossPercent = value; }
164
166
169 inline int GetDownlinkLossPercent() const { return m_downlinkLossPercent; }
170 inline bool DownlinkLossPercentHasBeenSet() const { return m_downlinkLossPercentHasBeenSet; }
171 inline void SetDownlinkLossPercent(int value) { m_downlinkLossPercentHasBeenSet = true; m_downlinkLossPercent = value; }
174 private:
175
176 Aws::String m_arn;
177 bool m_arnHasBeenSet = false;
178
179 Aws::String m_name;
180 bool m_nameHasBeenSet = false;
181
182 Aws::String m_description;
183 bool m_descriptionHasBeenSet = false;
184
186 bool m_typeHasBeenSet = false;
187
188 long long m_uplinkBandwidthBits{0};
189 bool m_uplinkBandwidthBitsHasBeenSet = false;
190
191 long long m_downlinkBandwidthBits{0};
192 bool m_downlinkBandwidthBitsHasBeenSet = false;
193
194 long long m_uplinkDelayMs{0};
195 bool m_uplinkDelayMsHasBeenSet = false;
196
197 long long m_downlinkDelayMs{0};
198 bool m_downlinkDelayMsHasBeenSet = false;
199
200 long long m_uplinkJitterMs{0};
201 bool m_uplinkJitterMsHasBeenSet = false;
202
203 long long m_downlinkJitterMs{0};
204 bool m_downlinkJitterMsHasBeenSet = false;
205
206 int m_uplinkLossPercent{0};
207 bool m_uplinkLossPercentHasBeenSet = false;
208
209 int m_downlinkLossPercent{0};
210 bool m_downlinkLossPercentHasBeenSet = false;
211 };
212
213} // namespace Model
214} // namespace DeviceFarm
215} // 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