/** * 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 ElasticsearchService { namespace Model { class AWS_ELASTICSEARCHSERVICE_API DomainInfo { public: DomainInfo(); DomainInfo(Aws::Utils::Json::JsonView jsonValue); DomainInfo& operator=(Aws::Utils::Json::JsonView jsonValue); Aws::Utils::Json::JsonValue Jsonize() const; /** *

Specifies the DomainName.

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

Specifies the DomainName.

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

Specifies the DomainName.

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

Specifies the DomainName.

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

Specifies the DomainName.

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

Specifies the DomainName.

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

Specifies the DomainName.

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

Specifies the DomainName.

*/ inline DomainInfo& WithDomainName(const char* value) { SetDomainName(value); return *this;} private: Aws::String m_domainName; bool m_domainNameHasBeenSet; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws