/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for the parameters to the
* CreateVpcEndpointRequest
operation.See Also:
* AWS
* API Reference
The Amazon Resource Name (ARN) of the domain to grant access to.
*/ inline const Aws::String& GetDomainArn() const{ return m_domainArn; } /** *The Amazon Resource Name (ARN) of the domain to grant access to.
*/ inline bool DomainArnHasBeenSet() const { return m_domainArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the domain to grant access to.
*/ inline void SetDomainArn(const Aws::String& value) { m_domainArnHasBeenSet = true; m_domainArn = value; } /** *The Amazon Resource Name (ARN) of the domain to grant access to.
*/ inline void SetDomainArn(Aws::String&& value) { m_domainArnHasBeenSet = true; m_domainArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the domain to grant access to.
*/ inline void SetDomainArn(const char* value) { m_domainArnHasBeenSet = true; m_domainArn.assign(value); } /** *The Amazon Resource Name (ARN) of the domain to grant access to.
*/ inline CreateVpcEndpointRequest& WithDomainArn(const Aws::String& value) { SetDomainArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the domain to grant access to.
*/ inline CreateVpcEndpointRequest& WithDomainArn(Aws::String&& value) { SetDomainArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the domain to grant access to.
*/ inline CreateVpcEndpointRequest& WithDomainArn(const char* value) { SetDomainArn(value); return *this;} /** *Options to specify the subnets and security groups for the endpoint.
*/ inline const VPCOptions& GetVpcOptions() const{ return m_vpcOptions; } /** *Options to specify the subnets and security groups for the endpoint.
*/ inline bool VpcOptionsHasBeenSet() const { return m_vpcOptionsHasBeenSet; } /** *Options to specify the subnets and security groups for the endpoint.
*/ inline void SetVpcOptions(const VPCOptions& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = value; } /** *Options to specify the subnets and security groups for the endpoint.
*/ inline void SetVpcOptions(VPCOptions&& value) { m_vpcOptionsHasBeenSet = true; m_vpcOptions = std::move(value); } /** *Options to specify the subnets and security groups for the endpoint.
*/ inline CreateVpcEndpointRequest& WithVpcOptions(const VPCOptions& value) { SetVpcOptions(value); return *this;} /** *Options to specify the subnets and security groups for the endpoint.
*/ inline CreateVpcEndpointRequest& WithVpcOptions(VPCOptions&& value) { SetVpcOptions(std::move(value)); return *this;} /** *Unique, case-sensitive identifier to ensure idempotency of the request.
*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *Unique, case-sensitive identifier to ensure idempotency of the request.
*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *Unique, case-sensitive identifier to ensure idempotency of the request.
*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *Unique, case-sensitive identifier to ensure idempotency of the request.
*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *Unique, case-sensitive identifier to ensure idempotency of the request.
*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *Unique, case-sensitive identifier to ensure idempotency of the request.
*/ inline CreateVpcEndpointRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *Unique, case-sensitive identifier to ensure idempotency of the request.
*/ inline CreateVpcEndpointRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *Unique, case-sensitive identifier to ensure idempotency of the request.
*/ inline CreateVpcEndpointRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} private: Aws::String m_domainArn; bool m_domainArnHasBeenSet = false; VPCOptions m_vpcOptions; bool m_vpcOptionsHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws