/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The result of a StartElasticsearchServiceSoftwareUpdate
* operation. Contains the status of the update.See Also:
AWS
* API Reference
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 StartElasticsearchServiceSoftwareUpdateResult& WithServiceSoftwareOptions(const ServiceSoftwareOptions& value) { SetServiceSoftwareOptions(value); return *this;} /** *The current status of the Elasticsearch service software update.
*/ inline StartElasticsearchServiceSoftwareUpdateResult& WithServiceSoftwareOptions(ServiceSoftwareOptions&& value) { SetServiceSoftwareOptions(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline StartElasticsearchServiceSoftwareUpdateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline StartElasticsearchServiceSoftwareUpdateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline StartElasticsearchServiceSoftwareUpdateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ServiceSoftwareOptions m_serviceSoftwareOptions; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticsearchService } // namespace Aws