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

The list of accelerator type offerings for a specific location.

*/ inline const Aws::Vector& GetAcceleratorTypeOfferings() const{ return m_acceleratorTypeOfferings; } /** *

The list of accelerator type offerings for a specific location.

*/ inline void SetAcceleratorTypeOfferings(const Aws::Vector& value) { m_acceleratorTypeOfferings = value; } /** *

The list of accelerator type offerings for a specific location.

*/ inline void SetAcceleratorTypeOfferings(Aws::Vector&& value) { m_acceleratorTypeOfferings = std::move(value); } /** *

The list of accelerator type offerings for a specific location.

*/ inline DescribeAcceleratorOfferingsResult& WithAcceleratorTypeOfferings(const Aws::Vector& value) { SetAcceleratorTypeOfferings(value); return *this;} /** *

The list of accelerator type offerings for a specific location.

*/ inline DescribeAcceleratorOfferingsResult& WithAcceleratorTypeOfferings(Aws::Vector&& value) { SetAcceleratorTypeOfferings(std::move(value)); return *this;} /** *

The list of accelerator type offerings for a specific location.

*/ inline DescribeAcceleratorOfferingsResult& AddAcceleratorTypeOfferings(const AcceleratorTypeOffering& value) { m_acceleratorTypeOfferings.push_back(value); return *this; } /** *

The list of accelerator type offerings for a specific location.

*/ inline DescribeAcceleratorOfferingsResult& AddAcceleratorTypeOfferings(AcceleratorTypeOffering&& value) { m_acceleratorTypeOfferings.push_back(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 DescribeAcceleratorOfferingsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAcceleratorOfferingsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAcceleratorOfferingsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_acceleratorTypeOfferings; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticInference } // namespace Aws