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

A static routes associated with the VPN connection.

See Also:

* AWS * API Reference

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

The CIDR block associated with the local subnet of the customer data * center.

*/ inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; } /** *

The CIDR block associated with the local subnet of the customer data * center.

*/ inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; } /** *

The CIDR block associated with the local subnet of the customer data * center.

*/ inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; } /** *

The CIDR block associated with the local subnet of the customer data * center.

*/ inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); } /** *

The CIDR block associated with the local subnet of the customer data * center.

*/ inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); } /** *

The CIDR block associated with the local subnet of the customer data * center.

*/ inline AwsEc2VpnConnectionRoutesDetails& WithDestinationCidrBlock(const Aws::String& value) { SetDestinationCidrBlock(value); return *this;} /** *

The CIDR block associated with the local subnet of the customer data * center.

*/ inline AwsEc2VpnConnectionRoutesDetails& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;} /** *

The CIDR block associated with the local subnet of the customer data * center.

*/ inline AwsEc2VpnConnectionRoutesDetails& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;} /** *

The current state of the static route.

*/ inline const Aws::String& GetState() const{ return m_state; } /** *

The current state of the static route.

*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

The current state of the static route.

*/ inline void SetState(const Aws::String& value) { m_stateHasBeenSet = true; m_state = value; } /** *

The current state of the static route.

*/ inline void SetState(Aws::String&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *

The current state of the static route.

*/ inline void SetState(const char* value) { m_stateHasBeenSet = true; m_state.assign(value); } /** *

The current state of the static route.

*/ inline AwsEc2VpnConnectionRoutesDetails& WithState(const Aws::String& value) { SetState(value); return *this;} /** *

The current state of the static route.

*/ inline AwsEc2VpnConnectionRoutesDetails& WithState(Aws::String&& value) { SetState(std::move(value)); return *this;} /** *

The current state of the static route.

*/ inline AwsEc2VpnConnectionRoutesDetails& WithState(const char* value) { SetState(value); return *this;} private: Aws::String m_destinationCidrBlock; bool m_destinationCidrBlockHasBeenSet = false; Aws::String m_state; bool m_stateHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws