123 lines
4.5 KiB
C
123 lines
4.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/core/utils/memory/stl/AWSString.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>Represents the output of a
|
|||
|
|
* <code>PurchaseReservedElasticsearchInstanceOffering</code>
|
|||
|
|
* operation.</p><p><h3>See Also:</h3> <a
|
|||
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/es-2015-01-01/PurchaseReservedElasticsearchInstanceOfferingResponse">AWS
|
|||
|
|
* API Reference</a></p>
|
|||
|
|
*/
|
|||
|
|
class AWS_ELASTICSEARCHSERVICE_API PurchaseReservedElasticsearchInstanceOfferingResult
|
|||
|
|
{
|
|||
|
|
public:
|
|||
|
|
PurchaseReservedElasticsearchInstanceOfferingResult();
|
|||
|
|
PurchaseReservedElasticsearchInstanceOfferingResult(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
PurchaseReservedElasticsearchInstanceOfferingResult& operator=(const Aws::AmazonWebServiceResult<Aws::Utils::Json::JsonValue>& result);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Details of the reserved Elasticsearch instance which was purchased.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetReservedElasticsearchInstanceId() const{ return m_reservedElasticsearchInstanceId; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Details of the reserved Elasticsearch instance which was purchased.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetReservedElasticsearchInstanceId(const Aws::String& value) { m_reservedElasticsearchInstanceId = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Details of the reserved Elasticsearch instance which was purchased.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetReservedElasticsearchInstanceId(Aws::String&& value) { m_reservedElasticsearchInstanceId = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Details of the reserved Elasticsearch instance which was purchased.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetReservedElasticsearchInstanceId(const char* value) { m_reservedElasticsearchInstanceId.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Details of the reserved Elasticsearch instance which was purchased.</p>
|
|||
|
|
*/
|
|||
|
|
inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservedElasticsearchInstanceId(const Aws::String& value) { SetReservedElasticsearchInstanceId(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Details of the reserved Elasticsearch instance which was purchased.</p>
|
|||
|
|
*/
|
|||
|
|
inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservedElasticsearchInstanceId(Aws::String&& value) { SetReservedElasticsearchInstanceId(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>Details of the reserved Elasticsearch instance which was purchased.</p>
|
|||
|
|
*/
|
|||
|
|
inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservedElasticsearchInstanceId(const char* value) { SetReservedElasticsearchInstanceId(value); return *this;}
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The customer-specified identifier used to track this reservation.</p>
|
|||
|
|
*/
|
|||
|
|
inline const Aws::String& GetReservationName() const{ return m_reservationName; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The customer-specified identifier used to track this reservation.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetReservationName(const Aws::String& value) { m_reservationName = value; }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The customer-specified identifier used to track this reservation.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetReservationName(Aws::String&& value) { m_reservationName = std::move(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The customer-specified identifier used to track this reservation.</p>
|
|||
|
|
*/
|
|||
|
|
inline void SetReservationName(const char* value) { m_reservationName.assign(value); }
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The customer-specified identifier used to track this reservation.</p>
|
|||
|
|
*/
|
|||
|
|
inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservationName(const Aws::String& value) { SetReservationName(value); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The customer-specified identifier used to track this reservation.</p>
|
|||
|
|
*/
|
|||
|
|
inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservationName(Aws::String&& value) { SetReservationName(std::move(value)); return *this;}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* <p>The customer-specified identifier used to track this reservation.</p>
|
|||
|
|
*/
|
|||
|
|
inline PurchaseReservedElasticsearchInstanceOfferingResult& WithReservationName(const char* value) { SetReservationName(value); return *this;}
|
|||
|
|
|
|||
|
|
private:
|
|||
|
|
|
|||
|
|
Aws::String m_reservedElasticsearchInstanceId;
|
|||
|
|
|
|||
|
|
Aws::String m_reservationName;
|
|||
|
|
};
|
|||
|
|
|
|||
|
|
} // namespace Model
|
|||
|
|
} // namespace ElasticsearchService
|
|||
|
|
} // namespace Aws
|