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

Summary information for an Amazon OpenSearch Service-managed VPC * endpoint.

See Also:

AWS * API Reference

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

The unique identifier of the endpoint.

*/ inline const Aws::String& GetVpcEndpointId() const{ return m_vpcEndpointId; } /** *

The unique identifier of the endpoint.

*/ inline bool VpcEndpointIdHasBeenSet() const { return m_vpcEndpointIdHasBeenSet; } /** *

The unique identifier of the endpoint.

*/ inline void SetVpcEndpointId(const Aws::String& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = value; } /** *

The unique identifier of the endpoint.

*/ inline void SetVpcEndpointId(Aws::String&& value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId = std::move(value); } /** *

The unique identifier of the endpoint.

*/ inline void SetVpcEndpointId(const char* value) { m_vpcEndpointIdHasBeenSet = true; m_vpcEndpointId.assign(value); } /** *

The unique identifier of the endpoint.

*/ inline VpcEndpointSummary& WithVpcEndpointId(const Aws::String& value) { SetVpcEndpointId(value); return *this;} /** *

The unique identifier of the endpoint.

*/ inline VpcEndpointSummary& WithVpcEndpointId(Aws::String&& value) { SetVpcEndpointId(std::move(value)); return *this;} /** *

The unique identifier of the endpoint.

*/ inline VpcEndpointSummary& WithVpcEndpointId(const char* value) { SetVpcEndpointId(value); return *this;} /** *

The creator of the endpoint.

*/ inline const Aws::String& GetVpcEndpointOwner() const{ return m_vpcEndpointOwner; } /** *

The creator of the endpoint.

*/ inline bool VpcEndpointOwnerHasBeenSet() const { return m_vpcEndpointOwnerHasBeenSet; } /** *

The creator of the endpoint.

*/ inline void SetVpcEndpointOwner(const Aws::String& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = value; } /** *

The creator of the endpoint.

*/ inline void SetVpcEndpointOwner(Aws::String&& value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner = std::move(value); } /** *

The creator of the endpoint.

*/ inline void SetVpcEndpointOwner(const char* value) { m_vpcEndpointOwnerHasBeenSet = true; m_vpcEndpointOwner.assign(value); } /** *

The creator of the endpoint.

*/ inline VpcEndpointSummary& WithVpcEndpointOwner(const Aws::String& value) { SetVpcEndpointOwner(value); return *this;} /** *

The creator of the endpoint.

*/ inline VpcEndpointSummary& WithVpcEndpointOwner(Aws::String&& value) { SetVpcEndpointOwner(std::move(value)); return *this;} /** *

The creator of the endpoint.

*/ inline VpcEndpointSummary& WithVpcEndpointOwner(const char* value) { SetVpcEndpointOwner(value); return *this;} /** *

The Amazon Resource Name (ARN) of the domain associated with the * endpoint.

*/ inline const Aws::String& GetDomainArn() const{ return m_domainArn; } /** *

The Amazon Resource Name (ARN) of the domain associated with the * endpoint.

*/ inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the domain associated with the * endpoint.

*/ inline void SetDomainArn(const Aws::String& value) { m_domainArnHasBeenSet = true; m_domainArn = value; } /** *

The Amazon Resource Name (ARN) of the domain associated with the * endpoint.

*/ inline void SetDomainArn(Aws::String&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the domain associated with the * endpoint.

*/ inline void SetDomainArn(const char* value) { m_domainArnHasBeenSet = true; m_domainArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the domain associated with the * endpoint.

*/ inline VpcEndpointSummary& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the domain associated with the * endpoint.

*/ inline VpcEndpointSummary& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the domain associated with the * endpoint.

*/ inline VpcEndpointSummary& WithDomainArn(const char* value) { SetDomainArn(value); return *this;} /** *

The current status of the endpoint.

*/ inline const VpcEndpointStatus& GetStatus() const{ return m_status; } /** *

The current status of the endpoint.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The current status of the endpoint.

*/ inline void SetStatus(const VpcEndpointStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The current status of the endpoint.

*/ inline void SetStatus(VpcEndpointStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The current status of the endpoint.

*/ inline VpcEndpointSummary& WithStatus(const VpcEndpointStatus& value) { SetStatus(value); return *this;} /** *

The current status of the endpoint.

*/ inline VpcEndpointSummary& WithStatus(VpcEndpointStatus&& value) { SetStatus(std::move(value)); return *this;} private: Aws::String m_vpcEndpointId; bool m_vpcEndpointIdHasBeenSet = false; Aws::String m_vpcEndpointOwner; bool m_vpcEndpointOwnerHasBeenSet = false; Aws::String m_domainArn; bool m_domainArnHasBeenSet = false; VpcEndpointStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws