/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Description of the VPC connection.See
* Also:
AWS
* API Reference
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 VpcConnectionInfo& WithVpcConnectionArn(const Aws::String& value) { SetVpcConnectionArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the VPC connection.
* */ inline VpcConnectionInfo& WithVpcConnectionArn(Aws::String&& value) { SetVpcConnectionArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the VPC connection.
* */ inline VpcConnectionInfo& 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 VpcConnectionInfo& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *The owner of the VPC Connection.
*/ inline VpcConnectionInfo& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *The owner of the VPC Connection.
*/ inline VpcConnectionInfo& 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 VpcConnectionInfo& WithUserIdentity(const UserIdentity& value) { SetUserIdentity(value); return *this;} /** *Description of the requester that calls the API operation.
* */ inline VpcConnectionInfo& WithUserIdentity(UserIdentity&& value) { SetUserIdentity(std::move(value)); return *this;} /** *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 VpcConnectionInfo& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *The time when Amazon MSK creates the VPC Connnection.
* */ inline VpcConnectionInfo& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} private: Aws::String m_vpcConnectionArn; bool m_vpcConnectionArnHasBeenSet = false; Aws::String m_owner; bool m_ownerHasBeenSet = false; UserIdentity m_userIdentity; bool m_userIdentityHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws