AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
CreateRemoteAccessSessionRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/devicefarm/DeviceFarmRequest.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/CreateRemoteAccessSessionConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace DeviceFarm {
16namespace Model {
17
25 public:
26 AWS_DEVICEFARM_API CreateRemoteAccessSessionRequest() = default;
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "CreateRemoteAccessSession"; }
33
34 AWS_DEVICEFARM_API Aws::String SerializePayload() const override;
35
37
39
43 inline const Aws::String& GetProjectArn() const { return m_projectArn; }
44 inline bool ProjectArnHasBeenSet() const { return m_projectArnHasBeenSet; }
45 template <typename ProjectArnT = Aws::String>
46 void SetProjectArn(ProjectArnT&& value) {
47 m_projectArnHasBeenSet = true;
48 m_projectArn = std::forward<ProjectArnT>(value);
49 }
50 template <typename ProjectArnT = Aws::String>
52 SetProjectArn(std::forward<ProjectArnT>(value));
53 return *this;
54 }
56
58
62 inline const Aws::String& GetDeviceArn() const { return m_deviceArn; }
63 inline bool DeviceArnHasBeenSet() const { return m_deviceArnHasBeenSet; }
64 template <typename DeviceArnT = Aws::String>
65 void SetDeviceArn(DeviceArnT&& value) {
66 m_deviceArnHasBeenSet = true;
67 m_deviceArn = std::forward<DeviceArnT>(value);
68 }
69 template <typename DeviceArnT = Aws::String>
71 SetDeviceArn(std::forward<DeviceArnT>(value));
72 return *this;
73 }
75
77
81 inline const Aws::String& GetAppArn() const { return m_appArn; }
82 inline bool AppArnHasBeenSet() const { return m_appArnHasBeenSet; }
83 template <typename AppArnT = Aws::String>
84 void SetAppArn(AppArnT&& value) {
85 m_appArnHasBeenSet = true;
86 m_appArn = std::forward<AppArnT>(value);
87 }
88 template <typename AppArnT = Aws::String>
90 SetAppArn(std::forward<AppArnT>(value));
91 return *this;
92 }
94
96
100 inline const Aws::String& GetInstanceArn() const { return m_instanceArn; }
101 inline bool InstanceArnHasBeenSet() const { return m_instanceArnHasBeenSet; }
102 template <typename InstanceArnT = Aws::String>
103 void SetInstanceArn(InstanceArnT&& value) {
104 m_instanceArnHasBeenSet = true;
105 m_instanceArn = std::forward<InstanceArnT>(value);
106 }
107 template <typename InstanceArnT = Aws::String>
109 SetInstanceArn(std::forward<InstanceArnT>(value));
110 return *this;
111 }
113
115
118 inline const Aws::String& GetName() const { return m_name; }
119 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
120 template <typename NameT = Aws::String>
121 void SetName(NameT&& value) {
122 m_nameHasBeenSet = true;
123 m_name = std::forward<NameT>(value);
124 }
125 template <typename NameT = Aws::String>
127 SetName(std::forward<NameT>(value));
128 return *this;
129 }
131
133
136 inline const CreateRemoteAccessSessionConfiguration& GetConfiguration() const { return m_configuration; }
137 inline bool ConfigurationHasBeenSet() const { return m_configurationHasBeenSet; }
138 template <typename ConfigurationT = CreateRemoteAccessSessionConfiguration>
139 void SetConfiguration(ConfigurationT&& value) {
140 m_configurationHasBeenSet = true;
141 m_configuration = std::forward<ConfigurationT>(value);
142 }
143 template <typename ConfigurationT = CreateRemoteAccessSessionConfiguration>
145 SetConfiguration(std::forward<ConfigurationT>(value));
146 return *this;
147 }
149
151
158 inline bool GetSkipAppResign() const { return m_skipAppResign; }
159 inline bool SkipAppResignHasBeenSet() const { return m_skipAppResignHasBeenSet; }
160 inline void SetSkipAppResign(bool value) {
161 m_skipAppResignHasBeenSet = true;
162 m_skipAppResign = value;
163 }
165 SetSkipAppResign(value);
166 return *this;
167 }
169 private:
170 Aws::String m_projectArn;
171
172 Aws::String m_deviceArn;
173
174 Aws::String m_appArn;
175
176 Aws::String m_instanceArn;
177
178 Aws::String m_name;
179
181
182 bool m_skipAppResign{false};
183 bool m_projectArnHasBeenSet = false;
184 bool m_deviceArnHasBeenSet = false;
185 bool m_appArnHasBeenSet = false;
186 bool m_instanceArnHasBeenSet = false;
187 bool m_nameHasBeenSet = false;
188 bool m_configurationHasBeenSet = false;
189 bool m_skipAppResignHasBeenSet = false;
190};
191
192} // namespace Model
193} // namespace DeviceFarm
194} // namespace Aws
CreateRemoteAccessSessionRequest & WithDeviceArn(DeviceArnT &&value)
AWS_DEVICEFARM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_DEVICEFARM_API CreateRemoteAccessSessionRequest()=default
AWS_DEVICEFARM_API Aws::String SerializePayload() const override
CreateRemoteAccessSessionRequest & WithConfiguration(ConfigurationT &&value)
CreateRemoteAccessSessionRequest & WithInstanceArn(InstanceArnT &&value)
CreateRemoteAccessSessionRequest & WithAppArn(AppArnT &&value)
const CreateRemoteAccessSessionConfiguration & GetConfiguration() const
CreateRemoteAccessSessionRequest & WithProjectArn(ProjectArnT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String