/** * 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 DescribeAcceleratorsResult { public: AWS_ELASTICINFERENCE_API DescribeAcceleratorsResult(); AWS_ELASTICINFERENCE_API DescribeAcceleratorsResult(const Aws::AmazonWebServiceResult& result); AWS_ELASTICINFERENCE_API DescribeAcceleratorsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The details of the Elastic Inference Accelerators.

*/ inline const Aws::Vector& GetAcceleratorSet() const{ return m_acceleratorSet; } /** *

The details of the Elastic Inference Accelerators.

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

The details of the Elastic Inference Accelerators.

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

The details of the Elastic Inference Accelerators.

*/ inline DescribeAcceleratorsResult& WithAcceleratorSet(const Aws::Vector& value) { SetAcceleratorSet(value); return *this;} /** *

The details of the Elastic Inference Accelerators.

*/ inline DescribeAcceleratorsResult& WithAcceleratorSet(Aws::Vector&& value) { SetAcceleratorSet(std::move(value)); return *this;} /** *

The details of the Elastic Inference Accelerators.

*/ inline DescribeAcceleratorsResult& AddAcceleratorSet(const ElasticInferenceAccelerator& value) { m_acceleratorSet.push_back(value); return *this; } /** *

The details of the Elastic Inference Accelerators.

*/ inline DescribeAcceleratorsResult& AddAcceleratorSet(ElasticInferenceAccelerator&& value) { m_acceleratorSet.push_back(std::move(value)); return *this; } /** *

A token to specify where to start paginating. This is the NextToken from a * previously truncated response.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

A token to specify where to start paginating. This is the NextToken from a * previously truncated response.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

A token to specify where to start paginating. This is the NextToken from a * previously truncated response.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

A token to specify where to start paginating. This is the NextToken from a * previously truncated response.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

A token to specify where to start paginating. This is the NextToken from a * previously truncated response.

*/ inline DescribeAcceleratorsResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

A token to specify where to start paginating. This is the NextToken from a * previously truncated response.

*/ inline DescribeAcceleratorsResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

A token to specify where to start paginating. This is the NextToken from a * previously truncated response.

*/ inline DescribeAcceleratorsResult& WithNextToken(const char* value) { SetNextToken(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 DescribeAcceleratorsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeAcceleratorsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeAcceleratorsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_acceleratorSet; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace ElasticInference } // namespace Aws