/** * 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 { /** * Description of the VPC connection.

See Also:

AWS * API Reference

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

The time when Amazon MSK creates the VPC Connnection.

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

The time when Amazon MSK creates the VPC Connnection.

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

The time when Amazon MSK creates the VPC Connnection.

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

The time when Amazon MSK creates the VPC Connnection.

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

The time when Amazon MSK creates the VPC Connnection.

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

The time when Amazon MSK creates the VPC Connnection.

*/ inline VpcConnectionInfoServerless& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(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 VpcConnectionInfoServerless& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *

The owner of the VPC Connection.

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

The owner of the VPC Connection.

*/ inline VpcConnectionInfoServerless& WithOwner(const char* value) { SetOwner(value); return *this;} /** *

Description of the requester that calls the API operation.

*/ inline const UserIdentity& GetUserIdentity() const{ return m_userIdentity; } /** *

Description of the requester that calls the API operation.

*/ inline bool UserIdentityHasBeenSet() const { return m_userIdentityHasBeenSet; } /** *

Description of the requester that calls the API operation.

*/ inline void SetUserIdentity(const UserIdentity& value) { m_userIdentityHasBeenSet = true; m_userIdentity = value; } /** *

Description of the requester that calls the API operation.

*/ inline void SetUserIdentity(UserIdentity&& value) { m_userIdentityHasBeenSet = true; m_userIdentity = std::move(value); } /** *

Description of the requester that calls the API operation.

*/ inline VpcConnectionInfoServerless& WithUserIdentity(const UserIdentity& value) { SetUserIdentity(value); return *this;} /** *

Description of the requester that calls the API operation.

*/ inline VpcConnectionInfoServerless& WithUserIdentity(UserIdentity&& value) { SetUserIdentity(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the VPC connection.

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

The Amazon Resource Name (ARN) of the VPC connection.

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

The Amazon Resource Name (ARN) of the VPC connection.

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

The Amazon Resource Name (ARN) of the VPC connection.

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

The Amazon Resource Name (ARN) of the VPC connection.

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

The Amazon Resource Name (ARN) of the VPC connection.

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

The Amazon Resource Name (ARN) of the VPC connection.

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

The Amazon Resource Name (ARN) of the VPC connection.

*/ inline VpcConnectionInfoServerless& WithVpcConnectionArn(const char* value) { SetVpcConnectionArn(value); return *this;} private: Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; UserIdentity m_userIdentity; bool m_userIdentityHasBeenSet = false; Aws::String m_vpcConnectionArn; bool m_vpcConnectionArnHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws