AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateNetworkProfileRequest.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 CreateNetworkProfileRequest();
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_DEVICEFARM_API Aws::String SerializePayload() const override;
34
36
37
39
43 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
44 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
45 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
46 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
47 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
48 inline CreateNetworkProfileRequest& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
49 inline CreateNetworkProfileRequest& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
50 inline CreateNetworkProfileRequest& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
52
54
57 inline const Aws::String& GetName() const{ return m_name; }
58 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
59 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
60 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
61 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
62 inline CreateNetworkProfileRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
63 inline CreateNetworkProfileRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
64 inline CreateNetworkProfileRequest& WithName(const char* value) { SetName(value); return *this;}
66
68
71 inline const Aws::String& GetDescription() const{ return m_description; }
72 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
73 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
74 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
75 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
76 inline CreateNetworkProfileRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
77 inline CreateNetworkProfileRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
78 inline CreateNetworkProfileRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
80
82
85 inline const NetworkProfileType& GetType() const{ return m_type; }
86 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
87 inline void SetType(const NetworkProfileType& value) { m_typeHasBeenSet = true; m_type = value; }
88 inline void SetType(NetworkProfileType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
89 inline CreateNetworkProfileRequest& WithType(const NetworkProfileType& value) { SetType(value); return *this;}
90 inline CreateNetworkProfileRequest& WithType(NetworkProfileType&& value) { SetType(std::move(value)); return *this;}
92
94
98 inline long long GetUplinkBandwidthBits() const{ return m_uplinkBandwidthBits; }
99 inline bool UplinkBandwidthBitsHasBeenSet() const { return m_uplinkBandwidthBitsHasBeenSet; }
100 inline void SetUplinkBandwidthBits(long long value) { m_uplinkBandwidthBitsHasBeenSet = true; m_uplinkBandwidthBits = value; }
101 inline CreateNetworkProfileRequest& WithUplinkBandwidthBits(long long value) { SetUplinkBandwidthBits(value); return *this;}
103
105
109 inline long long GetDownlinkBandwidthBits() const{ return m_downlinkBandwidthBits; }
110 inline bool DownlinkBandwidthBitsHasBeenSet() const { return m_downlinkBandwidthBitsHasBeenSet; }
111 inline void SetDownlinkBandwidthBits(long long value) { m_downlinkBandwidthBitsHasBeenSet = true; m_downlinkBandwidthBits = value; }
114
116
120 inline long long GetUplinkDelayMs() const{ return m_uplinkDelayMs; }
121 inline bool UplinkDelayMsHasBeenSet() const { return m_uplinkDelayMsHasBeenSet; }
122 inline void SetUplinkDelayMs(long long value) { m_uplinkDelayMsHasBeenSet = true; m_uplinkDelayMs = value; }
123 inline CreateNetworkProfileRequest& WithUplinkDelayMs(long long value) { SetUplinkDelayMs(value); return *this;}
125
127
131 inline long long GetDownlinkDelayMs() const{ return m_downlinkDelayMs; }
132 inline bool DownlinkDelayMsHasBeenSet() const { return m_downlinkDelayMsHasBeenSet; }
133 inline void SetDownlinkDelayMs(long long value) { m_downlinkDelayMsHasBeenSet = true; m_downlinkDelayMs = value; }
134 inline CreateNetworkProfileRequest& WithDownlinkDelayMs(long long value) { SetDownlinkDelayMs(value); return *this;}
136
138
142 inline long long GetUplinkJitterMs() const{ return m_uplinkJitterMs; }
143 inline bool UplinkJitterMsHasBeenSet() const { return m_uplinkJitterMsHasBeenSet; }
144 inline void SetUplinkJitterMs(long long value) { m_uplinkJitterMsHasBeenSet = true; m_uplinkJitterMs = value; }
145 inline CreateNetworkProfileRequest& WithUplinkJitterMs(long long value) { SetUplinkJitterMs(value); return *this;}
147
149
153 inline long long GetDownlinkJitterMs() const{ return m_downlinkJitterMs; }
154 inline bool DownlinkJitterMsHasBeenSet() const { return m_downlinkJitterMsHasBeenSet; }
155 inline void SetDownlinkJitterMs(long long value) { m_downlinkJitterMsHasBeenSet = true; m_downlinkJitterMs = value; }
156 inline CreateNetworkProfileRequest& WithDownlinkJitterMs(long long value) { SetDownlinkJitterMs(value); return *this;}
158
160
164 inline int GetUplinkLossPercent() const{ return m_uplinkLossPercent; }
165 inline bool UplinkLossPercentHasBeenSet() const { return m_uplinkLossPercentHasBeenSet; }
166 inline void SetUplinkLossPercent(int value) { m_uplinkLossPercentHasBeenSet = true; m_uplinkLossPercent = value; }
169
171
174 inline int GetDownlinkLossPercent() const{ return m_downlinkLossPercent; }
175 inline bool DownlinkLossPercentHasBeenSet() const { return m_downlinkLossPercentHasBeenSet; }
176 inline void SetDownlinkLossPercent(int value) { m_downlinkLossPercentHasBeenSet = true; m_downlinkLossPercent = value; }
179 private:
180
181 Aws::String m_projectArn;
182 bool m_projectArnHasBeenSet = false;
183
184 Aws::String m_name;
185 bool m_nameHasBeenSet = false;
186
187 Aws::String m_description;
188 bool m_descriptionHasBeenSet = false;
189
190 NetworkProfileType m_type;
191 bool m_typeHasBeenSet = false;
192
193 long long m_uplinkBandwidthBits;
194 bool m_uplinkBandwidthBitsHasBeenSet = false;
195
196 long long m_downlinkBandwidthBits;
197 bool m_downlinkBandwidthBitsHasBeenSet = false;
198
199 long long m_uplinkDelayMs;
200 bool m_uplinkDelayMsHasBeenSet = false;
201
202 long long m_downlinkDelayMs;
203 bool m_downlinkDelayMsHasBeenSet = false;
204
205 long long m_uplinkJitterMs;
206 bool m_uplinkJitterMsHasBeenSet = false;
207
208 long long m_downlinkJitterMs;
209 bool m_downlinkJitterMsHasBeenSet = false;
210
211 int m_uplinkLossPercent;
212 bool m_uplinkLossPercentHasBeenSet = false;
213
214 int m_downlinkLossPercent;
215 bool m_downlinkLossPercentHasBeenSet = false;
216 };
217
218} // namespace Model
219} // namespace DeviceFarm
220} // namespace Aws
CreateNetworkProfileRequest & WithDownlinkBandwidthBits(long long value)
CreateNetworkProfileRequest & WithType(const NetworkProfileType &value)
CreateNetworkProfileRequest & WithUplinkJitterMs(long long value)
CreateNetworkProfileRequest & WithDownlinkDelayMs(long long value)
CreateNetworkProfileRequest & WithType(NetworkProfileType &&value)
CreateNetworkProfileRequest & WithDownlinkJitterMs(long long value)
CreateNetworkProfileRequest & WithUplinkLossPercent(int value)
CreateNetworkProfileRequest & WithDescription(Aws::String &&value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
CreateNetworkProfileRequest & WithProjectArn(Aws::String &&value)
CreateNetworkProfileRequest & WithDescription(const Aws::String &value)
CreateNetworkProfileRequest & WithDescription(const char *value)
CreateNetworkProfileRequest & WithProjectArn(const char *value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateNetworkProfileRequest & WithName(const char *value)
CreateNetworkProfileRequest & WithName(Aws::String &&value)
CreateNetworkProfileRequest & WithUplinkBandwidthBits(long long value)
CreateNetworkProfileRequest & WithProjectArn(const Aws::String &value)
CreateNetworkProfileRequest & WithName(const Aws::String &value)
CreateNetworkProfileRequest & WithDownlinkLossPercent(int value)
CreateNetworkProfileRequest & WithUplinkDelayMs(long long value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String