AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
NetworkProfile.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/model/NetworkProfileType.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DeviceFarm
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_DEVICEFARM_API NetworkProfile();
37 AWS_DEVICEFARM_API NetworkProfile(Aws::Utils::Json::JsonView jsonValue);
38 AWS_DEVICEFARM_API NetworkProfile& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetArn() const{ return m_arn; }
47 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
48 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
49 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
50 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
51 inline NetworkProfile& WithArn(const Aws::String& value) { SetArn(value); return *this;}
52 inline NetworkProfile& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
53 inline NetworkProfile& WithArn(const char* value) { SetArn(value); return *this;}
55
57
60 inline const Aws::String& GetName() const{ return m_name; }
61 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
62 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
63 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
64 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
65 inline NetworkProfile& WithName(const Aws::String& value) { SetName(value); return *this;}
66 inline NetworkProfile& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
67 inline NetworkProfile& WithName(const char* value) { SetName(value); return *this;}
69
71
74 inline const Aws::String& GetDescription() const{ return m_description; }
75 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
76 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
77 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
78 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
79 inline NetworkProfile& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
80 inline NetworkProfile& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
81 inline NetworkProfile& WithDescription(const char* value) { SetDescription(value); return *this;}
83
85
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 NetworkProfile& WithType(const NetworkProfileType& value) { SetType(value); return *this;}
93 inline NetworkProfile& 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 NetworkProfile& 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; }
115 inline NetworkProfile& WithDownlinkBandwidthBits(long long value) { SetDownlinkBandwidthBits(value); return *this;}
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 NetworkProfile& 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 NetworkProfile& 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 NetworkProfile& 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 NetworkProfile& 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; }
170 inline NetworkProfile& WithUplinkLossPercent(int value) { SetUplinkLossPercent(value); return *this;}
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; }
180 inline NetworkProfile& WithDownlinkLossPercent(int value) { SetDownlinkLossPercent(value); return *this;}
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
void SetDescription(Aws::String &&value)
NetworkProfile & WithDescription(Aws::String &&value)
const NetworkProfileType & GetType() const
void SetDownlinkBandwidthBits(long long value)
NetworkProfile & WithName(const Aws::String &value)
void SetDescription(const Aws::String &value)
void SetType(NetworkProfileType &&value)
NetworkProfile & WithType(const NetworkProfileType &value)
NetworkProfile & WithDownlinkBandwidthBits(long long value)
void SetUplinkBandwidthBits(long long value)
void SetType(const NetworkProfileType &value)
const Aws::String & GetName() const
NetworkProfile & WithDescription(const Aws::String &value)
NetworkProfile & WithUplinkJitterMs(long long value)
NetworkProfile & WithDescription(const char *value)
NetworkProfile & WithDownlinkLossPercent(int value)
void SetName(Aws::String &&value)
NetworkProfile & WithUplinkBandwidthBits(long long value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkProfile & WithArn(const Aws::String &value)
const Aws::String & GetDescription() const
NetworkProfile & WithType(NetworkProfileType &&value)
AWS_DEVICEFARM_API NetworkProfile(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
void SetName(const Aws::String &value)
NetworkProfile & WithArn(const char *value)
NetworkProfile & WithDownlinkJitterMs(long long value)
void SetDescription(const char *value)
NetworkProfile & WithName(const char *value)
NetworkProfile & WithUplinkDelayMs(long long value)
NetworkProfile & WithName(Aws::String &&value)
NetworkProfile & WithArn(Aws::String &&value)
AWS_DEVICEFARM_API NetworkProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkProfile & WithUplinkLossPercent(int value)
void SetArn(const Aws::String &value)
NetworkProfile & WithDownlinkDelayMs(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue