/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for the response to a CancelServiceSoftwareUpdate
* operation. Contains the status of the update.See Also:
AWS
* API Reference
Container for the state of your domain relative to the latest service * software.
*/ inline const ServiceSoftwareOptions& GetServiceSoftwareOptions() const{ return m_serviceSoftwareOptions; } /** *Container for the state of your domain relative to the latest service * software.
*/ inline void SetServiceSoftwareOptions(const ServiceSoftwareOptions& value) { m_serviceSoftwareOptions = value; } /** *Container for the state of your domain relative to the latest service * software.
*/ inline void SetServiceSoftwareOptions(ServiceSoftwareOptions&& value) { m_serviceSoftwareOptions = std::move(value); } /** *Container for the state of your domain relative to the latest service * software.
*/ inline CancelServiceSoftwareUpdateResult& WithServiceSoftwareOptions(const ServiceSoftwareOptions& value) { SetServiceSoftwareOptions(value); return *this;} /** *Container for the state of your domain relative to the latest service * software.
*/ inline CancelServiceSoftwareUpdateResult& 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 CancelServiceSoftwareUpdateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline CancelServiceSoftwareUpdateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline CancelServiceSoftwareUpdateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: ServiceSoftwareOptions m_serviceSoftwareOptions; Aws::String m_requestId; }; } // namespace Model } // namespace OpenSearchService } // namespace Aws