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

Serverless cluster request.

See Also:

* AWS * API Reference

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

The configuration of the Amazon VPCs for the cluster.

* */ inline const Aws::Vector& GetVpcConfigs() const{ return m_vpcConfigs; } /** *

The configuration of the Amazon VPCs for the cluster.

* */ inline bool VpcConfigsHasBeenSet() const { return m_vpcConfigsHasBeenSet; } /** *

The configuration of the Amazon VPCs for the cluster.

* */ inline void SetVpcConfigs(const Aws::Vector& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs = value; } /** *

The configuration of the Amazon VPCs for the cluster.

* */ inline void SetVpcConfigs(Aws::Vector&& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs = std::move(value); } /** *

The configuration of the Amazon VPCs for the cluster.

* */ inline ServerlessRequest& WithVpcConfigs(const Aws::Vector& value) { SetVpcConfigs(value); return *this;} /** *

The configuration of the Amazon VPCs for the cluster.

* */ inline ServerlessRequest& WithVpcConfigs(Aws::Vector&& value) { SetVpcConfigs(std::move(value)); return *this;} /** *

The configuration of the Amazon VPCs for the cluster.

* */ inline ServerlessRequest& AddVpcConfigs(const VpcConfig& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs.push_back(value); return *this; } /** *

The configuration of the Amazon VPCs for the cluster.

* */ inline ServerlessRequest& AddVpcConfigs(VpcConfig&& value) { m_vpcConfigsHasBeenSet = true; m_vpcConfigs.push_back(std::move(value)); return *this; } /** *

Includes all client authentication information.

*/ inline const ServerlessClientAuthentication& GetClientAuthentication() const{ return m_clientAuthentication; } /** *

Includes all client authentication information.

*/ inline bool ClientAuthenticationHasBeenSet() const { return m_clientAuthenticationHasBeenSet; } /** *

Includes all client authentication information.

*/ inline void SetClientAuthentication(const ServerlessClientAuthentication& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = value; } /** *

Includes all client authentication information.

*/ inline void SetClientAuthentication(ServerlessClientAuthentication&& value) { m_clientAuthenticationHasBeenSet = true; m_clientAuthentication = std::move(value); } /** *

Includes all client authentication information.

*/ inline ServerlessRequest& WithClientAuthentication(const ServerlessClientAuthentication& value) { SetClientAuthentication(value); return *this;} /** *

Includes all client authentication information.

*/ inline ServerlessRequest& WithClientAuthentication(ServerlessClientAuthentication&& value) { SetClientAuthentication(std::move(value)); return *this;} private: Aws::Vector m_vpcConfigs; bool m_vpcConfigsHasBeenSet = false; ServerlessClientAuthentication m_clientAuthentication; bool m_clientAuthenticationHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws