/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a network route.See Also:
AWS
* API Reference
A unique identifier for the route, such as a CIDR block.
*/ inline const Aws::String& GetDestinationCidrBlock() const{ return m_destinationCidrBlock; } /** *A unique identifier for the route, such as a CIDR block.
*/ inline bool DestinationCidrBlockHasBeenSet() const { return m_destinationCidrBlockHasBeenSet; } /** *A unique identifier for the route, such as a CIDR block.
*/ inline void SetDestinationCidrBlock(const Aws::String& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = value; } /** *A unique identifier for the route, such as a CIDR block.
*/ inline void SetDestinationCidrBlock(Aws::String&& value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock = std::move(value); } /** *A unique identifier for the route, such as a CIDR block.
*/ inline void SetDestinationCidrBlock(const char* value) { m_destinationCidrBlockHasBeenSet = true; m_destinationCidrBlock.assign(value); } /** *A unique identifier for the route, such as a CIDR block.
*/ inline NetworkRoute& WithDestinationCidrBlock(const Aws::String& value) { SetDestinationCidrBlock(value); return *this;} /** *A unique identifier for the route, such as a CIDR block.
*/ inline NetworkRoute& WithDestinationCidrBlock(Aws::String&& value) { SetDestinationCidrBlock(std::move(value)); return *this;} /** *A unique identifier for the route, such as a CIDR block.
*/ inline NetworkRoute& WithDestinationCidrBlock(const char* value) { SetDestinationCidrBlock(value); return *this;} /** *The destinations.
*/ inline const Aws::VectorThe destinations.
*/ inline bool DestinationsHasBeenSet() const { return m_destinationsHasBeenSet; } /** *The destinations.
*/ inline void SetDestinations(const Aws::VectorThe destinations.
*/ inline void SetDestinations(Aws::VectorThe destinations.
*/ inline NetworkRoute& WithDestinations(const Aws::VectorThe destinations.
*/ inline NetworkRoute& WithDestinations(Aws::VectorThe destinations.
*/ inline NetworkRoute& AddDestinations(const NetworkRouteDestination& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(value); return *this; } /** *The destinations.
*/ inline NetworkRoute& AddDestinations(NetworkRouteDestination&& value) { m_destinationsHasBeenSet = true; m_destinations.push_back(std::move(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 NetworkRoute& WithPrefixListId(const Aws::String& value) { SetPrefixListId(value); return *this;} /** *The ID of the prefix list.
*/ inline NetworkRoute& WithPrefixListId(Aws::String&& value) { SetPrefixListId(std::move(value)); return *this;} /** *The ID of the prefix list.
*/ inline NetworkRoute& WithPrefixListId(const char* value) { SetPrefixListId(value); return *this;} /** *The route state. The possible values are active
and
* blackhole
.
The route state. The possible values are active
and
* blackhole
.
The route state. The possible values are active
and
* blackhole
.
The route state. The possible values are active
and
* blackhole
.
The route state. The possible values are active
and
* blackhole
.
The route state. The possible values are active
and
* blackhole
.
The route type. The possible values are propagated
and
* static
.
The route type. The possible values are propagated
and
* static
.
The route type. The possible values are propagated
and
* static
.
The route type. The possible values are propagated
and
* static
.
The route type. The possible values are propagated
and
* static
.
The route type. The possible values are propagated
and
* static
.