7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/workspaces-web/WorkSpacesWeb_EXPORTS.h>
20namespace WorkSpacesWeb {
43 template <
typename NetworkSettingsArnT = Aws::String>
45 m_networkSettingsArnHasBeenSet =
true;
46 m_networkSettingsArn = std::forward<NetworkSettingsArnT>(value);
48 template <
typename NetworkSettingsArnT = Aws::String>
61 template <
typename AssociatedPortalArnsT = Aws::Vector<Aws::String>>
63 m_associatedPortalArnsHasBeenSet =
true;
64 m_associatedPortalArns = std::forward<AssociatedPortalArnsT>(value);
66 template <
typename AssociatedPortalArnsT = Aws::Vector<Aws::String>>
71 template <
typename AssociatedPortalArnsT = Aws::String>
73 m_associatedPortalArnsHasBeenSet =
true;
74 m_associatedPortalArns.emplace_back(std::forward<AssociatedPortalArnsT>(value));
85 template <
typename VpcIdT = Aws::String>
87 m_vpcIdHasBeenSet =
true;
88 m_vpcId = std::forward<VpcIdT>(value);
90 template <
typename VpcIdT = Aws::String>
92 SetVpcId(std::forward<VpcIdT>(value));
105 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
107 m_subnetIdsHasBeenSet =
true;
108 m_subnetIds = std::forward<SubnetIdsT>(value);
110 template <
typename SubnetIdsT = Aws::Vector<Aws::String>>
115 template <
typename SubnetIdsT = Aws::String>
117 m_subnetIdsHasBeenSet =
true;
118 m_subnetIds.emplace_back(std::forward<SubnetIdsT>(value));
130 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
132 m_securityGroupIdsHasBeenSet =
true;
133 m_securityGroupIds = std::forward<SecurityGroupIdsT>(value);
135 template <
typename SecurityGroupIdsT = Aws::Vector<Aws::String>>
140 template <
typename SecurityGroupIdsT = Aws::String>
142 m_securityGroupIdsHasBeenSet =
true;
143 m_securityGroupIds.emplace_back(std::forward<SecurityGroupIdsT>(value));
157 bool m_networkSettingsArnHasBeenSet =
false;
158 bool m_associatedPortalArnsHasBeenSet =
false;
159 bool m_vpcIdHasBeenSet =
false;
160 bool m_subnetIdsHasBeenSet =
false;
161 bool m_securityGroupIdsHasBeenSet =
false;
NetworkSettings & WithVpcId(VpcIdT &&value)
void SetSubnetIds(SubnetIdsT &&value)
AWS_WORKSPACESWEB_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetVpcId() const
AWS_WORKSPACESWEB_API NetworkSettings(Aws::Utils::Json::JsonView jsonValue)
NetworkSettings & WithAssociatedPortalArns(AssociatedPortalArnsT &&value)
AWS_WORKSPACESWEB_API NetworkSettings()=default
bool AssociatedPortalArnsHasBeenSet() const
void SetSecurityGroupIds(SecurityGroupIdsT &&value)
bool VpcIdHasBeenSet() const
NetworkSettings & AddSecurityGroupIds(SecurityGroupIdsT &&value)
bool NetworkSettingsArnHasBeenSet() const
NetworkSettings & WithSubnetIds(SubnetIdsT &&value)
void SetVpcId(VpcIdT &&value)
const Aws::String & GetNetworkSettingsArn() const
NetworkSettings & WithNetworkSettingsArn(NetworkSettingsArnT &&value)
const Aws::Vector< Aws::String > & GetSubnetIds() const
NetworkSettings & WithSecurityGroupIds(SecurityGroupIdsT &&value)
void SetNetworkSettingsArn(NetworkSettingsArnT &&value)
bool SubnetIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetSecurityGroupIds() const
bool SecurityGroupIdsHasBeenSet() const
const Aws::Vector< Aws::String > & GetAssociatedPortalArns() const
AWS_WORKSPACESWEB_API NetworkSettings & operator=(Aws::Utils::Json::JsonView jsonValue)
NetworkSettings & AddSubnetIds(SubnetIdsT &&value)
void SetAssociatedPortalArns(AssociatedPortalArnsT &&value)
NetworkSettings & AddAssociatedPortalArns(AssociatedPortalArnsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue