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