AWS SDK for C++

AWS SDK for C++ Version 1.11.875

Loading...
Searching...
No Matches
CreateRemoteAccessSessionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
11#include <aws/devicefarm/model/BillingMethod.h>
12#include <aws/devicefarm/model/DeviceProxy.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DeviceFarm {
24namespace Model {
25
33 public:
34 AWS_DEVICEFARM_API CreateRemoteAccessSessionConfiguration() = default;
37 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
44 inline const Aws::Vector<Aws::String>& GetAuxiliaryApps() const { return m_auxiliaryApps; }
45 inline bool AuxiliaryAppsHasBeenSet() const { return m_auxiliaryAppsHasBeenSet; }
46 template <typename AuxiliaryAppsT = Aws::Vector<Aws::String>>
47 void SetAuxiliaryApps(AuxiliaryAppsT&& value) {
48 m_auxiliaryAppsHasBeenSet = true;
49 m_auxiliaryApps = std::forward<AuxiliaryAppsT>(value);
50 }
51 template <typename AuxiliaryAppsT = Aws::Vector<Aws::String>>
53 SetAuxiliaryApps(std::forward<AuxiliaryAppsT>(value));
54 return *this;
55 }
56 template <typename AuxiliaryAppsT = Aws::String>
58 m_auxiliaryAppsHasBeenSet = true;
59 m_auxiliaryApps.emplace_back(std::forward<AuxiliaryAppsT>(value));
60 return *this;
61 }
63
65
68 inline BillingMethod GetBillingMethod() const { return m_billingMethod; }
69 inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
70 inline void SetBillingMethod(BillingMethod value) {
71 m_billingMethodHasBeenSet = true;
72 m_billingMethod = value;
73 }
75 SetBillingMethod(value);
76 return *this;
77 }
79
81
84 inline const Aws::Vector<Aws::String>& GetVpceConfigurationArns() const { return m_vpceConfigurationArns; }
85 inline bool VpceConfigurationArnsHasBeenSet() const { return m_vpceConfigurationArnsHasBeenSet; }
86 template <typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
87 void SetVpceConfigurationArns(VpceConfigurationArnsT&& value) {
88 m_vpceConfigurationArnsHasBeenSet = true;
89 m_vpceConfigurationArns = std::forward<VpceConfigurationArnsT>(value);
90 }
91 template <typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
93 SetVpceConfigurationArns(std::forward<VpceConfigurationArnsT>(value));
94 return *this;
95 }
96 template <typename VpceConfigurationArnsT = Aws::String>
98 m_vpceConfigurationArnsHasBeenSet = true;
99 m_vpceConfigurationArns.emplace_back(std::forward<VpceConfigurationArnsT>(value));
100 return *this;
101 }
103
105
109 inline const DeviceProxy& GetDeviceProxy() const { return m_deviceProxy; }
110 inline bool DeviceProxyHasBeenSet() const { return m_deviceProxyHasBeenSet; }
111 template <typename DeviceProxyT = DeviceProxy>
112 void SetDeviceProxy(DeviceProxyT&& value) {
113 m_deviceProxyHasBeenSet = true;
114 m_deviceProxy = std::forward<DeviceProxyT>(value);
115 }
116 template <typename DeviceProxyT = DeviceProxy>
118 SetDeviceProxy(std::forward<DeviceProxyT>(value));
119 return *this;
120 }
122
124
131 inline const Aws::Map<Aws::String, Aws::String>& GetParameters() const { return m_parameters; }
132 inline bool ParametersHasBeenSet() const { return m_parametersHasBeenSet; }
133 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
134 void SetParameters(ParametersT&& value) {
135 m_parametersHasBeenSet = true;
136 m_parameters = std::forward<ParametersT>(value);
137 }
138 template <typename ParametersT = Aws::Map<Aws::String, Aws::String>>
140 SetParameters(std::forward<ParametersT>(value));
141 return *this;
142 }
143 template <typename ParametersKeyT = Aws::String, typename ParametersValueT = Aws::String>
144 CreateRemoteAccessSessionConfiguration& AddParameters(ParametersKeyT&& key, ParametersValueT&& value) {
145 m_parametersHasBeenSet = true;
146 m_parameters.emplace(std::forward<ParametersKeyT>(key), std::forward<ParametersValueT>(value));
147 return *this;
148 }
150 private:
151 Aws::Vector<Aws::String> m_auxiliaryApps;
152
153 BillingMethod m_billingMethod{BillingMethod::NOT_SET};
154
155 Aws::Vector<Aws::String> m_vpceConfigurationArns;
156
157 DeviceProxy m_deviceProxy;
158
160 bool m_auxiliaryAppsHasBeenSet = false;
161 bool m_billingMethodHasBeenSet = false;
162 bool m_vpceConfigurationArnsHasBeenSet = false;
163 bool m_deviceProxyHasBeenSet = false;
164 bool m_parametersHasBeenSet = false;
165};
166
167} // namespace Model
168} // namespace DeviceFarm
169} // namespace Aws
CreateRemoteAccessSessionConfiguration & AddVpceConfigurationArns(VpceConfigurationArnsT &&value)
CreateRemoteAccessSessionConfiguration & WithDeviceProxy(DeviceProxyT &&value)
CreateRemoteAccessSessionConfiguration & AddParameters(ParametersKeyT &&key, ParametersValueT &&value)
CreateRemoteAccessSessionConfiguration & WithBillingMethod(BillingMethod value)
CreateRemoteAccessSessionConfiguration & AddAuxiliaryApps(AuxiliaryAppsT &&value)
CreateRemoteAccessSessionConfiguration & WithVpceConfigurationArns(VpceConfigurationArnsT &&value)
AWS_DEVICEFARM_API CreateRemoteAccessSessionConfiguration(Aws::Utils::Json::JsonView jsonValue)
CreateRemoteAccessSessionConfiguration & WithParameters(ParametersT &&value)
AWS_DEVICEFARM_API CreateRemoteAccessSessionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateRemoteAccessSessionConfiguration & WithAuxiliaryApps(AuxiliaryAppsT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue