/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Revokes access to an Amazon OpenSearch Service domain that was provided
* through an interface VPC endpoint.See Also:
AWS
* API Reference
The name of the OpenSearch Service domain.
*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *The name of the OpenSearch Service domain.
*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *The name of the OpenSearch Service domain.
*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *The name of the OpenSearch Service domain.
*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *The name of the OpenSearch Service domain.
*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *The name of the OpenSearch Service domain.
*/ inline RevokeVpcEndpointAccessRequest& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *The name of the OpenSearch Service domain.
*/ inline RevokeVpcEndpointAccessRequest& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *The name of the OpenSearch Service domain.
*/ inline RevokeVpcEndpointAccessRequest& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *The account ID to revoke access from.
*/ inline const Aws::String& GetAccount() const{ return m_account; } /** *The account ID to revoke access from.
*/ inline bool AccountHasBeenSet() const { return m_accountHasBeenSet; } /** *The account ID to revoke access from.
*/ inline void SetAccount(const Aws::String& value) { m_accountHasBeenSet = true; m_account = value; } /** *The account ID to revoke access from.
*/ inline void SetAccount(Aws::String&& value) { m_accountHasBeenSet = true; m_account = std::move(value); } /** *The account ID to revoke access from.
*/ inline void SetAccount(const char* value) { m_accountHasBeenSet = true; m_account.assign(value); } /** *The account ID to revoke access from.
*/ inline RevokeVpcEndpointAccessRequest& WithAccount(const Aws::String& value) { SetAccount(value); return *this;} /** *The account ID to revoke access from.
*/ inline RevokeVpcEndpointAccessRequest& WithAccount(Aws::String&& value) { SetAccount(std::move(value)); return *this;} /** *The account ID to revoke access from.
*/ inline RevokeVpcEndpointAccessRequest& WithAccount(const char* value) { SetAccount(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_account; bool m_accountHasBeenSet = false; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws