/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Athena { namespace Model { class GetCapacityReservationResult { public: AWS_ATHENA_API GetCapacityReservationResult(); AWS_ATHENA_API GetCapacityReservationResult(const Aws::AmazonWebServiceResult& result); AWS_ATHENA_API GetCapacityReservationResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The requested capacity reservation structure.

*/ inline const CapacityReservation& GetCapacityReservation() const{ return m_capacityReservation; } /** *

The requested capacity reservation structure.

*/ inline void SetCapacityReservation(const CapacityReservation& value) { m_capacityReservation = value; } /** *

The requested capacity reservation structure.

*/ inline void SetCapacityReservation(CapacityReservation&& value) { m_capacityReservation = std::move(value); } /** *

The requested capacity reservation structure.

*/ inline GetCapacityReservationResult& WithCapacityReservation(const CapacityReservation& value) { SetCapacityReservation(value); return *this;} /** *

The requested capacity reservation structure.

*/ inline GetCapacityReservationResult& WithCapacityReservation(CapacityReservation&& value) { SetCapacityReservation(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 GetCapacityReservationResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetCapacityReservationResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetCapacityReservationResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: CapacityReservation m_capacityReservation; Aws::String m_requestId; }; } // namespace Model } // namespace Athena } // namespace Aws