/** * 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 { /** *

The client VPC connection object.

See * Also:

AWS * API Reference

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

Information about the auth scheme of Vpc Connection.

* */ inline const Aws::String& GetAuthentication() const{ return m_authentication; } /** *

Information about the auth scheme of Vpc Connection.

* */ inline bool AuthenticationHasBeenSet() const { return m_authenticationHasBeenSet; } /** *

Information about the auth scheme of Vpc Connection.

* */ inline void SetAuthentication(const Aws::String& value) { m_authenticationHasBeenSet = true; m_authentication = value; } /** *

Information about the auth scheme of Vpc Connection.

* */ inline void SetAuthentication(Aws::String&& value) { m_authenticationHasBeenSet = true; m_authentication = std::move(value); } /** *

Information about the auth scheme of Vpc Connection.

* */ inline void SetAuthentication(const char* value) { m_authenticationHasBeenSet = true; m_authentication.assign(value); } /** *

Information about the auth scheme of Vpc Connection.

* */ inline ClientVpcConnection& WithAuthentication(const Aws::String& value) { SetAuthentication(value); return *this;} /** *

Information about the auth scheme of Vpc Connection.

* */ inline ClientVpcConnection& WithAuthentication(Aws::String&& value) { SetAuthentication(std::move(value)); return *this;} /** *

Information about the auth scheme of Vpc Connection.

* */ inline ClientVpcConnection& WithAuthentication(const char* value) { SetAuthentication(value); return *this;} /** *

Creation time of the Vpc Connection.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

Creation time of the Vpc Connection.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

Creation time of the Vpc Connection.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

Creation time of the Vpc Connection.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

Creation time of the Vpc Connection.

*/ inline ClientVpcConnection& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

Creation time of the Vpc Connection.

*/ inline ClientVpcConnection& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

State of the Vpc Connection.

*/ inline const VpcConnectionState& GetState() const{ return m_state; } /** *

State of the Vpc Connection.

*/ inline bool StateHasBeenSet() const { return m_stateHasBeenSet; } /** *

State of the Vpc Connection.

*/ inline void SetState(const VpcConnectionState& value) { m_stateHasBeenSet = true; m_state = value; } /** *

State of the Vpc Connection.

*/ inline void SetState(VpcConnectionState&& value) { m_stateHasBeenSet = true; m_state = std::move(value); } /** *

State of the Vpc Connection.

*/ inline ClientVpcConnection& WithState(const VpcConnectionState& value) { SetState(value); return *this;} /** *

State of the Vpc Connection.

*/ inline ClientVpcConnection& WithState(VpcConnectionState&& value) { SetState(std::move(value)); return *this;} /** *

The ARN that identifies the Vpc Connection.

*/ inline const Aws::String& GetVpcConnectionArn() const{ return m_vpcConnectionArn; } /** *

The ARN that identifies the Vpc Connection.

*/ inline bool VpcConnectionArnHasBeenSet() const { return m_vpcConnectionArnHasBeenSet; } /** *

The ARN that identifies the Vpc Connection.

*/ inline void SetVpcConnectionArn(const Aws::String& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = value; } /** *

The ARN that identifies the Vpc Connection.

*/ inline void SetVpcConnectionArn(Aws::String&& value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn = std::move(value); } /** *

The ARN that identifies the Vpc Connection.

*/ inline void SetVpcConnectionArn(const char* value) { m_vpcConnectionArnHasBeenSet = true; m_vpcConnectionArn.assign(value); } /** *

The ARN that identifies the Vpc Connection.

*/ inline ClientVpcConnection& WithVpcConnectionArn(const Aws::String& value) { SetVpcConnectionArn(value); return *this;} /** *

The ARN that identifies the Vpc Connection.

*/ inline ClientVpcConnection& WithVpcConnectionArn(Aws::String&& value) { SetVpcConnectionArn(std::move(value)); return *this;} /** *

The ARN that identifies the Vpc Connection.

*/ inline ClientVpcConnection& WithVpcConnectionArn(const char* value) { SetVpcConnectionArn(value); return *this;} /** *

The Owner of the Vpc Connection.

*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *

The Owner of the Vpc Connection.

*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *

The Owner of the Vpc Connection.

*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *

The Owner of the Vpc Connection.

*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *

The Owner of the Vpc Connection.

*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *

The Owner of the Vpc Connection.

*/ inline ClientVpcConnection& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *

The Owner of the Vpc Connection.

*/ inline ClientVpcConnection& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *

The Owner of the Vpc Connection.

*/ inline ClientVpcConnection& WithOwner(const char* value) { SetOwner(value); return *this;} private: Aws::String m_authentication; bool m_authenticationHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; VpcConnectionState m_state; bool m_stateHasBeenSet = false; Aws::String m_vpcConnectionArn; bool m_vpcConnectionArnHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws