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

The result of a CancelElasticsearchServiceSoftwareUpdate * operation. Contains the status of the update.

See Also:

AWS * API Reference

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

The current status of the Elasticsearch service software update.

*/ inline const ServiceSoftwareOptions& GetServiceSoftwareOptions() const{ return m_serviceSoftwareOptions; } /** *

The current status of the Elasticsearch service software update.

*/ inline void SetServiceSoftwareOptions(const ServiceSoftwareOptions& value) { m_serviceSoftwareOptions = value; } /** *

The current status of the Elasticsearch service software update.

*/ inline void SetServiceSoftwareOptions(ServiceSoftwareOptions&& value) { m_serviceSoftwareOptions = std::move(value); } /** *

The current status of the Elasticsearch service software update.

*/ inline CancelElasticsearchServiceSoftwareUpdateResult& WithServiceSoftwareOptions(const ServiceSoftwareOptions& value) { SetServiceSoftwareOptions(value); return *this;} /** *

The current status of the Elasticsearch service software update.

*/ inline CancelElasticsearchServiceSoftwareUpdateResult& WithServiceSoftwareOptions(ServiceSoftwareOptions&& value) { SetServiceSoftwareOptions(std::move(value)); return *this;} private: ServiceSoftwareOptions m_serviceSoftwareOptions; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws