/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace DeviceFarm { namespace Model { /** *

Configuration settings for a remote access session, including billing * method.

See Also:

AWS * API Reference

*/ class CreateRemoteAccessSessionConfiguration { public: AWS_DEVICEFARM_API CreateRemoteAccessSessionConfiguration(); 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; /** *

The billing method for the remote access session.

*/ inline const BillingMethod& GetBillingMethod() const{ return m_billingMethod; } /** *

The billing method for the remote access session.

*/ inline bool BillingMethodHasBeenSet() const { return m_billingMethodHasBeenSet; } /** *

The billing method for the remote access session.

*/ inline void SetBillingMethod(const BillingMethod& value) { m_billingMethodHasBeenSet = true; m_billingMethod = value; } /** *

The billing method for the remote access session.

*/ inline void SetBillingMethod(BillingMethod&& value) { m_billingMethodHasBeenSet = true; m_billingMethod = std::move(value); } /** *

The billing method for the remote access session.

*/ inline CreateRemoteAccessSessionConfiguration& WithBillingMethod(const BillingMethod& value) { SetBillingMethod(value); return *this;} /** *

The billing method for the remote access session.

*/ inline CreateRemoteAccessSessionConfiguration& WithBillingMethod(BillingMethod&& value) { SetBillingMethod(std::move(value)); return *this;} /** *

An array of ARNs included in the VPC endpoint configuration.

*/ inline const Aws::Vector& GetVpceConfigurationArns() const{ return m_vpceConfigurationArns; } /** *

An array of ARNs included in the VPC endpoint configuration.

*/ inline bool VpceConfigurationArnsHasBeenSet() const { return m_vpceConfigurationArnsHasBeenSet; } /** *

An array of ARNs included in the VPC endpoint configuration.

*/ inline void SetVpceConfigurationArns(const Aws::Vector& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns = value; } /** *

An array of ARNs included in the VPC endpoint configuration.

*/ inline void SetVpceConfigurationArns(Aws::Vector&& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns = std::move(value); } /** *

An array of ARNs included in the VPC endpoint configuration.

*/ inline CreateRemoteAccessSessionConfiguration& WithVpceConfigurationArns(const Aws::Vector& value) { SetVpceConfigurationArns(value); return *this;} /** *

An array of ARNs included in the VPC endpoint configuration.

*/ inline CreateRemoteAccessSessionConfiguration& WithVpceConfigurationArns(Aws::Vector&& value) { SetVpceConfigurationArns(std::move(value)); return *this;} /** *

An array of ARNs included in the VPC endpoint configuration.

*/ inline CreateRemoteAccessSessionConfiguration& AddVpceConfigurationArns(const Aws::String& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.push_back(value); return *this; } /** *

An array of ARNs included in the VPC endpoint configuration.

*/ inline CreateRemoteAccessSessionConfiguration& AddVpceConfigurationArns(Aws::String&& value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.push_back(std::move(value)); return *this; } /** *

An array of ARNs included in the VPC endpoint configuration.

*/ inline CreateRemoteAccessSessionConfiguration& AddVpceConfigurationArns(const char* value) { m_vpceConfigurationArnsHasBeenSet = true; m_vpceConfigurationArns.push_back(value); return *this; } private: BillingMethod m_billingMethod; bool m_billingMethodHasBeenSet = false; Aws::Vector m_vpceConfigurationArns; bool m_vpceConfigurationArnsHasBeenSet = false; }; } // namespace Model } // namespace DeviceFarm } // namespace Aws