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

The result of a UpdateDomainEndpointOptions request. Contains * the configuration and status of the domain's endpoint options.

See * Also:

AWS * API Reference

*/ class AWS_CLOUDSEARCH_API UpdateDomainEndpointOptionsResult { public: UpdateDomainEndpointOptionsResult(); UpdateDomainEndpointOptionsResult(const Aws::AmazonWebServiceResult& result); UpdateDomainEndpointOptionsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The newly-configured domain endpoint options.

*/ inline const DomainEndpointOptionsStatus& GetDomainEndpointOptions() const{ return m_domainEndpointOptions; } /** *

The newly-configured domain endpoint options.

*/ inline void SetDomainEndpointOptions(const DomainEndpointOptionsStatus& value) { m_domainEndpointOptions = value; } /** *

The newly-configured domain endpoint options.

*/ inline void SetDomainEndpointOptions(DomainEndpointOptionsStatus&& value) { m_domainEndpointOptions = std::move(value); } /** *

The newly-configured domain endpoint options.

*/ inline UpdateDomainEndpointOptionsResult& WithDomainEndpointOptions(const DomainEndpointOptionsStatus& value) { SetDomainEndpointOptions(value); return *this;} /** *

The newly-configured domain endpoint options.

*/ inline UpdateDomainEndpointOptionsResult& WithDomainEndpointOptions(DomainEndpointOptionsStatus&& value) { SetDomainEndpointOptions(std::move(value)); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline UpdateDomainEndpointOptionsResult& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline UpdateDomainEndpointOptionsResult& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: DomainEndpointOptionsStatus m_domainEndpointOptions; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace CloudSearch } // namespace Aws