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

The configuration and status of the domain's endpoint options.

See * Also:

AWS * API Reference

*/ class DomainEndpointOptionsStatus { public: AWS_CLOUDSEARCH_API DomainEndpointOptionsStatus(); AWS_CLOUDSEARCH_API DomainEndpointOptionsStatus(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDSEARCH_API DomainEndpointOptionsStatus& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; AWS_CLOUDSEARCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The domain endpoint options configured for the domain.

*/ inline const DomainEndpointOptions& GetOptions() const{ return m_options; } /** *

The domain endpoint options configured for the domain.

*/ inline bool OptionsHasBeenSet() const { return m_optionsHasBeenSet; } /** *

The domain endpoint options configured for the domain.

*/ inline void SetOptions(const DomainEndpointOptions& value) { m_optionsHasBeenSet = true; m_options = value; } /** *

The domain endpoint options configured for the domain.

*/ inline void SetOptions(DomainEndpointOptions&& value) { m_optionsHasBeenSet = true; m_options = std::move(value); } /** *

The domain endpoint options configured for the domain.

*/ inline DomainEndpointOptionsStatus& WithOptions(const DomainEndpointOptions& value) { SetOptions(value); return *this;} /** *

The domain endpoint options configured for the domain.

*/ inline DomainEndpointOptionsStatus& WithOptions(DomainEndpointOptions&& value) { SetOptions(std::move(value)); return *this;} /** *

The status of the configured domain endpoint options.

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

The status of the configured domain endpoint options.

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

The status of the configured domain endpoint options.

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

The status of the configured domain endpoint options.

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

The status of the configured domain endpoint options.

*/ inline DomainEndpointOptionsStatus& WithStatus(const OptionStatus& value) { SetStatus(value); return *this;} /** *

The status of the configured domain endpoint options.

*/ inline DomainEndpointOptionsStatus& WithStatus(OptionStatus&& value) { SetStatus(std::move(value)); return *this;} private: DomainEndpointOptions m_options; bool m_optionsHasBeenSet = false; OptionStatus m_status; bool m_statusHasBeenSet = false; }; } // namespace Model } // namespace CloudSearch } // namespace Aws