AWS SDK for C++  1.9.175
AWS SDK for C++
NetworkProfile.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace DeviceFarm
23 {
24 namespace Model
25 {
26 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetArn() const{ return m_arn; }
46 
50  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
51 
55  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
56 
60  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
61 
65  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
66 
70  inline NetworkProfile& WithArn(const Aws::String& value) { SetArn(value); return *this;}
71 
75  inline NetworkProfile& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
76 
80  inline NetworkProfile& WithArn(const char* value) { SetArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetName() const{ return m_name; }
87 
91  inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
92 
96  inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
97 
101  inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
102 
106  inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
107 
111  inline NetworkProfile& WithName(const Aws::String& value) { SetName(value); return *this;}
112 
116  inline NetworkProfile& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
117 
121  inline NetworkProfile& WithName(const char* value) { SetName(value); return *this;}
122 
123 
127  inline const Aws::String& GetDescription() const{ return m_description; }
128 
132  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
133 
137  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
138 
142  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
143 
147  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
148 
152  inline NetworkProfile& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
153 
157  inline NetworkProfile& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
158 
162  inline NetworkProfile& WithDescription(const char* value) { SetDescription(value); return *this;}
163 
164 
168  inline const NetworkProfileType& GetType() const{ return m_type; }
169 
173  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
174 
178  inline void SetType(const NetworkProfileType& value) { m_typeHasBeenSet = true; m_type = value; }
179 
183  inline void SetType(NetworkProfileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
184 
188  inline NetworkProfile& WithType(const NetworkProfileType& value) { SetType(value); return *this;}
189 
193  inline NetworkProfile& WithType(NetworkProfileType&& value) { SetType(std::move(value)); return *this;}
194 
195 
200  inline long long GetUplinkBandwidthBits() const{ return m_uplinkBandwidthBits; }
201 
206  inline bool UplinkBandwidthBitsHasBeenSet() const { return m_uplinkBandwidthBitsHasBeenSet; }
207 
212  inline void SetUplinkBandwidthBits(long long value) { m_uplinkBandwidthBitsHasBeenSet = true; m_uplinkBandwidthBits = value; }
213 
218  inline NetworkProfile& WithUplinkBandwidthBits(long long value) { SetUplinkBandwidthBits(value); return *this;}
219 
220 
225  inline long long GetDownlinkBandwidthBits() const{ return m_downlinkBandwidthBits; }
226 
231  inline bool DownlinkBandwidthBitsHasBeenSet() const { return m_downlinkBandwidthBitsHasBeenSet; }
232 
237  inline void SetDownlinkBandwidthBits(long long value) { m_downlinkBandwidthBitsHasBeenSet = true; m_downlinkBandwidthBits = value; }
238 
243  inline NetworkProfile& WithDownlinkBandwidthBits(long long value) { SetDownlinkBandwidthBits(value); return *this;}
244 
245 
250  inline long long GetUplinkDelayMs() const{ return m_uplinkDelayMs; }
251 
256  inline bool UplinkDelayMsHasBeenSet() const { return m_uplinkDelayMsHasBeenSet; }
257 
262  inline void SetUplinkDelayMs(long long value) { m_uplinkDelayMsHasBeenSet = true; m_uplinkDelayMs = value; }
263 
268  inline NetworkProfile& WithUplinkDelayMs(long long value) { SetUplinkDelayMs(value); return *this;}
269 
270 
275  inline long long GetDownlinkDelayMs() const{ return m_downlinkDelayMs; }
276 
281  inline bool DownlinkDelayMsHasBeenSet() const { return m_downlinkDelayMsHasBeenSet; }
282 
287  inline void SetDownlinkDelayMs(long long value) { m_downlinkDelayMsHasBeenSet = true; m_downlinkDelayMs = value; }
288 
293  inline NetworkProfile& WithDownlinkDelayMs(long long value) { SetDownlinkDelayMs(value); return *this;}
294 
295 
300  inline long long GetUplinkJitterMs() const{ return m_uplinkJitterMs; }
301 
306  inline bool UplinkJitterMsHasBeenSet() const { return m_uplinkJitterMsHasBeenSet; }
307 
312  inline void SetUplinkJitterMs(long long value) { m_uplinkJitterMsHasBeenSet = true; m_uplinkJitterMs = value; }
313 
318  inline NetworkProfile& WithUplinkJitterMs(long long value) { SetUplinkJitterMs(value); return *this;}
319 
320 
325  inline long long GetDownlinkJitterMs() const{ return m_downlinkJitterMs; }
326 
331  inline bool DownlinkJitterMsHasBeenSet() const { return m_downlinkJitterMsHasBeenSet; }
332 
337  inline void SetDownlinkJitterMs(long long value) { m_downlinkJitterMsHasBeenSet = true; m_downlinkJitterMs = value; }
338 
343  inline NetworkProfile& WithDownlinkJitterMs(long long value) { SetDownlinkJitterMs(value); return *this;}
344 
345 
350  inline int GetUplinkLossPercent() const{ return m_uplinkLossPercent; }
351 
356  inline bool UplinkLossPercentHasBeenSet() const { return m_uplinkLossPercentHasBeenSet; }
357 
362  inline void SetUplinkLossPercent(int value) { m_uplinkLossPercentHasBeenSet = true; m_uplinkLossPercent = value; }
363 
368  inline NetworkProfile& WithUplinkLossPercent(int value) { SetUplinkLossPercent(value); return *this;}
369 
370 
374  inline int GetDownlinkLossPercent() const{ return m_downlinkLossPercent; }
375 
379  inline bool DownlinkLossPercentHasBeenSet() const { return m_downlinkLossPercentHasBeenSet; }
380 
384  inline void SetDownlinkLossPercent(int value) { m_downlinkLossPercentHasBeenSet = true; m_downlinkLossPercent = value; }
385 
389  inline NetworkProfile& WithDownlinkLossPercent(int value) { SetDownlinkLossPercent(value); return *this;}
390 
391  private:
392 
393  Aws::String m_arn;
394  bool m_arnHasBeenSet;
395 
396  Aws::String m_name;
397  bool m_nameHasBeenSet;
398 
399  Aws::String m_description;
400  bool m_descriptionHasBeenSet;
401 
402  NetworkProfileType m_type;
403  bool m_typeHasBeenSet;
404 
405  long long m_uplinkBandwidthBits;
406  bool m_uplinkBandwidthBitsHasBeenSet;
407 
408  long long m_downlinkBandwidthBits;
409  bool m_downlinkBandwidthBitsHasBeenSet;
410 
411  long long m_uplinkDelayMs;
412  bool m_uplinkDelayMsHasBeenSet;
413 
414  long long m_downlinkDelayMs;
415  bool m_downlinkDelayMsHasBeenSet;
416 
417  long long m_uplinkJitterMs;
418  bool m_uplinkJitterMsHasBeenSet;
419 
420  long long m_downlinkJitterMs;
421  bool m_downlinkJitterMsHasBeenSet;
422 
423  int m_uplinkLossPercent;
424  bool m_uplinkLossPercentHasBeenSet;
425 
426  int m_downlinkLossPercent;
427  bool m_downlinkLossPercentHasBeenSet;
428  };
429 
430 } // namespace Model
431 } // namespace DeviceFarm
432 } // namespace Aws
Aws::DeviceFarm::Model::NetworkProfile::GetUplinkBandwidthBits
long long GetUplinkBandwidthBits() const
Definition: NetworkProfile.h:200
Aws::DeviceFarm::Model::NetworkProfile::DownlinkBandwidthBitsHasBeenSet
bool DownlinkBandwidthBitsHasBeenSet() const
Definition: NetworkProfile.h:231
Aws::DeviceFarm::Model::NetworkProfile::WithUplinkBandwidthBits
NetworkProfile & WithUplinkBandwidthBits(long long value)
Definition: NetworkProfile.h:218
Aws::DeviceFarm::Model::NetworkProfile::WithName
NetworkProfile & WithName(const char *value)
Definition: NetworkProfile.h:121
Aws::DeviceFarm::Model::NetworkProfile::WithArn
NetworkProfile & WithArn(Aws::String &&value)
Definition: NetworkProfile.h:75
Aws::DeviceFarm::Model::NetworkProfile::SetDescription
void SetDescription(const Aws::String &value)
Definition: NetworkProfile.h:137
Aws::DeviceFarm::Model::NetworkProfile::SetDownlinkLossPercent
void SetDownlinkLossPercent(int value)
Definition: NetworkProfile.h:384
Aws::DeviceFarm::Model::NetworkProfile::SetName
void SetName(const char *value)
Definition: NetworkProfile.h:106
Aws::DeviceFarm::Model::NetworkProfile::WithDescription
NetworkProfile & WithDescription(Aws::String &&value)
Definition: NetworkProfile.h:157
Aws::DeviceFarm::Model::NetworkProfile::SetDownlinkBandwidthBits
void SetDownlinkBandwidthBits(long long value)
Definition: NetworkProfile.h:237
Aws::DeviceFarm::Model::NetworkProfile::SetDescription
void SetDescription(const char *value)
Definition: NetworkProfile.h:147
Aws::DeviceFarm::Model::NetworkProfile::UplinkDelayMsHasBeenSet
bool UplinkDelayMsHasBeenSet() const
Definition: NetworkProfile.h:256
Aws::DeviceFarm::Model::NetworkProfile::WithDescription
NetworkProfile & WithDescription(const char *value)
Definition: NetworkProfile.h:162
Aws::DeviceFarm::Model::NetworkProfile::GetType
const NetworkProfileType & GetType() const
Definition: NetworkProfile.h:168
Aws::DeviceFarm::Model::NetworkProfile::WithName
NetworkProfile & WithName(Aws::String &&value)
Definition: NetworkProfile.h:116
Aws::DeviceFarm::Model::NetworkProfile::SetArn
void SetArn(Aws::String &&value)
Definition: NetworkProfile.h:60
Aws::DeviceFarm::Model::NetworkProfile::WithUplinkJitterMs
NetworkProfile & WithUplinkJitterMs(long long value)
Definition: NetworkProfile.h:318
Aws::DeviceFarm::Model::NetworkProfile::SetUplinkJitterMs
void SetUplinkJitterMs(long long value)
Definition: NetworkProfile.h:312
Aws::DeviceFarm::Model::NetworkProfile::NetworkProfile
NetworkProfile(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::NetworkProfile::GetArn
const Aws::String & GetArn() const
Definition: NetworkProfile.h:45
Aws::DeviceFarm::Model::NetworkProfile::UplinkBandwidthBitsHasBeenSet
bool UplinkBandwidthBitsHasBeenSet() const
Definition: NetworkProfile.h:206
Aws::DeviceFarm::Model::NetworkProfile::NetworkProfile
NetworkProfile()
Aws::DeviceFarm::Model::NetworkProfile::SetArn
void SetArn(const char *value)
Definition: NetworkProfile.h:65
Aws::DeviceFarm::Model::NetworkProfile::GetName
const Aws::String & GetName() const
Definition: NetworkProfile.h:86
Aws::DeviceFarm::Model::NetworkProfile::SetDownlinkDelayMs
void SetDownlinkDelayMs(long long value)
Definition: NetworkProfile.h:287
Aws::DeviceFarm::Model::NetworkProfile::WithDescription
NetworkProfile & WithDescription(const Aws::String &value)
Definition: NetworkProfile.h:152
Aws::DeviceFarm::Model::NetworkProfile::WithUplinkLossPercent
NetworkProfile & WithUplinkLossPercent(int value)
Definition: NetworkProfile.h:368
Aws::DeviceFarm::Model::NetworkProfile::SetType
void SetType(const NetworkProfileType &value)
Definition: NetworkProfile.h:178
Aws::DeviceFarm::Model::NetworkProfile::GetUplinkDelayMs
long long GetUplinkDelayMs() const
Definition: NetworkProfile.h:250
Aws::DeviceFarm::Model::NetworkProfile::SetUplinkLossPercent
void SetUplinkLossPercent(int value)
Definition: NetworkProfile.h:362
Aws::DeviceFarm::Model::NetworkProfile::WithArn
NetworkProfile & WithArn(const Aws::String &value)
Definition: NetworkProfile.h:70
Aws::DeviceFarm::Model::NetworkProfile::WithDownlinkDelayMs
NetworkProfile & WithDownlinkDelayMs(long long value)
Definition: NetworkProfile.h:293
Aws::DeviceFarm::Model::NetworkProfile::GetDownlinkDelayMs
long long GetDownlinkDelayMs() const
Definition: NetworkProfile.h:275
Aws::DeviceFarm::Model::NetworkProfile::operator=
NetworkProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::NetworkProfile::WithUplinkDelayMs
NetworkProfile & WithUplinkDelayMs(long long value)
Definition: NetworkProfile.h:268
Aws::DeviceFarm::Model::NetworkProfile::DownlinkDelayMsHasBeenSet
bool DownlinkDelayMsHasBeenSet() const
Definition: NetworkProfile.h:281
Aws::DeviceFarm::Model::NetworkProfile::UplinkJitterMsHasBeenSet
bool UplinkJitterMsHasBeenSet() const
Definition: NetworkProfile.h:306
Aws::DeviceFarm::Model::NetworkProfileType
NetworkProfileType
Definition: NetworkProfileType.h:17
Aws::DeviceFarm::Model::NetworkProfile::GetDownlinkLossPercent
int GetDownlinkLossPercent() const
Definition: NetworkProfile.h:374
Aws::DeviceFarm::Model::NetworkProfile::SetName
void SetName(Aws::String &&value)
Definition: NetworkProfile.h:101
Aws::DeviceFarm::Model::NetworkProfile::SetType
void SetType(NetworkProfileType &&value)
Definition: NetworkProfile.h:183
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::DeviceFarm::Model::NetworkProfile::WithDownlinkBandwidthBits
NetworkProfile & WithDownlinkBandwidthBits(long long value)
Definition: NetworkProfile.h:243
Aws::DeviceFarm::Model::NetworkProfile::SetUplinkDelayMs
void SetUplinkDelayMs(long long value)
Definition: NetworkProfile.h:262
Aws::DeviceFarm::Model::NetworkProfile::SetDescription
void SetDescription(Aws::String &&value)
Definition: NetworkProfile.h:142
Aws::DeviceFarm::Model::NetworkProfile::WithDownlinkLossPercent
NetworkProfile & WithDownlinkLossPercent(int value)
Definition: NetworkProfile.h:389
Aws::DeviceFarm::Model::NetworkProfile::GetDescription
const Aws::String & GetDescription() const
Definition: NetworkProfile.h:127
Aws::DeviceFarm::Model::NetworkProfile::SetUplinkBandwidthBits
void SetUplinkBandwidthBits(long long value)
Definition: NetworkProfile.h:212
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::DeviceFarm::Model::NetworkProfile::GetUplinkLossPercent
int GetUplinkLossPercent() const
Definition: NetworkProfile.h:350
Aws::DeviceFarm::Model::NetworkProfile::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: NetworkProfile.h:132
Aws::DeviceFarm::Model::NetworkProfile::WithType
NetworkProfile & WithType(NetworkProfileType &&value)
Definition: NetworkProfile.h:193
Aws::DeviceFarm::Model::NetworkProfile::UplinkLossPercentHasBeenSet
bool UplinkLossPercentHasBeenSet() const
Definition: NetworkProfile.h:356
Aws::DeviceFarm::Model::NetworkProfile::SetArn
void SetArn(const Aws::String &value)
Definition: NetworkProfile.h:55
Aws::DeviceFarm::Model::NetworkProfile::WithDownlinkJitterMs
NetworkProfile & WithDownlinkJitterMs(long long value)
Definition: NetworkProfile.h:343
Aws::DeviceFarm::Model::NetworkProfile::WithName
NetworkProfile & WithName(const Aws::String &value)
Definition: NetworkProfile.h:111
Aws::DeviceFarm::Model::NetworkProfile::WithType
NetworkProfile & WithType(const NetworkProfileType &value)
Definition: NetworkProfile.h:188
Aws::DeviceFarm::Model::NetworkProfile::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: NetworkProfile.h:173
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::DeviceFarm::Model::NetworkProfile
Definition: NetworkProfile.h:34
Aws::DeviceFarm::Model::NetworkProfile::GetDownlinkBandwidthBits
long long GetDownlinkBandwidthBits() const
Definition: NetworkProfile.h:225
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::NetworkProfile::DownlinkJitterMsHasBeenSet
bool DownlinkJitterMsHasBeenSet() const
Definition: NetworkProfile.h:331
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
NetworkProfileType.h
Aws::DeviceFarm::Model::NetworkProfile::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: NetworkProfile.h:50
Aws::DeviceFarm::Model::NetworkProfile::SetDownlinkJitterMs
void SetDownlinkJitterMs(long long value)
Definition: NetworkProfile.h:337
Aws::DeviceFarm::Model::NetworkProfile::GetDownlinkJitterMs
long long GetDownlinkJitterMs() const
Definition: NetworkProfile.h:325
Aws::DeviceFarm::Model::NetworkProfile::GetUplinkJitterMs
long long GetUplinkJitterMs() const
Definition: NetworkProfile.h:300
Aws::DeviceFarm::Model::NetworkProfile::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DeviceFarm::Model::NetworkProfile::SetName
void SetName(const Aws::String &value)
Definition: NetworkProfile.h:96
Aws::DeviceFarm::Model::NetworkProfile::WithArn
NetworkProfile & WithArn(const char *value)
Definition: NetworkProfile.h:80
Aws::DeviceFarm::Model::NetworkProfile::DownlinkLossPercentHasBeenSet
bool DownlinkLossPercentHasBeenSet() const
Definition: NetworkProfile.h:379
Aws::DeviceFarm::Model::NetworkProfile::NameHasBeenSet
bool NameHasBeenSet() const
Definition: NetworkProfile.h:91