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

Returns information about a serverless cluster * operation.

See Also:

AWS * API Reference

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

Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.

*/ inline const VpcConnectionInfoServerless& GetVpcConnectionInfo() const{ return m_vpcConnectionInfo; } /** *

Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.

*/ inline bool VpcConnectionInfoHasBeenSet() const { return m_vpcConnectionInfoHasBeenSet; } /** *

Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.

*/ inline void SetVpcConnectionInfo(const VpcConnectionInfoServerless& value) { m_vpcConnectionInfoHasBeenSet = true; m_vpcConnectionInfo = value; } /** *

Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.

*/ inline void SetVpcConnectionInfo(VpcConnectionInfoServerless&& value) { m_vpcConnectionInfoHasBeenSet = true; m_vpcConnectionInfo = std::move(value); } /** *

Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.

*/ inline ClusterOperationV2Serverless& WithVpcConnectionInfo(const VpcConnectionInfoServerless& value) { SetVpcConnectionInfo(value); return *this;} /** *

Description of the VPC connection for CreateVpcConnection and * DeleteVpcConnection operations.

*/ inline ClusterOperationV2Serverless& WithVpcConnectionInfo(VpcConnectionInfoServerless&& value) { SetVpcConnectionInfo(std::move(value)); return *this;} private: VpcConnectionInfoServerless m_vpcConnectionInfo; bool m_vpcConnectionInfoHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws