AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateRemoteAccessSessionConfiguration.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/model/BillingMethod.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devicefarm/model/DeviceProxy.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace DeviceFarm
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_DEVICEFARM_API CreateRemoteAccessSessionConfiguration() = default;
41 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline BillingMethod GetBillingMethod() const { return m_billingMethod; }
49 inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; }
50 inline void SetBillingMethod(BillingMethod value) { m_billingMethodHasBeenSet = true; m_billingMethod = value; }
53
55
58 inline const Aws::Vector<Aws::String>& GetVpceConfigurationArns() const { return m_vpceConfigurationArns; }
59 inline bool VpceConfigurationArnsHasBeenSet() const { return m_vpceConfigurationArnsHasBeenSet; }
60 template<typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
61 void SetVpceConfigurationArns(VpceConfigurationArnsT&& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns = std::forward<VpceConfigurationArnsT>(value); }
62 template<typename VpceConfigurationArnsT = Aws::Vector<Aws::String>>
63 CreateRemoteAccessSessionConfiguration& WithVpceConfigurationArns(VpceConfigurationArnsT&& value) { SetVpceConfigurationArns(std::forward<VpceConfigurationArnsT>(value)); return *this;}
64 template<typename VpceConfigurationArnsT = Aws::String>
65 CreateRemoteAccessSessionConfiguration& AddVpceConfigurationArns(VpceConfigurationArnsT&& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.emplace_back(std::forward<VpceConfigurationArnsT>(value)); return *this; }
67
69
73 inline const DeviceProxy& GetDeviceProxy() const { return m_deviceProxy; }
74 inline bool DeviceProxyHasBeenSet() const { return m_deviceProxyHasBeenSet; }
75 template<typename DeviceProxyT = DeviceProxy>
76 void SetDeviceProxy(DeviceProxyT&& value) { m_deviceProxyHasBeenSet = true; m_deviceProxy = std::forward<DeviceProxyT>(value); }
77 template<typename DeviceProxyT = DeviceProxy>
78 CreateRemoteAccessSessionConfiguration& WithDeviceProxy(DeviceProxyT&& value) { SetDeviceProxy(std::forward<DeviceProxyT>(value)); return *this;}
80 private:
81
83 bool m_billingMethodHasBeenSet = false;
84
85 Aws::Vector<Aws::String> m_vpceConfigurationArns;
86 bool m_vpceConfigurationArnsHasBeenSet = false;
87
88 DeviceProxy m_deviceProxy;
89 bool m_deviceProxyHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace DeviceFarm
94} // namespace Aws
CreateRemoteAccessSessionConfiguration & AddVpceConfigurationArns(VpceConfigurationArnsT &&value)
CreateRemoteAccessSessionConfiguration & WithDeviceProxy(DeviceProxyT &&value)
CreateRemoteAccessSessionConfiguration & WithBillingMethod(BillingMethod value)
CreateRemoteAccessSessionConfiguration & WithVpceConfigurationArns(VpceConfigurationArnsT &&value)
AWS_DEVICEFARM_API CreateRemoteAccessSessionConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API CreateRemoteAccessSessionConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue