AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ArnT = Aws::String>
49 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
50 template<typename ArnT = Aws::String>
51 NetworkProfile& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetName() const { return m_name; }
59 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
60 template<typename NameT = Aws::String>
61 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
62 template<typename NameT = Aws::String>
63 NetworkProfile& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
65
67
70 inline const Aws::String& GetDescription() const { return m_description; }
71 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
72 template<typename DescriptionT = Aws::String>
73 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
74 template<typename DescriptionT = Aws::String>
75 NetworkProfile& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
77
79
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 NetworkProfile& 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 NetworkProfile& 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; }
107 inline NetworkProfile& WithDownlinkBandwidthBits(long long value) { SetDownlinkBandwidthBits(value); return *this;}
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 NetworkProfile& 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 NetworkProfile& 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 NetworkProfile& 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 NetworkProfile& 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; }
162 inline NetworkProfile& WithUplinkLossPercent(int value) { SetUplinkLossPercent(value); return *this;}
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; }
172 inline NetworkProfile& WithDownlinkLossPercent(int value) { SetDownlinkLossPercent(value); return *this;}
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
NetworkProfile & WithName(NameT &&value)
void SetDownlinkBandwidthBits(long long value)
NetworkProfile & WithDownlinkBandwidthBits(long long value)
void SetUplinkBandwidthBits(long long value)
const Aws::String & GetName() const
NetworkProfile & WithUplinkJitterMs(long long value)
void SetDescription(DescriptionT &&value)
AWS_DEVICEFARM_API NetworkProfile()=default
NetworkProfile & WithDescription(DescriptionT &&value)
NetworkProfile & WithDownlinkLossPercent(int value)
void SetType(NetworkProfileType value)
NetworkProfile & WithUplinkBandwidthBits(long long value)
NetworkProfile & WithArn(ArnT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkProfile & WithType(NetworkProfileType value)
const Aws::String & GetDescription() const
AWS_DEVICEFARM_API NetworkProfile(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetArn() const
NetworkProfile & WithDownlinkJitterMs(long long value)
NetworkProfileType GetType() const
NetworkProfile & WithUplinkDelayMs(long long value)
AWS_DEVICEFARM_API NetworkProfile & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkProfile & WithUplinkLossPercent(int value)
NetworkProfile & WithDownlinkDelayMs(long long value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue