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

The registered identity provider’s product related configuration settings * such as the subnets to provision VPC endpoints, and the security group ID that * is associated with the VPC endpoints. The security group should permit inbound * TCP port 1688 communication from resources in the VPC.

See Also:

* AWS * API Reference

*/ class Settings { public: AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Settings(); AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Settings(Aws::Utils::Json::JsonView jsonValue); AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Settings& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LICENSEMANAGERUSERSUBSCRIPTIONS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A security group ID that allows inbound TCP port 1688 communication between * resources in your VPC and the VPC endpoint for activation servers.

*/ inline const Aws::String& GetSecurityGroupId() const{ return m_securityGroupId; } /** *

A security group ID that allows inbound TCP port 1688 communication between * resources in your VPC and the VPC endpoint for activation servers.

*/ inline bool SecurityGroupIdHasBeenSet() const { return m_securityGroupIdHasBeenSet; } /** *

A security group ID that allows inbound TCP port 1688 communication between * resources in your VPC and the VPC endpoint for activation servers.

*/ inline void SetSecurityGroupId(const Aws::String& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = value; } /** *

A security group ID that allows inbound TCP port 1688 communication between * resources in your VPC and the VPC endpoint for activation servers.

*/ inline void SetSecurityGroupId(Aws::String&& value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId = std::move(value); } /** *

A security group ID that allows inbound TCP port 1688 communication between * resources in your VPC and the VPC endpoint for activation servers.

*/ inline void SetSecurityGroupId(const char* value) { m_securityGroupIdHasBeenSet = true; m_securityGroupId.assign(value); } /** *

A security group ID that allows inbound TCP port 1688 communication between * resources in your VPC and the VPC endpoint for activation servers.

*/ inline Settings& WithSecurityGroupId(const Aws::String& value) { SetSecurityGroupId(value); return *this;} /** *

A security group ID that allows inbound TCP port 1688 communication between * resources in your VPC and the VPC endpoint for activation servers.

*/ inline Settings& WithSecurityGroupId(Aws::String&& value) { SetSecurityGroupId(std::move(value)); return *this;} /** *

A security group ID that allows inbound TCP port 1688 communication between * resources in your VPC and the VPC endpoint for activation servers.

*/ inline Settings& WithSecurityGroupId(const char* value) { SetSecurityGroupId(value); return *this;} /** *

The subnets defined for the registered identity provider.

*/ inline const Aws::Vector& GetSubnets() const{ return m_subnets; } /** *

The subnets defined for the registered identity provider.

*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *

The subnets defined for the registered identity provider.

*/ inline void SetSubnets(const Aws::Vector& value) { m_subnetsHasBeenSet = true; m_subnets = value; } /** *

The subnets defined for the registered identity provider.

*/ inline void SetSubnets(Aws::Vector&& value) { m_subnetsHasBeenSet = true; m_subnets = std::move(value); } /** *

The subnets defined for the registered identity provider.

*/ inline Settings& WithSubnets(const Aws::Vector& value) { SetSubnets(value); return *this;} /** *

The subnets defined for the registered identity provider.

*/ inline Settings& WithSubnets(Aws::Vector&& value) { SetSubnets(std::move(value)); return *this;} /** *

The subnets defined for the registered identity provider.

*/ inline Settings& AddSubnets(const Aws::String& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *

The subnets defined for the registered identity provider.

*/ inline Settings& AddSubnets(Aws::String&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *

The subnets defined for the registered identity provider.

*/ inline Settings& AddSubnets(const char* value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } private: Aws::String m_securityGroupId; bool m_securityGroupIdHasBeenSet = false; Aws::Vector m_subnets; bool m_subnetsHasBeenSet = false; }; } // namespace Model } // namespace LicenseManagerUserSubscriptions } // namespace Aws