AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RemoteAccessSession.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/devicefarm/model/ExecutionStatus.h>
11#include <aws/devicefarm/model/ExecutionResult.h>
12#include <aws/devicefarm/model/Device.h>
13#include <aws/devicefarm/model/BillingMethod.h>
14#include <aws/devicefarm/model/DeviceMinutes.h>
15#include <aws/devicefarm/model/InteractionMode.h>
16#include <aws/devicefarm/model/VpcConfig.h>
17#include <utility>
18
19namespace Aws
20{
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26 class JsonView;
27} // namespace Json
28} // namespace Utils
29namespace DeviceFarm
30{
31namespace Model
32{
33
41 {
42 public:
43 AWS_DEVICEFARM_API RemoteAccessSession();
44 AWS_DEVICEFARM_API RemoteAccessSession(Aws::Utils::Json::JsonView jsonValue);
46 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
53 inline const Aws::String& GetArn() const{ return m_arn; }
54 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
55 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
56 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
57 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
58 inline RemoteAccessSession& WithArn(const Aws::String& value) { SetArn(value); return *this;}
59 inline RemoteAccessSession& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
60 inline RemoteAccessSession& WithArn(const char* value) { SetArn(value); return *this;}
62
64
67 inline const Aws::String& GetName() const{ return m_name; }
68 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
69 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
70 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
71 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
72 inline RemoteAccessSession& WithName(const Aws::String& value) { SetName(value); return *this;}
73 inline RemoteAccessSession& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
74 inline RemoteAccessSession& WithName(const char* value) { SetName(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreated() const{ return m_created; }
82 inline bool CreatedHasBeenSet() const { return m_createdHasBeenSet; }
83 inline void SetCreated(const Aws::Utils::DateTime& value) { m_createdHasBeenSet = true; m_created = value; }
84 inline void SetCreated(Aws::Utils::DateTime&& value) { m_createdHasBeenSet = true; m_created = std::move(value); }
85 inline RemoteAccessSession& WithCreated(const Aws::Utils::DateTime& value) { SetCreated(value); return *this;}
86 inline RemoteAccessSession& WithCreated(Aws::Utils::DateTime&& value) { SetCreated(std::move(value)); return *this;}
88
90
97 inline const ExecutionStatus& GetStatus() const{ return m_status; }
98 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
99 inline void SetStatus(const ExecutionStatus& value) { m_statusHasBeenSet = true; m_status = value; }
100 inline void SetStatus(ExecutionStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
101 inline RemoteAccessSession& WithStatus(const ExecutionStatus& value) { SetStatus(value); return *this;}
102 inline RemoteAccessSession& WithStatus(ExecutionStatus&& value) { SetStatus(std::move(value)); return *this;}
104
106
112 inline const ExecutionResult& GetResult() const{ return m_result; }
113 inline bool ResultHasBeenSet() const { return m_resultHasBeenSet; }
114 inline void SetResult(const ExecutionResult& value) { m_resultHasBeenSet = true; m_result = value; }
115 inline void SetResult(ExecutionResult&& value) { m_resultHasBeenSet = true; m_result = std::move(value); }
116 inline RemoteAccessSession& WithResult(const ExecutionResult& value) { SetResult(value); return *this;}
117 inline RemoteAccessSession& WithResult(ExecutionResult&& value) { SetResult(std::move(value)); return *this;}
119
121
124 inline const Aws::String& GetMessage() const{ return m_message; }
125 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
126 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
127 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
128 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
129 inline RemoteAccessSession& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
130 inline RemoteAccessSession& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
131 inline RemoteAccessSession& WithMessage(const char* value) { SetMessage(value); return *this;}
133
135
138 inline const Aws::Utils::DateTime& GetStarted() const{ return m_started; }
139 inline bool StartedHasBeenSet() const { return m_startedHasBeenSet; }
140 inline void SetStarted(const Aws::Utils::DateTime& value) { m_startedHasBeenSet = true; m_started = value; }
141 inline void SetStarted(Aws::Utils::DateTime&& value) { m_startedHasBeenSet = true; m_started = std::move(value); }
142 inline RemoteAccessSession& WithStarted(const Aws::Utils::DateTime& value) { SetStarted(value); return *this;}
143 inline RemoteAccessSession& WithStarted(Aws::Utils::DateTime&& value) { SetStarted(std::move(value)); return *this;}
145
147
150 inline const Aws::Utils::DateTime& GetStopped() const{ return m_stopped; }
151 inline bool StoppedHasBeenSet() const { return m_stoppedHasBeenSet; }
152 inline void SetStopped(const Aws::Utils::DateTime& value) { m_stoppedHasBeenSet = true; m_stopped = value; }
153 inline void SetStopped(Aws::Utils::DateTime&& value) { m_stoppedHasBeenSet = true; m_stopped = std::move(value); }
154 inline RemoteAccessSession& WithStopped(const Aws::Utils::DateTime& value) { SetStopped(value); return *this;}
155 inline RemoteAccessSession& WithStopped(Aws::Utils::DateTime&& value) { SetStopped(std::move(value)); return *this;}
157
159
162 inline const Device& GetDevice() const{ return m_device; }
163 inline bool DeviceHasBeenSet() const { return m_deviceHasBeenSet; }
164 inline void SetDevice(const Device& value) { m_deviceHasBeenSet = true; m_device = value; }
165 inline void SetDevice(Device&& value) { m_deviceHasBeenSet = true; m_device = std::move(value); }
166 inline RemoteAccessSession& WithDevice(const Device& value) { SetDevice(value); return *this;}
167 inline RemoteAccessSession& WithDevice(Device&& value) { SetDevice(std::move(value)); return *this;}
169
171
174 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
175 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
176 inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
177 inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
178 inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
179 inline RemoteAccessSession& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
180 inline RemoteAccessSession& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
181 inline RemoteAccessSession& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
183
185
191 inline bool GetRemoteDebugEnabled() const{ return m_remoteDebugEnabled; }
192 inline bool RemoteDebugEnabledHasBeenSet() const { return m_remoteDebugEnabledHasBeenSet; }
193 inline void SetRemoteDebugEnabled(bool value) { m_remoteDebugEnabledHasBeenSet = true; m_remoteDebugEnabled = value; }
194 inline RemoteAccessSession& WithRemoteDebugEnabled(bool value) { SetRemoteDebugEnabled(value); return *this;}
196
198
202 inline bool GetRemoteRecordEnabled() const{ return m_remoteRecordEnabled; }
203 inline bool RemoteRecordEnabledHasBeenSet() const { return m_remoteRecordEnabledHasBeenSet; }
204 inline void SetRemoteRecordEnabled(bool value) { m_remoteRecordEnabledHasBeenSet = true; m_remoteRecordEnabled = value; }
205 inline RemoteAccessSession& WithRemoteRecordEnabled(bool value) { SetRemoteRecordEnabled(value); return *this;}
207
209
212 inline const Aws::String& GetRemoteRecordAppArn() const{ return m_remoteRecordAppArn; }
213 inline bool RemoteRecordAppArnHasBeenSet() const { return m_remoteRecordAppArnHasBeenSet; }
214 inline void SetRemoteRecordAppArn(const Aws::String& value) { m_remoteRecordAppArnHasBeenSet = true; m_remoteRecordAppArn = value; }
215 inline void SetRemoteRecordAppArn(Aws::String&& value) { m_remoteRecordAppArnHasBeenSet = true; m_remoteRecordAppArn = std::move(value); }
216 inline void SetRemoteRecordAppArn(const char* value) { m_remoteRecordAppArnHasBeenSet = true; m_remoteRecordAppArn.assign(value); }
218 inline RemoteAccessSession& WithRemoteRecordAppArn(Aws::String&& value) { SetRemoteRecordAppArn(std::move(value)); return *this;}
219 inline RemoteAccessSession& WithRemoteRecordAppArn(const char* value) { SetRemoteRecordAppArn(value); return *this;}
221
223
230 inline const Aws::String& GetHostAddress() const{ return m_hostAddress; }
231 inline bool HostAddressHasBeenSet() const { return m_hostAddressHasBeenSet; }
232 inline void SetHostAddress(const Aws::String& value) { m_hostAddressHasBeenSet = true; m_hostAddress = value; }
233 inline void SetHostAddress(Aws::String&& value) { m_hostAddressHasBeenSet = true; m_hostAddress = std::move(value); }
234 inline void SetHostAddress(const char* value) { m_hostAddressHasBeenSet = true; m_hostAddress.assign(value); }
235 inline RemoteAccessSession& WithHostAddress(const Aws::String& value) { SetHostAddress(value); return *this;}
236 inline RemoteAccessSession& WithHostAddress(Aws::String&& value) { SetHostAddress(std::move(value)); return *this;}
237 inline RemoteAccessSession& WithHostAddress(const char* value) { SetHostAddress(value); return *this;}
239
241
248 inline const Aws::String& GetClientId() const{ return m_clientId; }
249 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
250 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
251 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
252 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
253 inline RemoteAccessSession& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
254 inline RemoteAccessSession& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
255 inline RemoteAccessSession& WithClientId(const char* value) { SetClientId(value); return *this;}
257
259
266 inline const BillingMethod& GetBillingMethod() const{ return m_billingMethod; }
267 inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
268 inline void SetBillingMethod(const BillingMethod& value) { m_billingMethodHasBeenSet = true; m_billingMethod = value; }
269 inline void SetBillingMethod(BillingMethod&& value) { m_billingMethodHasBeenSet = true; m_billingMethod = std::move(value); }
270 inline RemoteAccessSession& WithBillingMethod(const BillingMethod& value) { SetBillingMethod(value); return *this;}
271 inline RemoteAccessSession& WithBillingMethod(BillingMethod&& value) { SetBillingMethod(std::move(value)); return *this;}
273
275
279 inline const DeviceMinutes& GetDeviceMinutes() const{ return m_deviceMinutes; }
280 inline bool DeviceMinutesHasBeenSet() const { return m_deviceMinutesHasBeenSet; }
281 inline void SetDeviceMinutes(const DeviceMinutes& value) { m_deviceMinutesHasBeenSet = true; m_deviceMinutes = value; }
282 inline void SetDeviceMinutes(DeviceMinutes&& value) { m_deviceMinutesHasBeenSet = true; m_deviceMinutes = std::move(value); }
283 inline RemoteAccessSession& WithDeviceMinutes(const DeviceMinutes& value) { SetDeviceMinutes(value); return *this;}
284 inline RemoteAccessSession& WithDeviceMinutes(DeviceMinutes&& value) { SetDeviceMinutes(std::move(value)); return *this;}
286
288
291 inline const Aws::String& GetEndpoint() const{ return m_endpoint; }
292 inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; }
293 inline void SetEndpoint(const Aws::String& value) { m_endpointHasBeenSet = true; m_endpoint = value; }
294 inline void SetEndpoint(Aws::String&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); }
295 inline void SetEndpoint(const char* value) { m_endpointHasBeenSet = true; m_endpoint.assign(value); }
296 inline RemoteAccessSession& WithEndpoint(const Aws::String& value) { SetEndpoint(value); return *this;}
297 inline RemoteAccessSession& WithEndpoint(Aws::String&& value) { SetEndpoint(std::move(value)); return *this;}
298 inline RemoteAccessSession& WithEndpoint(const char* value) { SetEndpoint(value); return *this;}
300
302
309 inline const Aws::String& GetDeviceUdid() const{ return m_deviceUdid; }
310 inline bool DeviceUdidHasBeenSet() const { return m_deviceUdidHasBeenSet; }
311 inline void SetDeviceUdid(const Aws::String& value) { m_deviceUdidHasBeenSet = true; m_deviceUdid = value; }
312 inline void SetDeviceUdid(Aws::String&& value) { m_deviceUdidHasBeenSet = true; m_deviceUdid = std::move(value); }
313 inline void SetDeviceUdid(const char* value) { m_deviceUdidHasBeenSet = true; m_deviceUdid.assign(value); }
314 inline RemoteAccessSession& WithDeviceUdid(const Aws::String& value) { SetDeviceUdid(value); return *this;}
315 inline RemoteAccessSession& WithDeviceUdid(Aws::String&& value) { SetDeviceUdid(std::move(value)); return *this;}
316 inline RemoteAccessSession& WithDeviceUdid(const char* value) { SetDeviceUdid(value); return *this;}
318
320
331 inline const InteractionMode& GetInteractionMode() const{ return m_interactionMode; }
332 inline bool InteractionModeHasBeenSet() const { return m_interactionModeHasBeenSet; }
333 inline void SetInteractionMode(const InteractionMode& value) { m_interactionModeHasBeenSet = true; m_interactionMode = value; }
334 inline void SetInteractionMode(InteractionMode&& value) { m_interactionModeHasBeenSet = true; m_interactionMode = std::move(value); }
335 inline RemoteAccessSession& WithInteractionMode(const InteractionMode& value) { SetInteractionMode(value); return *this;}
336 inline RemoteAccessSession& WithInteractionMode(InteractionMode&& value) { SetInteractionMode(std::move(value)); return *this;}
338
340
347 inline bool GetSkipAppResign() const{ return m_skipAppResign; }
348 inline bool SkipAppResignHasBeenSet() const { return m_skipAppResignHasBeenSet; }
349 inline void SetSkipAppResign(bool value) { m_skipAppResignHasBeenSet = true; m_skipAppResign = value; }
350 inline RemoteAccessSession& WithSkipAppResign(bool value) { SetSkipAppResign(value); return *this;}
352
354
357 inline const VpcConfig& GetVpcConfig() const{ return m_vpcConfig; }
358 inline bool VpcConfigHasBeenSet() const { return m_vpcConfigHasBeenSet; }
359 inline void SetVpcConfig(const VpcConfig& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = value; }
360 inline void SetVpcConfig(VpcConfig&& value) { m_vpcConfigHasBeenSet = true; m_vpcConfig = std::move(value); }
361 inline RemoteAccessSession& WithVpcConfig(const VpcConfig& value) { SetVpcConfig(value); return *this;}
362 inline RemoteAccessSession& WithVpcConfig(VpcConfig&& value) { SetVpcConfig(std::move(value)); return *this;}
364 private:
365
366 Aws::String m_arn;
367 bool m_arnHasBeenSet = false;
368
369 Aws::String m_name;
370 bool m_nameHasBeenSet = false;
371
372 Aws::Utils::DateTime m_created;
373 bool m_createdHasBeenSet = false;
374
375 ExecutionStatus m_status;
376 bool m_statusHasBeenSet = false;
377
378 ExecutionResult m_result;
379 bool m_resultHasBeenSet = false;
380
381 Aws::String m_message;
382 bool m_messageHasBeenSet = false;
383
384 Aws::Utils::DateTime m_started;
385 bool m_startedHasBeenSet = false;
386
387 Aws::Utils::DateTime m_stopped;
388 bool m_stoppedHasBeenSet = false;
389
390 Device m_device;
391 bool m_deviceHasBeenSet = false;
392
393 Aws::String m_instanceArn;
394 bool m_instanceArnHasBeenSet = false;
395
396 bool m_remoteDebugEnabled;
397 bool m_remoteDebugEnabledHasBeenSet = false;
398
399 bool m_remoteRecordEnabled;
400 bool m_remoteRecordEnabledHasBeenSet = false;
401
402 Aws::String m_remoteRecordAppArn;
403 bool m_remoteRecordAppArnHasBeenSet = false;
404
405 Aws::String m_hostAddress;
406 bool m_hostAddressHasBeenSet = false;
407
408 Aws::String m_clientId;
409 bool m_clientIdHasBeenSet = false;
410
411 BillingMethod m_billingMethod;
412 bool m_billingMethodHasBeenSet = false;
413
414 DeviceMinutes m_deviceMinutes;
415 bool m_deviceMinutesHasBeenSet = false;
416
417 Aws::String m_endpoint;
418 bool m_endpointHasBeenSet = false;
419
420 Aws::String m_deviceUdid;
421 bool m_deviceUdidHasBeenSet = false;
422
423 InteractionMode m_interactionMode;
424 bool m_interactionModeHasBeenSet = false;
425
426 bool m_skipAppResign;
427 bool m_skipAppResignHasBeenSet = false;
428
429 VpcConfig m_vpcConfig;
430 bool m_vpcConfigHasBeenSet = false;
431 };
432
433} // namespace Model
434} // namespace DeviceFarm
435} // namespace Aws
void SetDeviceMinutes(const DeviceMinutes &value)
RemoteAccessSession & WithArn(const char *value)
RemoteAccessSession & WithEndpoint(const char *value)
RemoteAccessSession & WithClientId(const Aws::String &value)
RemoteAccessSession & WithMessage(Aws::String &&value)
RemoteAccessSession & WithRemoteRecordAppArn(const char *value)
RemoteAccessSession & WithInstanceArn(const Aws::String &value)
RemoteAccessSession & WithMessage(const char *value)
RemoteAccessSession & WithStarted(Aws::Utils::DateTime &&value)
void SetHostAddress(const Aws::String &value)
const Aws::Utils::DateTime & GetStopped() const
void SetInteractionMode(const InteractionMode &value)
RemoteAccessSession & WithStopped(const Aws::Utils::DateTime &value)
RemoteAccessSession & WithDeviceMinutes(DeviceMinutes &&value)
RemoteAccessSession & WithName(const Aws::String &value)
RemoteAccessSession & WithVpcConfig(VpcConfig &&value)
RemoteAccessSession & WithClientId(const char *value)
RemoteAccessSession & WithInstanceArn(const char *value)
RemoteAccessSession & WithInteractionMode(InteractionMode &&value)
RemoteAccessSession & WithResult(const ExecutionResult &value)
RemoteAccessSession & WithDeviceUdid(const char *value)
RemoteAccessSession & WithArn(Aws::String &&value)
RemoteAccessSession & WithHostAddress(const Aws::String &value)
void SetStopped(const Aws::Utils::DateTime &value)
RemoteAccessSession & WithBillingMethod(const BillingMethod &value)
RemoteAccessSession & WithStatus(const ExecutionStatus &value)
RemoteAccessSession & WithCreated(const Aws::Utils::DateTime &value)
RemoteAccessSession & WithResult(ExecutionResult &&value)
void SetStopped(Aws::Utils::DateTime &&value)
RemoteAccessSession & WithDevice(Device &&value)
RemoteAccessSession & WithRemoteRecordAppArn(Aws::String &&value)
void SetRemoteRecordAppArn(const Aws::String &value)
RemoteAccessSession & WithEndpoint(const Aws::String &value)
RemoteAccessSession & WithHostAddress(const char *value)
void SetResult(const ExecutionResult &value)
RemoteAccessSession & WithHostAddress(Aws::String &&value)
RemoteAccessSession & WithBillingMethod(BillingMethod &&value)
AWS_DEVICEFARM_API RemoteAccessSession(Aws::Utils::Json::JsonView jsonValue)
RemoteAccessSession & WithName(const char *value)
RemoteAccessSession & WithSkipAppResign(bool value)
void SetStarted(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetStarted() const
const Aws::Utils::DateTime & GetCreated() const
const InteractionMode & GetInteractionMode() const
RemoteAccessSession & WithCreated(Aws::Utils::DateTime &&value)
void SetBillingMethod(const BillingMethod &value)
AWS_DEVICEFARM_API RemoteAccessSession & operator=(Aws::Utils::Json::JsonView jsonValue)
RemoteAccessSession & WithName(Aws::String &&value)
RemoteAccessSession & WithClientId(Aws::String &&value)
RemoteAccessSession & WithDeviceUdid(Aws::String &&value)
void SetInteractionMode(InteractionMode &&value)
RemoteAccessSession & WithDeviceUdid(const Aws::String &value)
RemoteAccessSession & WithStopped(Aws::Utils::DateTime &&value)
RemoteAccessSession & WithInteractionMode(const InteractionMode &value)
RemoteAccessSession & WithRemoteDebugEnabled(bool value)
RemoteAccessSession & WithArn(const Aws::String &value)
RemoteAccessSession & WithVpcConfig(const VpcConfig &value)
RemoteAccessSession & WithDeviceMinutes(const DeviceMinutes &value)
void SetStarted(Aws::Utils::DateTime &&value)
RemoteAccessSession & WithInstanceArn(Aws::String &&value)
const ExecutionStatus & GetStatus() const
RemoteAccessSession & WithEndpoint(Aws::String &&value)
RemoteAccessSession & WithStarted(const Aws::Utils::DateTime &value)
RemoteAccessSession & WithMessage(const Aws::String &value)
void SetCreated(const Aws::Utils::DateTime &value)
RemoteAccessSession & WithRemoteRecordAppArn(const Aws::String &value)
RemoteAccessSession & WithRemoteRecordEnabled(bool value)
void SetStatus(const ExecutionStatus &value)
void SetInstanceArn(const Aws::String &value)
RemoteAccessSession & WithDevice(const Device &value)
RemoteAccessSession & WithStatus(ExecutionStatus &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreated(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue