/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a prefix list reference.See Also:
AWS
* API Reference
The ID of the transit gateway route table.
*/ inline const Aws::String& GetTransitGatewayRouteTableId() const{ return m_transitGatewayRouteTableId; } /** *The ID of the transit gateway route table.
*/ inline bool TransitGatewayRouteTableIdHasBeenSet() const { return m_transitGatewayRouteTableIdHasBeenSet; } /** *The ID of the transit gateway route table.
*/ inline void SetTransitGatewayRouteTableId(const Aws::String& value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId = value; } /** *The ID of the transit gateway route table.
*/ inline void SetTransitGatewayRouteTableId(Aws::String&& value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId = std::move(value); } /** *The ID of the transit gateway route table.
*/ inline void SetTransitGatewayRouteTableId(const char* value) { m_transitGatewayRouteTableIdHasBeenSet = true; m_transitGatewayRouteTableId.assign(value); } /** *The ID of the transit gateway route table.
*/ inline TransitGatewayPrefixListReference& WithTransitGatewayRouteTableId(const Aws::String& value) { SetTransitGatewayRouteTableId(value); return *this;} /** *The ID of the transit gateway route table.
*/ inline TransitGatewayPrefixListReference& WithTransitGatewayRouteTableId(Aws::String&& value) { SetTransitGatewayRouteTableId(std::move(value)); return *this;} /** *The ID of the transit gateway route table.
*/ inline TransitGatewayPrefixListReference& WithTransitGatewayRouteTableId(const char* value) { SetTransitGatewayRouteTableId(value); return *this;} /** *The ID of the prefix list.
*/ inline const Aws::String& GetPrefixListId() const{ return m_prefixListId; } /** *The ID of the prefix list.
*/ inline bool PrefixListIdHasBeenSet() const { return m_prefixListIdHasBeenSet; } /** *The ID of the prefix list.
*/ inline void SetPrefixListId(const Aws::String& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = value; } /** *The ID of the prefix list.
*/ inline void SetPrefixListId(Aws::String&& value) { m_prefixListIdHasBeenSet = true; m_prefixListId = std::move(value); } /** *The ID of the prefix list.
*/ inline void SetPrefixListId(const char* value) { m_prefixListIdHasBeenSet = true; m_prefixListId.assign(value); } /** *The ID of the prefix list.
*/ inline TransitGatewayPrefixListReference& WithPrefixListId(const Aws::String& value) { SetPrefixListId(value); return *this;} /** *The ID of the prefix list.
*/ inline TransitGatewayPrefixListReference& WithPrefixListId(Aws::String&& value) { SetPrefixListId(std::move(value)); return *this;} /** *The ID of the prefix list.
*/ inline TransitGatewayPrefixListReference& WithPrefixListId(const char* value) { SetPrefixListId(value); return *this;} /** *The ID of the prefix list owner.
*/ inline const Aws::String& GetPrefixListOwnerId() const{ return m_prefixListOwnerId; } /** *The ID of the prefix list owner.
*/ inline bool PrefixListOwnerIdHasBeenSet() const { return m_prefixListOwnerIdHasBeenSet; } /** *The ID of the prefix list owner.
*/ inline void SetPrefixListOwnerId(const Aws::String& value) { m_prefixListOwnerIdHasBeenSet = true; m_prefixListOwnerId = value; } /** *The ID of the prefix list owner.
*/ inline void SetPrefixListOwnerId(Aws::String&& value) { m_prefixListOwnerIdHasBeenSet = true; m_prefixListOwnerId = std::move(value); } /** *The ID of the prefix list owner.
*/ inline void SetPrefixListOwnerId(const char* value) { m_prefixListOwnerIdHasBeenSet = true; m_prefixListOwnerId.assign(value); } /** *The ID of the prefix list owner.
*/ inline TransitGatewayPrefixListReference& WithPrefixListOwnerId(const Aws::String& value) { SetPrefixListOwnerId(value); return *this;} /** *The ID of the prefix list owner.
*/ inline TransitGatewayPrefixListReference& WithPrefixListOwnerId(Aws::String&& value) { SetPrefixListOwnerId(std::move(value)); return *this;} /** *The ID of the prefix list owner.
*/ inline TransitGatewayPrefixListReference& WithPrefixListOwnerId(const char* value) { SetPrefixListOwnerId(value); return *this;} /** *The state of the prefix list reference.
*/ inline const TransitGatewayPrefixListReferenceState& GetState() const{ return m_state; } /** *The state of the prefix list reference.
*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *The state of the prefix list reference.
*/ inline void SetState(const TransitGatewayPrefixListReferenceState& value) { m_stateHasBeenSet = true; m_state = value; } /** *The state of the prefix list reference.
*/ inline void SetState(TransitGatewayPrefixListReferenceState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *The state of the prefix list reference.
*/ inline TransitGatewayPrefixListReference& WithState(const TransitGatewayPrefixListReferenceState& value) { SetState(value); return *this;} /** *The state of the prefix list reference.
*/ inline TransitGatewayPrefixListReference& WithState(TransitGatewayPrefixListReferenceState&& value) { SetState(std::move(value)); return *this;} /** *Indicates whether traffic that matches this route is dropped.
*/ inline bool GetBlackhole() const{ return m_blackhole; } /** *Indicates whether traffic that matches this route is dropped.
*/ inline bool BlackholeHasBeenSet() const { return m_blackholeHasBeenSet; } /** *Indicates whether traffic that matches this route is dropped.
*/ inline void SetBlackhole(bool value) { m_blackholeHasBeenSet = true; m_blackhole = value; } /** *Indicates whether traffic that matches this route is dropped.
*/ inline TransitGatewayPrefixListReference& WithBlackhole(bool value) { SetBlackhole(value); return *this;} /** *Information about the transit gateway attachment.
*/ inline const TransitGatewayPrefixListAttachment& GetTransitGatewayAttachment() const{ return m_transitGatewayAttachment; } /** *Information about the transit gateway attachment.
*/ inline bool TransitGatewayAttachmentHasBeenSet() const { return m_transitGatewayAttachmentHasBeenSet; } /** *Information about the transit gateway attachment.
*/ inline void SetTransitGatewayAttachment(const TransitGatewayPrefixListAttachment& value) { m_transitGatewayAttachmentHasBeenSet = true; m_transitGatewayAttachment = value; } /** *Information about the transit gateway attachment.
*/ inline void SetTransitGatewayAttachment(TransitGatewayPrefixListAttachment&& value) { m_transitGatewayAttachmentHasBeenSet = true; m_transitGatewayAttachment = std::move(value); } /** *Information about the transit gateway attachment.
*/ inline TransitGatewayPrefixListReference& WithTransitGatewayAttachment(const TransitGatewayPrefixListAttachment& value) { SetTransitGatewayAttachment(value); return *this;} /** *Information about the transit gateway attachment.
*/ inline TransitGatewayPrefixListReference& WithTransitGatewayAttachment(TransitGatewayPrefixListAttachment&& value) { SetTransitGatewayAttachment(std::move(value)); return *this;} private: Aws::String m_transitGatewayRouteTableId; bool m_transitGatewayRouteTableIdHasBeenSet = false; Aws::String m_prefixListId; bool m_prefixListIdHasBeenSet = false; Aws::String m_prefixListOwnerId; bool m_prefixListOwnerIdHasBeenSet = false; TransitGatewayPrefixListReferenceState m_state; bool m_stateHasBeenSet = false; bool m_blackhole; bool m_blackholeHasBeenSet = false; TransitGatewayPrefixListAttachment m_transitGatewayAttachment; bool m_transitGatewayAttachmentHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws