AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
CreateRemoteAccessSessionConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
10#include <aws/devicefarm/model/BillingMethod.h>
11#include <aws/devicefarm/model/DeviceProxy.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DeviceFarm {
23namespace Model {
24
32 public:
33 AWS_DEVICEFARM_API CreateRemoteAccessSessionConfiguration() = default;
36 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
43 inline const Aws::Vector<Aws::String>& GetAuxiliaryApps() const { return m_auxiliaryApps; }
44 inline bool AuxiliaryAppsHasBeenSet() const { return m_auxiliaryAppsHasBeenSet; }
45 template <typename AuxiliaryAppsT = Aws::Vector<Aws::String>>
46 void SetAuxiliaryApps(AuxiliaryAppsT&& value) {
47 m_auxiliaryAppsHasBeenSet = true;
48 m_auxiliaryApps = std::forward<AuxiliaryAppsT>(value);
49 }
50 template <typename AuxiliaryAppsT = Aws::Vector<Aws::String>>
52 SetAuxiliaryApps(std::forward<AuxiliaryAppsT>(value));
53 return *this;
54 }
55 template <typename AuxiliaryAppsT = Aws::String>
57 m_auxiliaryAppsHasBeenSet = true;
58 m_auxiliaryApps.emplace_back(std::forward<AuxiliaryAppsT>(value));
59 return *this;
60 }
62
64
67 inline BillingMethod GetBillingMethod() const { return m_billingMethod; }
68 inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
69 inline void SetBillingMethod(BillingMethod value) {
70 m_billingMethodHasBeenSet = true;
71 m_billingMethod = value;
72 }
74 SetBillingMethod(value);
75 return *this;
76 }
78
80
83 inline const Aws::Vector<Aws::String>& GetVpceConfigurationArns() const { return m_vpceConfigurationArns; }
84 inline bool VpceConfigurationArnsHasBeenSet() const { return m_vpceConfigurationArnsHasBeenSet; }
85 template <typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
86 void SetVpceConfigurationArns(VpceConfigurationArnsT&& value) {
87 m_vpceConfigurationArnsHasBeenSet = true;
88 m_vpceConfigurationArns = std::forward<VpceConfigurationArnsT>(value);
89 }
90 template <typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
92 SetVpceConfigurationArns(std::forward<VpceConfigurationArnsT>(value));
93 return *this;
94 }
95 template <typename VpceConfigurationArnsT = Aws::String>
97 m_vpceConfigurationArnsHasBeenSet = true;
98 m_vpceConfigurationArns.emplace_back(std::forward<VpceConfigurationArnsT>(value));
99 return *this;
100 }
102
104
108 inline const DeviceProxy& GetDeviceProxy() const { return m_deviceProxy; }
109 inline bool DeviceProxyHasBeenSet() const { return m_deviceProxyHasBeenSet; }
110 template <typename DeviceProxyT = DeviceProxy>
111 void SetDeviceProxy(DeviceProxyT&& value) {
112 m_deviceProxyHasBeenSet = true;
113 m_deviceProxy = std::forward<DeviceProxyT>(value);
114 }
115 template <typename DeviceProxyT = DeviceProxy>
117 SetDeviceProxy(std::forward<DeviceProxyT>(value));
118 return *this;
119 }
121 private:
122 Aws::Vector<Aws::String> m_auxiliaryApps;
123
124 BillingMethod m_billingMethod{BillingMethod::NOT_SET};
125
126 Aws::Vector<Aws::String> m_vpceConfigurationArns;
127
128 DeviceProxy m_deviceProxy;
129 bool m_auxiliaryAppsHasBeenSet = false;
130 bool m_billingMethodHasBeenSet = false;
131 bool m_vpceConfigurationArnsHasBeenSet = false;
132 bool m_deviceProxyHasBeenSet = false;
133};
134
135} // namespace Model
136} // namespace DeviceFarm
137} // namespace Aws
CreateRemoteAccessSessionConfiguration & AddVpceConfigurationArns(VpceConfigurationArnsT &&value)
CreateRemoteAccessSessionConfiguration & WithDeviceProxy(DeviceProxyT &&value)
CreateRemoteAccessSessionConfiguration & WithBillingMethod(BillingMethod value)
CreateRemoteAccessSessionConfiguration & AddAuxiliaryApps(AuxiliaryAppsT &&value)
CreateRemoteAccessSessionConfiguration & WithVpceConfigurationArns(VpceConfigurationArnsT &&value)
AWS_DEVICEFARM_API CreateRemoteAccessSessionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API CreateRemoteAccessSessionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
CreateRemoteAccessSessionConfiguration & WithAuxiliaryApps(AuxiliaryAppsT &&value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue