/** * 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 GroundStation { namespace Model { /** *

Information about endpoints.

See Also:

AWS * API Reference

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

ARN to a role needed for connecting streams to your instances.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

ARN to a role needed for connecting streams to your instances.

*/ inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; } /** *

ARN to a role needed for connecting streams to your instances.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArnHasBeenSet = true; m_roleArn = value; } /** *

ARN to a role needed for connecting streams to your instances.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::move(value); } /** *

ARN to a role needed for connecting streams to your instances.

*/ inline void SetRoleArn(const char* value) { m_roleArnHasBeenSet = true; m_roleArn.assign(value); } /** *

ARN to a role needed for connecting streams to your instances.

*/ inline SecurityDetails& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

ARN to a role needed for connecting streams to your instances.

*/ inline SecurityDetails& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

ARN to a role needed for connecting streams to your instances.

*/ inline SecurityDetails& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The security groups to attach to the elastic network interfaces.

*/ inline const Aws::Vector& GetSecurityGroupIds() const{ return m_securityGroupIds; } /** *

The security groups to attach to the elastic network interfaces.

*/ inline bool SecurityGroupIdsHasBeenSet() const { return m_securityGroupIdsHasBeenSet; } /** *

The security groups to attach to the elastic network interfaces.

*/ inline void SetSecurityGroupIds(const Aws::Vector& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = value; } /** *

The security groups to attach to the elastic network interfaces.

*/ inline void SetSecurityGroupIds(Aws::Vector&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds = std::move(value); } /** *

The security groups to attach to the elastic network interfaces.

*/ inline SecurityDetails& WithSecurityGroupIds(const Aws::Vector& value) { SetSecurityGroupIds(value); return *this;} /** *

The security groups to attach to the elastic network interfaces.

*/ inline SecurityDetails& WithSecurityGroupIds(Aws::Vector&& value) { SetSecurityGroupIds(std::move(value)); return *this;} /** *

The security groups to attach to the elastic network interfaces.

*/ inline SecurityDetails& AddSecurityGroupIds(const Aws::String& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

The security groups to attach to the elastic network interfaces.

*/ inline SecurityDetails& AddSecurityGroupIds(Aws::String&& value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(std::move(value)); return *this; } /** *

The security groups to attach to the elastic network interfaces.

*/ inline SecurityDetails& AddSecurityGroupIds(const char* value) { m_securityGroupIdsHasBeenSet = true; m_securityGroupIds.push_back(value); return *this; } /** *

A list of subnets where AWS Ground Station places elastic network interfaces * to send streams to your instances.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** *

A list of subnets where AWS Ground Station places elastic network interfaces * to send streams to your instances.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *

A list of subnets where AWS Ground Station places elastic network interfaces * to send streams to your instances.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** *

A list of subnets where AWS Ground Station places elastic network interfaces * to send streams to your instances.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** *

A list of subnets where AWS Ground Station places elastic network interfaces * to send streams to your instances.

*/ inline SecurityDetails& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** *

A list of subnets where AWS Ground Station places elastic network interfaces * to send streams to your instances.

*/ inline SecurityDetails& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** *

A list of subnets where AWS Ground Station places elastic network interfaces * to send streams to your instances.

*/ inline SecurityDetails& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

A list of subnets where AWS Ground Station places elastic network interfaces * to send streams to your instances.

*/ inline SecurityDetails& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *

A list of subnets where AWS Ground Station places elastic network interfaces * to send streams to your instances.

*/ inline SecurityDetails& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } private: Aws::String m_roleArn; bool m_roleArnHasBeenSet = false; Aws::Vector m_securityGroupIds; bool m_securityGroupIdsHasBeenSet = false; Aws::Vector m_subnetIds; bool m_subnetIdsHasBeenSet = false; }; } // namespace Model } // namespace GroundStation } // namespace Aws