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

Information about an Amazon OpenSearch Service domain.

See * Also:

AWS * API Reference

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

The Amazon Web Services account ID of the domain owner.

*/ inline const Aws::String& GetOwnerId() const{ return m_ownerId; } /** *

The Amazon Web Services account ID of the domain owner.

*/ inline bool OwnerIdHasBeenSet() const { return m_ownerIdHasBeenSet; } /** *

The Amazon Web Services account ID of the domain owner.

*/ inline void SetOwnerId(const Aws::String& value) { m_ownerIdHasBeenSet = true; m_ownerId = value; } /** *

The Amazon Web Services account ID of the domain owner.

*/ inline void SetOwnerId(Aws::String&& value) { m_ownerIdHasBeenSet = true; m_ownerId = std::move(value); } /** *

The Amazon Web Services account ID of the domain owner.

*/ inline void SetOwnerId(const char* value) { m_ownerIdHasBeenSet = true; m_ownerId.assign(value); } /** *

The Amazon Web Services account ID of the domain owner.

*/ inline AWSDomainInformation& WithOwnerId(const Aws::String& value) { SetOwnerId(value); return *this;} /** *

The Amazon Web Services account ID of the domain owner.

*/ inline AWSDomainInformation& WithOwnerId(Aws::String&& value) { SetOwnerId(std::move(value)); return *this;} /** *

The Amazon Web Services account ID of the domain owner.

*/ inline AWSDomainInformation& WithOwnerId(const char* value) { SetOwnerId(value); return *this;} /** *

Name of the domain.

*/ inline const Aws::String& GetDomainName() const{ return m_domainName; } /** *

Name of the domain.

*/ inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; } /** *

Name of the domain.

*/ inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; } /** *

Name of the domain.

*/ inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); } /** *

Name of the domain.

*/ inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); } /** *

Name of the domain.

*/ inline AWSDomainInformation& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;} /** *

Name of the domain.

*/ inline AWSDomainInformation& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;} /** *

Name of the domain.

*/ inline AWSDomainInformation& WithDomainName(const char* value) { SetDomainName(value); return *this;} /** *

The Amazon Web Services Region in which the domain is located.

*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *

The Amazon Web Services Region in which the domain is located.

*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *

The Amazon Web Services Region in which the domain is located.

*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *

The Amazon Web Services Region in which the domain is located.

*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *

The Amazon Web Services Region in which the domain is located.

*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *

The Amazon Web Services Region in which the domain is located.

*/ inline AWSDomainInformation& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *

The Amazon Web Services Region in which the domain is located.

*/ inline AWSDomainInformation& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *

The Amazon Web Services Region in which the domain is located.

*/ inline AWSDomainInformation& WithRegion(const char* value) { SetRegion(value); return *this;} private: Aws::String m_ownerId; bool m_ownerIdHasBeenSet = false; Aws::String m_domainName; bool m_domainNameHasBeenSet = false; Aws::String m_region; bool m_regionHasBeenSet = false; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws