/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a source or a destination.See Also:
AWS
* API Reference
The ARN of the transit gateway attachment.
*/ inline const Aws::String& GetTransitGatewayAttachmentArn() const{ return m_transitGatewayAttachmentArn; } /** *The ARN of the transit gateway attachment.
*/ inline bool TransitGatewayAttachmentArnHasBeenSet() const { return m_transitGatewayAttachmentArnHasBeenSet; } /** *The ARN of the transit gateway attachment.
*/ inline void SetTransitGatewayAttachmentArn(const Aws::String& value) { m_transitGatewayAttachmentArnHasBeenSet = true; m_transitGatewayAttachmentArn = value; } /** *The ARN of the transit gateway attachment.
*/ inline void SetTransitGatewayAttachmentArn(Aws::String&& value) { m_transitGatewayAttachmentArnHasBeenSet = true; m_transitGatewayAttachmentArn = std::move(value); } /** *The ARN of the transit gateway attachment.
*/ inline void SetTransitGatewayAttachmentArn(const char* value) { m_transitGatewayAttachmentArnHasBeenSet = true; m_transitGatewayAttachmentArn.assign(value); } /** *The ARN of the transit gateway attachment.
*/ inline RouteAnalysisEndpointOptionsSpecification& WithTransitGatewayAttachmentArn(const Aws::String& value) { SetTransitGatewayAttachmentArn(value); return *this;} /** *The ARN of the transit gateway attachment.
*/ inline RouteAnalysisEndpointOptionsSpecification& WithTransitGatewayAttachmentArn(Aws::String&& value) { SetTransitGatewayAttachmentArn(std::move(value)); return *this;} /** *The ARN of the transit gateway attachment.
*/ inline RouteAnalysisEndpointOptionsSpecification& WithTransitGatewayAttachmentArn(const char* value) { SetTransitGatewayAttachmentArn(value); return *this;} /** *The IP address.
*/ inline const Aws::String& GetIpAddress() const{ return m_ipAddress; } /** *The IP address.
*/ inline bool IpAddressHasBeenSet() const { return m_ipAddressHasBeenSet; } /** *The IP address.
*/ inline void SetIpAddress(const Aws::String& value) { m_ipAddressHasBeenSet = true; m_ipAddress = value; } /** *The IP address.
*/ inline void SetIpAddress(Aws::String&& value) { m_ipAddressHasBeenSet = true; m_ipAddress = std::move(value); } /** *The IP address.
*/ inline void SetIpAddress(const char* value) { m_ipAddressHasBeenSet = true; m_ipAddress.assign(value); } /** *The IP address.
*/ inline RouteAnalysisEndpointOptionsSpecification& WithIpAddress(const Aws::String& value) { SetIpAddress(value); return *this;} /** *The IP address.
*/ inline RouteAnalysisEndpointOptionsSpecification& WithIpAddress(Aws::String&& value) { SetIpAddress(std::move(value)); return *this;} /** *The IP address.
*/ inline RouteAnalysisEndpointOptionsSpecification& WithIpAddress(const char* value) { SetIpAddress(value); return *this;} private: Aws::String m_transitGatewayAttachmentArn; bool m_transitGatewayAttachmentArnHasBeenSet = false; Aws::String m_ipAddress; bool m_ipAddressHasBeenSet = false; }; } // namespace Model } // namespace NetworkManager } // namespace Aws