/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the VPN tunnel.See Also:
AWS
* API Reference
The number of accepted routes.
*/ inline int GetAcceptedRouteCount() const{ return m_acceptedRouteCount; } /** *The number of accepted routes.
*/ inline bool AcceptedRouteCountHasBeenSet() const { return m_acceptedRouteCountHasBeenSet; } /** *The number of accepted routes.
*/ inline void SetAcceptedRouteCount(int value) { m_acceptedRouteCountHasBeenSet = true; m_acceptedRouteCount = value; } /** *The number of accepted routes.
*/ inline AwsEc2VpnConnectionVgwTelemetryDetails& WithAcceptedRouteCount(int value) { SetAcceptedRouteCount(value); return *this;} /** *The ARN of the VPN tunnel endpoint certificate.
*/ inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; } /** *The ARN of the VPN tunnel endpoint certificate.
*/ inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; } /** *The ARN of the VPN tunnel endpoint certificate.
*/ inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; } /** *The ARN of the VPN tunnel endpoint certificate.
*/ inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); } /** *The ARN of the VPN tunnel endpoint certificate.
*/ inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); } /** *The ARN of the VPN tunnel endpoint certificate.
*/ inline AwsEc2VpnConnectionVgwTelemetryDetails& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;} /** *The ARN of the VPN tunnel endpoint certificate.
*/ inline AwsEc2VpnConnectionVgwTelemetryDetails& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;} /** *The ARN of the VPN tunnel endpoint certificate.
*/ inline AwsEc2VpnConnectionVgwTelemetryDetails& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;} /** *The date and time of the last change in status.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The date and time of the last change in status.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The date and time of the last change in status.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The date and time of the last change in status.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The date and time of the last change in status.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The date and time of the last change in status.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The date and time of the last change in status.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The date and time of the last change in status.
Uses the
* date-time
format specified in RFC 3339 section 5.6,
* Internet Date/Time Format. The value cannot contain spaces, and date and
* time should be separated by T
. For example,
* 2020-03-22T13:22:13.933Z
.
The Internet-routable IP address of the virtual private gateway's outside * interface.
*/ inline const Aws::String& GetOutsideIpAddress() const{ return m_outsideIpAddress; } /** *The Internet-routable IP address of the virtual private gateway's outside * interface.
*/ inline bool OutsideIpAddressHasBeenSet() const { return m_outsideIpAddressHasBeenSet; } /** *The Internet-routable IP address of the virtual private gateway's outside * interface.
*/ inline void SetOutsideIpAddress(const Aws::String& value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress = value; } /** *The Internet-routable IP address of the virtual private gateway's outside * interface.
*/ inline void SetOutsideIpAddress(Aws::String&& value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress = std::move(value); } /** *The Internet-routable IP address of the virtual private gateway's outside * interface.
*/ inline void SetOutsideIpAddress(const char* value) { m_outsideIpAddressHasBeenSet = true; m_outsideIpAddress.assign(value); } /** *The Internet-routable IP address of the virtual private gateway's outside * interface.
*/ inline AwsEc2VpnConnectionVgwTelemetryDetails& WithOutsideIpAddress(const Aws::String& value) { SetOutsideIpAddress(value); return *this;} /** *The Internet-routable IP address of the virtual private gateway's outside * interface.
*/ inline AwsEc2VpnConnectionVgwTelemetryDetails& WithOutsideIpAddress(Aws::String&& value) { SetOutsideIpAddress(std::move(value)); return *this;} /** *The Internet-routable IP address of the virtual private gateway's outside * interface.
*/ inline AwsEc2VpnConnectionVgwTelemetryDetails& WithOutsideIpAddress(const char* value) { SetOutsideIpAddress(value); return *this;} /** *The status of the VPN tunnel. Valid values are DOWN
or
* UP
.
The status of the VPN tunnel. Valid values are DOWN
or
* UP
.
The status of the VPN tunnel. Valid values are DOWN
or
* UP
.
The status of the VPN tunnel. Valid values are DOWN
or
* UP
.
The status of the VPN tunnel. Valid values are DOWN
or
* UP
.
The status of the VPN tunnel. Valid values are DOWN
or
* UP
.
The status of the VPN tunnel. Valid values are DOWN
or
* UP
.
The status of the VPN tunnel. Valid values are DOWN
or
* UP
.
If an error occurs, a description of the error.
*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *If an error occurs, a description of the error.
*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *If an error occurs, a description of the error.
*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *If an error occurs, a description of the error.
*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *If an error occurs, a description of the error.
*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *If an error occurs, a description of the error.
*/ inline AwsEc2VpnConnectionVgwTelemetryDetails& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *If an error occurs, a description of the error.
*/ inline AwsEc2VpnConnectionVgwTelemetryDetails& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *If an error occurs, a description of the error.
*/ inline AwsEc2VpnConnectionVgwTelemetryDetails& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} private: int m_acceptedRouteCount; bool m_acceptedRouteCountHasBeenSet = false; Aws::String m_certificateArn; bool m_certificateArnHasBeenSet = false; Aws::String m_lastStatusChange; bool m_lastStatusChangeHasBeenSet = false; Aws::String m_outsideIpAddress; bool m_outsideIpAddressHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; }; } // namespace Model } // namespace SecurityHub } // namespace Aws