/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The action of associating an EC2 resource, such as a subnet or internet
* gateway, with a route table.See Also:
AWS
* API Reference
A description of the EC2 route table that is associated with the remediation * action.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description of the EC2 route table that is associated with the remediation * action.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description of the EC2 route table that is associated with the remediation * action.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description of the EC2 route table that is associated with the remediation * action.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description of the EC2 route table that is associated with the remediation * action.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description of the EC2 route table that is associated with the remediation * action.
*/ inline EC2AssociateRouteTableAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description of the EC2 route table that is associated with the remediation * action.
*/ inline EC2AssociateRouteTableAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description of the EC2 route table that is associated with the remediation * action.
*/ inline EC2AssociateRouteTableAction& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The ID of the EC2 route table that is associated with the remediation * action.
*/ inline const ActionTarget& GetRouteTableId() const{ return m_routeTableId; } /** *The ID of the EC2 route table that is associated with the remediation * action.
*/ inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; } /** *The ID of the EC2 route table that is associated with the remediation * action.
*/ inline void SetRouteTableId(const ActionTarget& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; } /** *The ID of the EC2 route table that is associated with the remediation * action.
*/ inline void SetRouteTableId(ActionTarget&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); } /** *The ID of the EC2 route table that is associated with the remediation * action.
*/ inline EC2AssociateRouteTableAction& WithRouteTableId(const ActionTarget& value) { SetRouteTableId(value); return *this;} /** *The ID of the EC2 route table that is associated with the remediation * action.
*/ inline EC2AssociateRouteTableAction& WithRouteTableId(ActionTarget&& value) { SetRouteTableId(std::move(value)); return *this;} /** *The ID of the subnet for the EC2 route table that is associated with the * remediation action.
*/ inline const ActionTarget& GetSubnetId() const{ return m_subnetId; } /** *The ID of the subnet for the EC2 route table that is associated with the * remediation action.
*/ inline bool SubnetIdHasBeenSet() const { return m_subnetIdHasBeenSet; } /** *The ID of the subnet for the EC2 route table that is associated with the * remediation action.
*/ inline void SetSubnetId(const ActionTarget& value) { m_subnetIdHasBeenSet = true; m_subnetId = value; } /** *The ID of the subnet for the EC2 route table that is associated with the * remediation action.
*/ inline void SetSubnetId(ActionTarget&& value) { m_subnetIdHasBeenSet = true; m_subnetId = std::move(value); } /** *The ID of the subnet for the EC2 route table that is associated with the * remediation action.
*/ inline EC2AssociateRouteTableAction& WithSubnetId(const ActionTarget& value) { SetSubnetId(value); return *this;} /** *The ID of the subnet for the EC2 route table that is associated with the * remediation action.
*/ inline EC2AssociateRouteTableAction& WithSubnetId(ActionTarget&& value) { SetSubnetId(std::move(value)); return *this;} /** *The ID of the gateway to be used with the EC2 route table that is associated * with the remediation action.
*/ inline const ActionTarget& GetGatewayId() const{ return m_gatewayId; } /** *The ID of the gateway to be used with the EC2 route table that is associated * with the remediation action.
*/ inline bool GatewayIdHasBeenSet() const { return m_gatewayIdHasBeenSet; } /** *The ID of the gateway to be used with the EC2 route table that is associated * with the remediation action.
*/ inline void SetGatewayId(const ActionTarget& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = value; } /** *The ID of the gateway to be used with the EC2 route table that is associated * with the remediation action.
*/ inline void SetGatewayId(ActionTarget&& value) { m_gatewayIdHasBeenSet = true; m_gatewayId = std::move(value); } /** *The ID of the gateway to be used with the EC2 route table that is associated * with the remediation action.
*/ inline EC2AssociateRouteTableAction& WithGatewayId(const ActionTarget& value) { SetGatewayId(value); return *this;} /** *The ID of the gateway to be used with the EC2 route table that is associated * with the remediation action.
*/ inline EC2AssociateRouteTableAction& WithGatewayId(ActionTarget&& value) { SetGatewayId(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; ActionTarget m_routeTableId; bool m_routeTableIdHasBeenSet = false; ActionTarget m_subnetId; bool m_subnetIdHasBeenSet = false; ActionTarget m_gatewayId; bool m_gatewayIdHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws