AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
46 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
47 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
48 inline UpdateNetworkProfileRequest& WithArn(const Aws::String& value) { SetArn(value); return *this;}
49 inline UpdateNetworkProfileRequest& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
50 inline UpdateNetworkProfileRequest& WithArn(const char* value) { SetArn(value); return *this;}
52
54
58 inline const Aws::String& GetName() const{ return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
61 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
62 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
63 inline UpdateNetworkProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
64 inline UpdateNetworkProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
65 inline UpdateNetworkProfileRequest& WithName(const char* value) { SetName(value); return *this;}
67
69
73 inline const Aws::String& GetDescription() const{ return m_description; }
74 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
75 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
76 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
77 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
78 inline UpdateNetworkProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
79 inline UpdateNetworkProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
80 inline UpdateNetworkProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
82
84
88 inline const NetworkProfileType& GetType() const{ return m_type; }
89 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
90 inline void SetType(const NetworkProfileType& value) { m_typeHasBeenSet = true; m_type = value; }
91 inline void SetType(NetworkProfileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
92 inline UpdateNetworkProfileRequest& WithType(const NetworkProfileType& value) { SetType(value); return *this;}
93 inline UpdateNetworkProfileRequest& WithType(NetworkProfileType&& value) { SetType(std::move(value)); return *this;}
95
97
101 inline long long GetUplinkBandwidthBits() const{ return m_uplinkBandwidthBits; }
102 inline bool UplinkBandwidthBitsHasBeenSet() const { return m_uplinkBandwidthBitsHasBeenSet; }
103 inline void SetUplinkBandwidthBits(long long value) { m_uplinkBandwidthBitsHasBeenSet = true; m_uplinkBandwidthBits = value; }
104 inline UpdateNetworkProfileRequest& WithUplinkBandwidthBits(long long value) { SetUplinkBandwidthBits(value); return *this;}
106
108
112 inline long long GetDownlinkBandwidthBits() const{ return m_downlinkBandwidthBits; }
113 inline bool DownlinkBandwidthBitsHasBeenSet() const { return m_downlinkBandwidthBitsHasBeenSet; }
114 inline void SetDownlinkBandwidthBits(long long value) { m_downlinkBandwidthBitsHasBeenSet = true; m_downlinkBandwidthBits = value; }
117
119
123 inline long long GetUplinkDelayMs() const{ return m_uplinkDelayMs; }
124 inline bool UplinkDelayMsHasBeenSet() const { return m_uplinkDelayMsHasBeenSet; }
125 inline void SetUplinkDelayMs(long long value) { m_uplinkDelayMsHasBeenSet = true; m_uplinkDelayMs = value; }
126 inline UpdateNetworkProfileRequest& WithUplinkDelayMs(long long value) { SetUplinkDelayMs(value); return *this;}
128
130
134 inline long long GetDownlinkDelayMs() const{ return m_downlinkDelayMs; }
135 inline bool DownlinkDelayMsHasBeenSet() const { return m_downlinkDelayMsHasBeenSet; }
136 inline void SetDownlinkDelayMs(long long value) { m_downlinkDelayMsHasBeenSet = true; m_downlinkDelayMs = value; }
137 inline UpdateNetworkProfileRequest& WithDownlinkDelayMs(long long value) { SetDownlinkDelayMs(value); return *this;}
139
141
145 inline long long GetUplinkJitterMs() const{ return m_uplinkJitterMs; }
146 inline bool UplinkJitterMsHasBeenSet() const { return m_uplinkJitterMsHasBeenSet; }
147 inline void SetUplinkJitterMs(long long value) { m_uplinkJitterMsHasBeenSet = true; m_uplinkJitterMs = value; }
148 inline UpdateNetworkProfileRequest& WithUplinkJitterMs(long long value) { SetUplinkJitterMs(value); return *this;}
150
152
156 inline long long GetDownlinkJitterMs() const{ return m_downlinkJitterMs; }
157 inline bool DownlinkJitterMsHasBeenSet() const { return m_downlinkJitterMsHasBeenSet; }
158 inline void SetDownlinkJitterMs(long long value) { m_downlinkJitterMsHasBeenSet = true; m_downlinkJitterMs = value; }
159 inline UpdateNetworkProfileRequest& WithDownlinkJitterMs(long long value) { SetDownlinkJitterMs(value); return *this;}
161
163
167 inline int GetUplinkLossPercent() const{ return m_uplinkLossPercent; }
168 inline bool UplinkLossPercentHasBeenSet() const { return m_uplinkLossPercentHasBeenSet; }
169 inline void SetUplinkLossPercent(int value) { m_uplinkLossPercentHasBeenSet = true; m_uplinkLossPercent = value; }
172
174
177 inline int GetDownlinkLossPercent() const{ return m_downlinkLossPercent; }
178 inline bool DownlinkLossPercentHasBeenSet() const { return m_downlinkLossPercentHasBeenSet; }
179 inline void SetDownlinkLossPercent(int value) { m_downlinkLossPercentHasBeenSet = true; m_downlinkLossPercent = value; }
182 private:
183
184 Aws::String m_arn;
185 bool m_arnHasBeenSet = false;
186
187 Aws::String m_name;
188 bool m_nameHasBeenSet = false;
189
190 Aws::String m_description;
191 bool m_descriptionHasBeenSet = false;
192
193 NetworkProfileType m_type;
194 bool m_typeHasBeenSet = false;
195
196 long long m_uplinkBandwidthBits;
197 bool m_uplinkBandwidthBitsHasBeenSet = false;
198
199 long long m_downlinkBandwidthBits;
200 bool m_downlinkBandwidthBitsHasBeenSet = false;
201
202 long long m_uplinkDelayMs;
203 bool m_uplinkDelayMsHasBeenSet = false;
204
205 long long m_downlinkDelayMs;
206 bool m_downlinkDelayMsHasBeenSet = false;
207
208 long long m_uplinkJitterMs;
209 bool m_uplinkJitterMsHasBeenSet = false;
210
211 long long m_downlinkJitterMs;
212 bool m_downlinkJitterMsHasBeenSet = false;
213
214 int m_uplinkLossPercent;
215 bool m_uplinkLossPercentHasBeenSet = false;
216
217 int m_downlinkLossPercent;
218 bool m_downlinkLossPercentHasBeenSet = false;
219 };
220
221} // namespace Model
222} // namespace DeviceFarm
223} // namespace Aws
UpdateNetworkProfileRequest & WithName(const char *value)
UpdateNetworkProfileRequest & WithDownlinkBandwidthBits(long long value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
UpdateNetworkProfileRequest & WithUplinkDelayMs(long long value)
UpdateNetworkProfileRequest & WithDescription(const char *value)
UpdateNetworkProfileRequest & WithArn(const char *value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateNetworkProfileRequest & WithArn(Aws::String &&value)
UpdateNetworkProfileRequest & WithArn(const Aws::String &value)
UpdateNetworkProfileRequest & WithDownlinkJitterMs(long long value)
UpdateNetworkProfileRequest & WithDescription(Aws::String &&value)
UpdateNetworkProfileRequest & WithUplinkJitterMs(long long value)
UpdateNetworkProfileRequest & WithDownlinkLossPercent(int value)
UpdateNetworkProfileRequest & WithName(const Aws::String &value)
UpdateNetworkProfileRequest & WithDescription(const Aws::String &value)
UpdateNetworkProfileRequest & WithType(NetworkProfileType &&value)
UpdateNetworkProfileRequest & WithType(const NetworkProfileType &value)
UpdateNetworkProfileRequest & WithUplinkBandwidthBits(long long value)
UpdateNetworkProfileRequest & WithName(Aws::String &&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