/** * 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 CreateRouteTable action in Amazon EC2.

See * Also:

AWS * API Reference

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

A description of the CreateRouteTable action.

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

A description of the CreateRouteTable action.

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

A description of the CreateRouteTable action.

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

A description of the CreateRouteTable action.

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

A description of the CreateRouteTable action.

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

A description of the CreateRouteTable action.

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

A description of the CreateRouteTable action.

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

A description of the CreateRouteTable action.

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

Information about the ID of a VPC.

*/ inline const ActionTarget& GetVpcId() const{ return m_vpcId; } /** *

Information about the ID of a VPC.

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

Information about the ID of a VPC.

*/ inline void SetVpcId(const ActionTarget& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

Information about the ID of a VPC.

*/ inline void SetVpcId(ActionTarget&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

Information about the ID of a VPC.

*/ inline EC2CreateRouteTableAction& WithVpcId(const ActionTarget& value) { SetVpcId(value); return *this;} /** *

Information about the ID of a VPC.

*/ inline EC2CreateRouteTableAction& WithVpcId(ActionTarget&& value) { SetVpcId(std::move(value)); return *this;} private: Aws::String m_description; bool m_descriptionHasBeenSet = false; ActionTarget m_vpcId; bool m_vpcIdHasBeenSet = false; }; } // namespace Model } // namespace FMS } // namespace Aws