AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRemoteAccessSessionRequest.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/CreateRemoteAccessSessionConfiguration.h>
11#include <aws/devicefarm/model/InteractionMode.h>
12#include <utility>
13
14namespace Aws
15{
16namespace DeviceFarm
17{
18namespace Model
19{
20
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateRemoteAccessSession"; }
37
38 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
39
41
42
44
48 inline const Aws::String& GetProjectArn() const{ return m_projectArn; }
49 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
50 inline void SetProjectArn(const Aws::String& value) { m_projectArnHasBeenSet = true; m_projectArn = value; }
51 inline void SetProjectArn(Aws::String&& value) { m_projectArnHasBeenSet = true; m_projectArn = std::move(value); }
52 inline void SetProjectArn(const char* value) { m_projectArnHasBeenSet = true; m_projectArn.assign(value); }
53 inline CreateRemoteAccessSessionRequest& WithProjectArn(const Aws::String& value) { SetProjectArn(value); return *this;}
54 inline CreateRemoteAccessSessionRequest& WithProjectArn(Aws::String&& value) { SetProjectArn(std::move(value)); return *this;}
55 inline CreateRemoteAccessSessionRequest& WithProjectArn(const char* value) { SetProjectArn(value); return *this;}
57
59
63 inline const Aws::String& GetDeviceArn() const{ return m_deviceArn; }
64 inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
65 inline void SetDeviceArn(const Aws::String& value) { m_deviceArnHasBeenSet = true; m_deviceArn = value; }
66 inline void SetDeviceArn(Aws::String&& value) { m_deviceArnHasBeenSet = true; m_deviceArn = std::move(value); }
67 inline void SetDeviceArn(const char* value) { m_deviceArnHasBeenSet = true; m_deviceArn.assign(value); }
68 inline CreateRemoteAccessSessionRequest& WithDeviceArn(const Aws::String& value) { SetDeviceArn(value); return *this;}
69 inline CreateRemoteAccessSessionRequest& WithDeviceArn(Aws::String&& value) { SetDeviceArn(std::move(value)); return *this;}
70 inline CreateRemoteAccessSessionRequest& WithDeviceArn(const char* value) { SetDeviceArn(value); return *this;}
72
74
78 inline const Aws::String& GetInstanceArn() const{ return m_instanceArn; }
79 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
80 inline void SetInstanceArn(const Aws::String& value) { m_instanceArnHasBeenSet = true; m_instanceArn = value; }
81 inline void SetInstanceArn(Aws::String&& value) { m_instanceArnHasBeenSet = true; m_instanceArn = std::move(value); }
82 inline void SetInstanceArn(const char* value) { m_instanceArnHasBeenSet = true; m_instanceArn.assign(value); }
83 inline CreateRemoteAccessSessionRequest& WithInstanceArn(const Aws::String& value) { SetInstanceArn(value); return *this;}
84 inline CreateRemoteAccessSessionRequest& WithInstanceArn(Aws::String&& value) { SetInstanceArn(std::move(value)); return *this;}
85 inline CreateRemoteAccessSessionRequest& WithInstanceArn(const char* value) { SetInstanceArn(value); return *this;}
87
89
97 inline const Aws::String& GetSshPublicKey() const{ return m_sshPublicKey; }
98 inline bool SshPublicKeyHasBeenSet() const { return m_sshPublicKeyHasBeenSet; }
99 inline void SetSshPublicKey(const Aws::String& value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey = value; }
100 inline void SetSshPublicKey(Aws::String&& value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey = std::move(value); }
101 inline void SetSshPublicKey(const char* value) { m_sshPublicKeyHasBeenSet = true; m_sshPublicKey.assign(value); }
103 inline CreateRemoteAccessSessionRequest& WithSshPublicKey(Aws::String&& value) { SetSshPublicKey(std::move(value)); return *this;}
104 inline CreateRemoteAccessSessionRequest& WithSshPublicKey(const char* value) { SetSshPublicKey(value); return *this;}
106
108
114 inline bool GetRemoteDebugEnabled() const{ return m_remoteDebugEnabled; }
115 inline bool RemoteDebugEnabledHasBeenSet() const { return m_remoteDebugEnabledHasBeenSet; }
116 inline void SetRemoteDebugEnabled(bool value) { m_remoteDebugEnabledHasBeenSet = true; m_remoteDebugEnabled = value; }
119
121
125 inline bool GetRemoteRecordEnabled() const{ return m_remoteRecordEnabled; }
126 inline bool RemoteRecordEnabledHasBeenSet() const { return m_remoteRecordEnabledHasBeenSet; }
127 inline void SetRemoteRecordEnabled(bool value) { m_remoteRecordEnabledHasBeenSet = true; m_remoteRecordEnabled = value; }
130
132
136 inline const Aws::String& GetRemoteRecordAppArn() const{ return m_remoteRecordAppArn; }
137 inline bool RemoteRecordAppArnHasBeenSet() const { return m_remoteRecordAppArnHasBeenSet; }
138 inline void SetRemoteRecordAppArn(const Aws::String& value) { m_remoteRecordAppArnHasBeenSet = true; m_remoteRecordAppArn = value; }
139 inline void SetRemoteRecordAppArn(Aws::String&& value) { m_remoteRecordAppArnHasBeenSet = true; m_remoteRecordAppArn = std::move(value); }
140 inline void SetRemoteRecordAppArn(const char* value) { m_remoteRecordAppArnHasBeenSet = true; m_remoteRecordAppArn.assign(value); }
143 inline CreateRemoteAccessSessionRequest& WithRemoteRecordAppArn(const char* value) { SetRemoteRecordAppArn(value); return *this;}
145
147
150 inline const Aws::String& GetName() const{ return m_name; }
151 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
152 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
153 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
154 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
155 inline CreateRemoteAccessSessionRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
156 inline CreateRemoteAccessSessionRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
157 inline CreateRemoteAccessSessionRequest& WithName(const char* value) { SetName(value); return *this;}
159
161
170 inline const Aws::String& GetClientId() const{ return m_clientId; }
171 inline bool ClientIdHasBeenSet() const { return m_clientIdHasBeenSet; }
172 inline void SetClientId(const Aws::String& value) { m_clientIdHasBeenSet = true; m_clientId = value; }
173 inline void SetClientId(Aws::String&& value) { m_clientIdHasBeenSet = true; m_clientId = std::move(value); }
174 inline void SetClientId(const char* value) { m_clientIdHasBeenSet = true; m_clientId.assign(value); }
175 inline CreateRemoteAccessSessionRequest& WithClientId(const Aws::String& value) { SetClientId(value); return *this;}
176 inline CreateRemoteAccessSessionRequest& WithClientId(Aws::String&& value) { SetClientId(std::move(value)); return *this;}
177 inline CreateRemoteAccessSessionRequest& WithClientId(const char* value) { SetClientId(value); return *this;}
179
181
184 inline const CreateRemoteAccessSessionConfiguration& GetConfiguration() const{ return m_configuration; }
185 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
186 inline void SetConfiguration(const CreateRemoteAccessSessionConfiguration& value) { m_configurationHasBeenSet = true; m_configuration = value; }
187 inline void SetConfiguration(CreateRemoteAccessSessionConfiguration&& value) { m_configurationHasBeenSet = true; m_configuration = std::move(value); }
191
193
204 inline const InteractionMode& GetInteractionMode() const{ return m_interactionMode; }
205 inline bool InteractionModeHasBeenSet() const { return m_interactionModeHasBeenSet; }
206 inline void SetInteractionMode(const InteractionMode& value) { m_interactionModeHasBeenSet = true; m_interactionMode = value; }
207 inline void SetInteractionMode(InteractionMode&& value) { m_interactionModeHasBeenSet = true; m_interactionMode = std::move(value); }
211
213
220 inline bool GetSkipAppResign() const{ return m_skipAppResign; }
221 inline bool SkipAppResignHasBeenSet() const { return m_skipAppResignHasBeenSet; }
222 inline void SetSkipAppResign(bool value) { m_skipAppResignHasBeenSet = true; m_skipAppResign = value; }
223 inline CreateRemoteAccessSessionRequest& WithSkipAppResign(bool value) { SetSkipAppResign(value); return *this;}
225 private:
226
227 Aws::String m_projectArn;
228 bool m_projectArnHasBeenSet = false;
229
230 Aws::String m_deviceArn;
231 bool m_deviceArnHasBeenSet = false;
232
233 Aws::String m_instanceArn;
234 bool m_instanceArnHasBeenSet = false;
235
236 Aws::String m_sshPublicKey;
237 bool m_sshPublicKeyHasBeenSet = false;
238
239 bool m_remoteDebugEnabled;
240 bool m_remoteDebugEnabledHasBeenSet = false;
241
242 bool m_remoteRecordEnabled;
243 bool m_remoteRecordEnabledHasBeenSet = false;
244
245 Aws::String m_remoteRecordAppArn;
246 bool m_remoteRecordAppArnHasBeenSet = false;
247
248 Aws::String m_name;
249 bool m_nameHasBeenSet = false;
250
251 Aws::String m_clientId;
252 bool m_clientIdHasBeenSet = false;
253
255 bool m_configurationHasBeenSet = false;
256
257 InteractionMode m_interactionMode;
258 bool m_interactionModeHasBeenSet = false;
259
260 bool m_skipAppResign;
261 bool m_skipAppResignHasBeenSet = false;
262 };
263
264} // namespace Model
265} // namespace DeviceFarm
266} // namespace Aws
CreateRemoteAccessSessionRequest & WithRemoteRecordEnabled(bool value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateRemoteAccessSessionRequest & WithSshPublicKey(const Aws::String &value)
void SetConfiguration(CreateRemoteAccessSessionConfiguration &&value)
CreateRemoteAccessSessionRequest & WithClientId(Aws::String &&value)
void SetConfiguration(const CreateRemoteAccessSessionConfiguration &value)
CreateRemoteAccessSessionRequest & WithInstanceArn(const Aws::String &value)
CreateRemoteAccessSessionRequest & WithInstanceArn(Aws::String &&value)
CreateRemoteAccessSessionRequest & WithInstanceArn(const char *value)
CreateRemoteAccessSessionRequest & WithRemoteRecordAppArn(const Aws::String &value)
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
CreateRemoteAccessSessionRequest & WithProjectArn(const Aws::String &value)
CreateRemoteAccessSessionRequest & WithName(const char *value)
CreateRemoteAccessSessionRequest & WithInteractionMode(const InteractionMode &value)
CreateRemoteAccessSessionRequest & WithRemoteRecordAppArn(Aws::String &&value)
CreateRemoteAccessSessionRequest & WithInteractionMode(InteractionMode &&value)
CreateRemoteAccessSessionRequest & WithProjectArn(const char *value)
CreateRemoteAccessSessionRequest & WithDeviceArn(const char *value)
CreateRemoteAccessSessionRequest & WithName(const Aws::String &value)
CreateRemoteAccessSessionRequest & WithRemoteDebugEnabled(bool value)
CreateRemoteAccessSessionRequest & WithClientId(const char *value)
CreateRemoteAccessSessionRequest & WithDeviceArn(Aws::String &&value)
CreateRemoteAccessSessionRequest & WithClientId(const Aws::String &value)
CreateRemoteAccessSessionRequest & WithName(Aws::String &&value)
CreateRemoteAccessSessionRequest & WithDeviceArn(const Aws::String &value)
CreateRemoteAccessSessionRequest & WithSshPublicKey(Aws::String &&value)
CreateRemoteAccessSessionRequest & WithProjectArn(Aws::String &&value)
CreateRemoteAccessSessionRequest & WithConfiguration(CreateRemoteAccessSessionConfiguration &&value)
CreateRemoteAccessSessionRequest & WithConfiguration(const CreateRemoteAccessSessionConfiguration &value)
const CreateRemoteAccessSessionConfiguration & GetConfiguration() const
CreateRemoteAccessSessionRequest & WithSshPublicKey(const char *value)
CreateRemoteAccessSessionRequest & WithRemoteRecordAppArn(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String