AWS SDK for C++  1.9.124
AWS SDK for C++
CreateNetworkProfileRequest.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace DeviceFarm
16 {
17 namespace Model
18 {
19 
23  {
24  public:
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 "CreateNetworkProfile"; }
32 
33  Aws::String SerializePayload() const override;
34 
36 
37 
42  inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
43 
48  inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
49 
54  inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
55 
60  inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
61 
66  inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
67 
72  inline CreateNetworkProfileRequest& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
73 
78  inline CreateNetworkProfileRequest& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
79 
84  inline CreateNetworkProfileRequest& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
85 
86 
90  inline const Aws::String& GetName() const{ return m_name; }
91 
95  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
96 
100  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
101 
105  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
106 
110  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
111 
115  inline CreateNetworkProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
116 
120  inline CreateNetworkProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
121 
125  inline CreateNetworkProfileRequest& WithName(const char* value) { SetName(value); return *this;}
126 
127 
131  inline const Aws::String& GetDescription() const{ return m_description; }
132 
136  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
137 
141  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
142 
146  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
147 
151  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
152 
156  inline CreateNetworkProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
157 
161  inline CreateNetworkProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
162 
166  inline CreateNetworkProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
167 
168 
172  inline const NetworkProfileType& GetType() const{ return m_type; }
173 
177  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
178 
182  inline void SetType(const NetworkProfileType& value) { m_typeHasBeenSet = true; m_type = value; }
183 
187  inline void SetType(NetworkProfileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
188 
192  inline CreateNetworkProfileRequest& WithType(const NetworkProfileType& value) { SetType(value); return *this;}
193 
197  inline CreateNetworkProfileRequest& WithType(NetworkProfileType&& value) { SetType(std::move(value)); return *this;}
198 
199 
204  inline long long GetUplinkBandwidthBits() const{ return m_uplinkBandwidthBits; }
205 
210  inline bool UplinkBandwidthBitsHasBeenSet() const { return m_uplinkBandwidthBitsHasBeenSet; }
211 
216  inline void SetUplinkBandwidthBits(long long value) { m_uplinkBandwidthBitsHasBeenSet = true; m_uplinkBandwidthBits = value; }
217 
222  inline CreateNetworkProfileRequest& WithUplinkBandwidthBits(long long value) { SetUplinkBandwidthBits(value); return *this;}
223 
224 
229  inline long long GetDownlinkBandwidthBits() const{ return m_downlinkBandwidthBits; }
230 
235  inline bool DownlinkBandwidthBitsHasBeenSet() const { return m_downlinkBandwidthBitsHasBeenSet; }
236 
241  inline void SetDownlinkBandwidthBits(long long value) { m_downlinkBandwidthBitsHasBeenSet = true; m_downlinkBandwidthBits = value; }
242 
247  inline CreateNetworkProfileRequest& WithDownlinkBandwidthBits(long long value) { SetDownlinkBandwidthBits(value); return *this;}
248 
249 
254  inline long long GetUplinkDelayMs() const{ return m_uplinkDelayMs; }
255 
260  inline bool UplinkDelayMsHasBeenSet() const { return m_uplinkDelayMsHasBeenSet; }
261 
266  inline void SetUplinkDelayMs(long long value) { m_uplinkDelayMsHasBeenSet = true; m_uplinkDelayMs = value; }
267 
272  inline CreateNetworkProfileRequest& WithUplinkDelayMs(long long value) { SetUplinkDelayMs(value); return *this;}
273 
274 
279  inline long long GetDownlinkDelayMs() const{ return m_downlinkDelayMs; }
280 
285  inline bool DownlinkDelayMsHasBeenSet() const { return m_downlinkDelayMsHasBeenSet; }
286 
291  inline void SetDownlinkDelayMs(long long value) { m_downlinkDelayMsHasBeenSet = true; m_downlinkDelayMs = value; }
292 
297  inline CreateNetworkProfileRequest& WithDownlinkDelayMs(long long value) { SetDownlinkDelayMs(value); return *this;}
298 
299 
304  inline long long GetUplinkJitterMs() const{ return m_uplinkJitterMs; }
305 
310  inline bool UplinkJitterMsHasBeenSet() const { return m_uplinkJitterMsHasBeenSet; }
311 
316  inline void SetUplinkJitterMs(long long value) { m_uplinkJitterMsHasBeenSet = true; m_uplinkJitterMs = value; }
317 
322  inline CreateNetworkProfileRequest& WithUplinkJitterMs(long long value) { SetUplinkJitterMs(value); return *this;}
323 
324 
329  inline long long GetDownlinkJitterMs() const{ return m_downlinkJitterMs; }
330 
335  inline bool DownlinkJitterMsHasBeenSet() const { return m_downlinkJitterMsHasBeenSet; }
336 
341  inline void SetDownlinkJitterMs(long long value) { m_downlinkJitterMsHasBeenSet = true; m_downlinkJitterMs = value; }
342 
347  inline CreateNetworkProfileRequest& WithDownlinkJitterMs(long long value) { SetDownlinkJitterMs(value); return *this;}
348 
349 
354  inline int GetUplinkLossPercent() const{ return m_uplinkLossPercent; }
355 
360  inline bool UplinkLossPercentHasBeenSet() const { return m_uplinkLossPercentHasBeenSet; }
361 
366  inline void SetUplinkLossPercent(int value) { m_uplinkLossPercentHasBeenSet = true; m_uplinkLossPercent = value; }
367 
372  inline CreateNetworkProfileRequest& WithUplinkLossPercent(int value) { SetUplinkLossPercent(value); return *this;}
373 
374 
378  inline int GetDownlinkLossPercent() const{ return m_downlinkLossPercent; }
379 
383  inline bool DownlinkLossPercentHasBeenSet() const { return m_downlinkLossPercentHasBeenSet; }
384 
388  inline void SetDownlinkLossPercent(int value) { m_downlinkLossPercentHasBeenSet = true; m_downlinkLossPercent = value; }
389 
393  inline CreateNetworkProfileRequest& WithDownlinkLossPercent(int value) { SetDownlinkLossPercent(value); return *this;}
394 
395  private:
396 
397  Aws::String m_projectArn;
398  bool m_projectArnHasBeenSet;
399 
400  Aws::String m_name;
401  bool m_nameHasBeenSet;
402 
403  Aws::String m_description;
404  bool m_descriptionHasBeenSet;
405 
406  NetworkProfileType m_type;
407  bool m_typeHasBeenSet;
408 
409  long long m_uplinkBandwidthBits;
410  bool m_uplinkBandwidthBitsHasBeenSet;
411 
412  long long m_downlinkBandwidthBits;
413  bool m_downlinkBandwidthBitsHasBeenSet;
414 
415  long long m_uplinkDelayMs;
416  bool m_uplinkDelayMsHasBeenSet;
417 
418  long long m_downlinkDelayMs;
419  bool m_downlinkDelayMsHasBeenSet;
420 
421  long long m_uplinkJitterMs;
422  bool m_uplinkJitterMsHasBeenSet;
423 
424  long long m_downlinkJitterMs;
425  bool m_downlinkJitterMsHasBeenSet;
426 
427  int m_uplinkLossPercent;
428  bool m_uplinkLossPercentHasBeenSet;
429 
430  int m_downlinkLossPercent;
431  bool m_downlinkLossPercentHasBeenSet;
432  };
433 
434 } // namespace Model
435 } // namespace DeviceFarm
436 } // namespace Aws
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetDescription
void SetDescription(const char *value)
Definition: CreateNetworkProfileRequest.h:151
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithDownlinkDelayMs
CreateNetworkProfileRequest & WithDownlinkDelayMs(long long value)
Definition: CreateNetworkProfileRequest.h:297
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::UplinkLossPercentHasBeenSet
bool UplinkLossPercentHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:360
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetUplinkBandwidthBits
long long GetUplinkBandwidthBits() const
Definition: CreateNetworkProfileRequest.h:204
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: CreateNetworkProfileRequest.h:141
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithUplinkBandwidthBits
CreateNetworkProfileRequest & WithUplinkBandwidthBits(long long value)
Definition: CreateNetworkProfileRequest.h:222
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithName
CreateNetworkProfileRequest & WithName(const char *value)
Definition: CreateNetworkProfileRequest.h:125
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetDownlinkDelayMs
void SetDownlinkDelayMs(long long value)
Definition: CreateNetworkProfileRequest.h:291
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::UplinkDelayMsHasBeenSet
bool UplinkDelayMsHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:260
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetName
void SetName(const char *value)
Definition: CreateNetworkProfileRequest.h:110
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::DownlinkJitterMsHasBeenSet
bool DownlinkJitterMsHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:335
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetUplinkLossPercent
int GetUplinkLossPercent() const
Definition: CreateNetworkProfileRequest.h:354
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetName
void SetName(Aws::String &&value)
Definition: CreateNetworkProfileRequest.h:105
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithName
CreateNetworkProfileRequest & WithName(Aws::String &&value)
Definition: CreateNetworkProfileRequest.h:120
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetUplinkLossPercent
void SetUplinkLossPercent(int value)
Definition: CreateNetworkProfileRequest.h:366
DeviceFarmRequest.h
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetUplinkDelayMs
long long GetUplinkDelayMs() const
Definition: CreateNetworkProfileRequest.h:254
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetName
void SetName(const Aws::String &value)
Definition: CreateNetworkProfileRequest.h:100
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetProjectArn
void SetProjectArn(const Aws::String &value)
Definition: CreateNetworkProfileRequest.h:54
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetDescription
const Aws::String & GetDescription() const
Definition: CreateNetworkProfileRequest.h:131
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::NameHasBeenSet
bool NameHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:95
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:177
Aws::DeviceFarm::Model::NetworkProfileType
NetworkProfileType
Definition: NetworkProfileType.h:17
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetUplinkDelayMs
void SetUplinkDelayMs(long long value)
Definition: CreateNetworkProfileRequest.h:266
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithType
CreateNetworkProfileRequest & WithType(NetworkProfileType &&value)
Definition: CreateNetworkProfileRequest.h:197
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetProjectArn
const Aws::String & GetProjectArn() const
Definition: CreateNetworkProfileRequest.h:42
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::DownlinkDelayMsHasBeenSet
bool DownlinkDelayMsHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:285
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetType
const NetworkProfileType & GetType() const
Definition: CreateNetworkProfileRequest.h:172
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithType
CreateNetworkProfileRequest & WithType(const NetworkProfileType &value)
Definition: CreateNetworkProfileRequest.h:192
Aws::DeviceFarm::DeviceFarmRequest
Definition: DeviceFarmRequest.h:17
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithDownlinkBandwidthBits
CreateNetworkProfileRequest & WithDownlinkBandwidthBits(long long value)
Definition: CreateNetworkProfileRequest.h:247
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithUplinkJitterMs
CreateNetworkProfileRequest & WithUplinkJitterMs(long long value)
Definition: CreateNetworkProfileRequest.h:322
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::CreateNetworkProfileRequest
CreateNetworkProfileRequest()
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::UplinkBandwidthBitsHasBeenSet
bool UplinkBandwidthBitsHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:210
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithDescription
CreateNetworkProfileRequest & WithDescription(const char *value)
Definition: CreateNetworkProfileRequest.h:166
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetDownlinkBandwidthBits
void SetDownlinkBandwidthBits(long long value)
Definition: CreateNetworkProfileRequest.h:241
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetUplinkJitterMs
void SetUplinkJitterMs(long long value)
Definition: CreateNetworkProfileRequest.h:316
AWSString.h
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithName
CreateNetworkProfileRequest & WithName(const Aws::String &value)
Definition: CreateNetworkProfileRequest.h:115
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithProjectArn
CreateNetworkProfileRequest & WithProjectArn(const char *value)
Definition: CreateNetworkProfileRequest.h:84
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:136
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetProjectArn
void SetProjectArn(const char *value)
Definition: CreateNetworkProfileRequest.h:66
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithDownlinkLossPercent
CreateNetworkProfileRequest & WithDownlinkLossPercent(int value)
Definition: CreateNetworkProfileRequest.h:393
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::DownlinkBandwidthBitsHasBeenSet
bool DownlinkBandwidthBitsHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:235
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::UplinkJitterMsHasBeenSet
bool UplinkJitterMsHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:310
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetDownlinkJitterMs
long long GetDownlinkJitterMs() const
Definition: CreateNetworkProfileRequest.h:329
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetProjectArn
void SetProjectArn(Aws::String &&value)
Definition: CreateNetworkProfileRequest.h:60
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: CreateNetworkProfileRequest.h:31
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithUplinkLossPercent
CreateNetworkProfileRequest & WithUplinkLossPercent(int value)
Definition: CreateNetworkProfileRequest.h:372
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::ProjectArnHasBeenSet
bool ProjectArnHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:48
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetUplinkJitterMs
long long GetUplinkJitterMs() const
Definition: CreateNetworkProfileRequest.h:304
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetDownlinkBandwidthBits
long long GetDownlinkBandwidthBits() const
Definition: CreateNetworkProfileRequest.h:229
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetUplinkBandwidthBits
void SetUplinkBandwidthBits(long long value)
Definition: CreateNetworkProfileRequest.h:216
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithDownlinkJitterMs
CreateNetworkProfileRequest & WithDownlinkJitterMs(long long value)
Definition: CreateNetworkProfileRequest.h:347
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
NetworkProfileType.h
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithProjectArn
CreateNetworkProfileRequest & WithProjectArn(Aws::String &&value)
Definition: CreateNetworkProfileRequest.h:78
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithUplinkDelayMs
CreateNetworkProfileRequest & WithUplinkDelayMs(long long value)
Definition: CreateNetworkProfileRequest.h:272
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetName
const Aws::String & GetName() const
Definition: CreateNetworkProfileRequest.h:90
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetType
void SetType(NetworkProfileType &&value)
Definition: CreateNetworkProfileRequest.h:187
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithDescription
CreateNetworkProfileRequest & WithDescription(Aws::String &&value)
Definition: CreateNetworkProfileRequest.h:161
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetType
void SetType(const NetworkProfileType &value)
Definition: CreateNetworkProfileRequest.h:182
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithDescription
CreateNetworkProfileRequest & WithDescription(const Aws::String &value)
Definition: CreateNetworkProfileRequest.h:156
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::WithProjectArn
CreateNetworkProfileRequest & WithProjectArn(const Aws::String &value)
Definition: CreateNetworkProfileRequest.h:72
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetDownlinkLossPercent
int GetDownlinkLossPercent() const
Definition: CreateNetworkProfileRequest.h:378
Aws::DeviceFarm::Model::CreateNetworkProfileRequest
Definition: CreateNetworkProfileRequest.h:23
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetDownlinkJitterMs
void SetDownlinkJitterMs(long long value)
Definition: CreateNetworkProfileRequest.h:341
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: CreateNetworkProfileRequest.h:146
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::GetDownlinkDelayMs
long long GetDownlinkDelayMs() const
Definition: CreateNetworkProfileRequest.h:279
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::DownlinkLossPercentHasBeenSet
bool DownlinkLossPercentHasBeenSet() const
Definition: CreateNetworkProfileRequest.h:383
Aws::DeviceFarm::Model::CreateNetworkProfileRequest::SetDownlinkLossPercent
void SetDownlinkLossPercent(int value)
Definition: CreateNetworkProfileRequest.h:388