74 lines
2.5 KiB
C++
74 lines
2.5 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/es/ElasticsearchService_EXPORTS.h>
|
|
#include <aws/es/model/ServiceSoftwareOptions.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
template<typename RESULT_TYPE>
|
|
class AmazonWebServiceResult;
|
|
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace ElasticsearchService
|
|
{
|
|
namespace Model
|
|
{
|
|
/**
|
|
* <p>The result of a <code>StartElasticsearchServiceSoftwareUpdate</code>
|
|
* operation. Contains the status of the update.</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/StartElasticsearchServiceSoftwareUpdateResponse">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_ELASTICSEARCHSERVICE_API StartElasticsearchServiceSoftwareUpdateResult
|
|
{
|
|
public:
|
|
StartElasticsearchServiceSoftwareUpdateResult();
|
|
StartElasticsearchServiceSoftwareUpdateResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
StartElasticsearchServiceSoftwareUpdateResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|
|
|
|
|
/**
|
|
* <p>The current status of the Elasticsearch service software update.</p>
|
|
*/
|
|
inline const ServiceSoftwareOptions& GetServiceSoftwareOptions() const{ return m_serviceSoftwareOptions; }
|
|
|
|
/**
|
|
* <p>The current status of the Elasticsearch service software update.</p>
|
|
*/
|
|
inline void SetServiceSoftwareOptions(const ServiceSoftwareOptions& value) { m_serviceSoftwareOptions = value; }
|
|
|
|
/**
|
|
* <p>The current status of the Elasticsearch service software update.</p>
|
|
*/
|
|
inline void SetServiceSoftwareOptions(ServiceSoftwareOptions&& value) { m_serviceSoftwareOptions = std::move(value); }
|
|
|
|
/**
|
|
* <p>The current status of the Elasticsearch service software update.</p>
|
|
*/
|
|
inline StartElasticsearchServiceSoftwareUpdateResult& WithServiceSoftwareOptions(const ServiceSoftwareOptions& value) { SetServiceSoftwareOptions(value); return *this;}
|
|
|
|
/**
|
|
* <p>The current status of the Elasticsearch service software update.</p>
|
|
*/
|
|
inline StartElasticsearchServiceSoftwareUpdateResult& WithServiceSoftwareOptions(ServiceSoftwareOptions&& value) { SetServiceSoftwareOptions(std::move(value)); return *this;}
|
|
|
|
private:
|
|
|
|
ServiceSoftwareOptions m_serviceSoftwareOptions;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace ElasticsearchService
|
|
} // namespace Aws
|