/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include A network settings resource that can be associated with a web portal. Once
* associated with a web portal, network settings define how streaming instances
* will connect with your specified VPC. See Also:
AWS
* API Reference
A list of web portal ARNs that this network settings is associated with.
*/ inline const Aws::VectorA list of web portal ARNs that this network settings is associated with.
*/ inline bool AssociatedPortalArnsHasBeenSet() const { return m_associatedPortalArnsHasBeenSet; } /** *A list of web portal ARNs that this network settings is associated with.
*/ inline void SetAssociatedPortalArns(const Aws::VectorA list of web portal ARNs that this network settings is associated with.
*/ inline void SetAssociatedPortalArns(Aws::VectorA list of web portal ARNs that this network settings is associated with.
*/ inline NetworkSettings& WithAssociatedPortalArns(const Aws::VectorA list of web portal ARNs that this network settings is associated with.
*/ inline NetworkSettings& WithAssociatedPortalArns(Aws::VectorA list of web portal ARNs that this network settings is associated with.
*/ inline NetworkSettings& AddAssociatedPortalArns(const Aws::String& value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns.push_back(value); return *this; } /** *A list of web portal ARNs that this network settings is associated with.
*/ inline NetworkSettings& AddAssociatedPortalArns(Aws::String&& value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns.push_back(std::move(value)); return *this; } /** *A list of web portal ARNs that this network settings is associated with.
*/ inline NetworkSettings& AddAssociatedPortalArns(const char* value) { m_associatedPortalArnsHasBeenSet = true; m_associatedPortalArns.push_back(value); return *this; } /** *The ARN of the network settings.
*/ inline const Aws::String& GetNetworkSettingsArn() const{ return m_networkSettingsArn; } /** *The ARN of the network settings.
*/ inline bool NetworkSettingsArnHasBeenSet() const { return m_networkSettingsArnHasBeenSet; } /** *The ARN of the network settings.
*/ inline void SetNetworkSettingsArn(const Aws::String& value) { m_networkSettingsArnHasBeenSet = true; m_networkSettingsArn = value; } /** *The ARN of the network settings.
*/ inline void SetNetworkSettingsArn(Aws::String&& value) { m_networkSettingsArnHasBeenSet = true; m_networkSettingsArn = std::move(value); } /** *The ARN of the network settings.
*/ inline void SetNetworkSettingsArn(const char* value) { m_networkSettingsArnHasBeenSet = true; m_networkSettingsArn.assign(value); } /** *The ARN of the network settings.
*/ inline NetworkSettings& WithNetworkSettingsArn(const Aws::String& value) { SetNetworkSettingsArn(value); return *this;} /** *The ARN of the network settings.
*/ inline NetworkSettings& WithNetworkSettingsArn(Aws::String&& value) { SetNetworkSettingsArn(std::move(value)); return *this;} /** *The ARN of the network settings.
*/ inline NetworkSettings& WithNetworkSettingsArn(const char* value) { SetNetworkSettingsArn(value); return *this;} /** *One or more security groups used to control access from streaming instances * to your VPC.
*/ inline const Aws::VectorOne or more security groups used to control access from streaming instances * to your VPC.
*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *One or more security groups used to control access from streaming instances * to your VPC.
*/ inline void SetSecurityGroupIds(const Aws::VectorOne or more security groups used to control access from streaming instances * to your VPC.
*/ inline void SetSecurityGroupIds(Aws::VectorOne or more security groups used to control access from streaming instances * to your VPC.
*/ inline NetworkSettings& WithSecurityGroupIds(const Aws::VectorOne or more security groups used to control access from streaming instances * to your VPC.
*/ inline NetworkSettings& WithSecurityGroupIds(Aws::VectorOne or more security groups used to control access from streaming instances * to your VPC.
*/ inline NetworkSettings& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *One or more security groups used to control access from streaming instances * to your VPC.
*/ inline NetworkSettings& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *One or more security groups used to control access from streaming instances * to your VPC.
*/ inline NetworkSettings& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *The subnets in which network interfaces are created to connect streaming * instances to your VPC. At least two of these subnets must be in different * availability zones.
*/ inline const Aws::VectorThe subnets in which network interfaces are created to connect streaming * instances to your VPC. At least two of these subnets must be in different * availability zones.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *The subnets in which network interfaces are created to connect streaming * instances to your VPC. At least two of these subnets must be in different * availability zones.
*/ inline void SetSubnetIds(const Aws::VectorThe subnets in which network interfaces are created to connect streaming * instances to your VPC. At least two of these subnets must be in different * availability zones.
*/ inline void SetSubnetIds(Aws::VectorThe subnets in which network interfaces are created to connect streaming * instances to your VPC. At least two of these subnets must be in different * availability zones.
*/ inline NetworkSettings& WithSubnetIds(const Aws::VectorThe subnets in which network interfaces are created to connect streaming * instances to your VPC. At least two of these subnets must be in different * availability zones.
*/ inline NetworkSettings& WithSubnetIds(Aws::VectorThe subnets in which network interfaces are created to connect streaming * instances to your VPC. At least two of these subnets must be in different * availability zones.
*/ inline NetworkSettings& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The subnets in which network interfaces are created to connect streaming * instances to your VPC. At least two of these subnets must be in different * availability zones.
*/ inline NetworkSettings& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *The subnets in which network interfaces are created to connect streaming * instances to your VPC. At least two of these subnets must be in different * availability zones.
*/ inline NetworkSettings& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *The VPC that streaming instances will connect to.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The VPC that streaming instances will connect to.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The VPC that streaming instances will connect to.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The VPC that streaming instances will connect to.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The VPC that streaming instances will connect to.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The VPC that streaming instances will connect to.
*/ inline NetworkSettings& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The VPC that streaming instances will connect to.
*/ inline NetworkSettings& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The VPC that streaming instances will connect to.
*/ inline NetworkSettings& WithVpcId(const char* value) { SetVpcId(value); return *this;} private: Aws::Vector