/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FMS { namespace Model { /** *

Information about the ReplaceRouteTableAssociation action in Amazon * EC2.

See Also:

AWS * API Reference

*/ class EC2ReplaceRouteTableAssociationAction { public: AWS_FMS_API EC2ReplaceRouteTableAssociationAction(); AWS_FMS_API EC2ReplaceRouteTableAssociationAction(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API EC2ReplaceRouteTableAssociationAction& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FMS_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A description of the ReplaceRouteTableAssociation action in Amazon EC2.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

A description of the ReplaceRouteTableAssociation action in Amazon EC2.

*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *

A description of the ReplaceRouteTableAssociation action in Amazon EC2.

*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *

A description of the ReplaceRouteTableAssociation action in Amazon EC2.

*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *

A description of the ReplaceRouteTableAssociation action in Amazon EC2.

*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *

A description of the ReplaceRouteTableAssociation action in Amazon EC2.

*/ inline EC2ReplaceRouteTableAssociationAction& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

A description of the ReplaceRouteTableAssociation action in Amazon EC2.

*/ inline EC2ReplaceRouteTableAssociationAction& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

A description of the ReplaceRouteTableAssociation action in Amazon EC2.

*/ inline EC2ReplaceRouteTableAssociationAction& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

Information about the association ID.

*/ inline const ActionTarget& GetAssociationId() const{ return m_associationId; } /** *

Information about the association ID.

*/ inline bool AssociationIdHasBeenSet() const { return m_associationIdHasBeenSet; } /** *

Information about the association ID.

*/ inline void SetAssociationId(const ActionTarget& value) { m_associationIdHasBeenSet = true; m_associationId = value; } /** *

Information about the association ID.

*/ inline void SetAssociationId(ActionTarget&& value) { m_associationIdHasBeenSet = true; m_associationId = std::move(value); } /** *

Information about the association ID.

*/ inline EC2ReplaceRouteTableAssociationAction& WithAssociationId(const ActionTarget& value) { SetAssociationId(value); return *this;} /** *

Information about the association ID.

*/ inline EC2ReplaceRouteTableAssociationAction& WithAssociationId(ActionTarget&& value) { SetAssociationId(std::move(value)); return *this;} /** *

Information about the ID of the new route table to associate with the * subnet.

*/ inline const ActionTarget& GetRouteTableId() const{ return m_routeTableId; } /** *

Information about the ID of the new route table to associate with the * subnet.

*/ inline bool RouteTableIdHasBeenSet() const { return m_routeTableIdHasBeenSet; } /** *

Information about the ID of the new route table to associate with the * subnet.

*/ inline void SetRouteTableId(const ActionTarget& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = value; } /** *

Information about the ID of the new route table to associate with the * subnet.

*/ inline void SetRouteTableId(ActionTarget&& value) { m_routeTableIdHasBeenSet = true; m_routeTableId = std::move(value); } /** *

Information about the ID of the new route table to associate with the * subnet.

*/ inline EC2ReplaceRouteTableAssociationAction& WithRouteTableId(const ActionTarget& value) { SetRouteTableId(value); return *this;} /** *

Information about the ID of the new route table to associate with the * subnet.

*/ inline EC2ReplaceRouteTableAssociationAction& WithRouteTableId(ActionTarget&& value) { SetRouteTableId(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; ActionTarget m_associationId; bool m_associationIdHasBeenSet = false; ActionTarget m_routeTableId; bool m_routeTableIdHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws