/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace ElasticInference { namespace Model { /** */ class DescribeAcceleratorOfferingsRequest : public ElasticInferenceRequest { public: AWS_ELASTICINFERENCE_API DescribeAcceleratorOfferingsRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "DescribeAcceleratorOfferings"; } AWS_ELASTICINFERENCE_API Aws::String SerializePayload() const override; /** *

The location type that you want to describe accelerator type offerings for. * It can assume the following values: region: will return the accelerator type * offering at the regional level. availability-zone: will return the accelerator * type offering at the availability zone level. availability-zone-id: will return * the accelerator type offering at the availability zone level returning the * availability zone id.

*/ inline const LocationType& GetLocationType() const{ return m_locationType; } /** *

The location type that you want to describe accelerator type offerings for. * It can assume the following values: region: will return the accelerator type * offering at the regional level. availability-zone: will return the accelerator * type offering at the availability zone level. availability-zone-id: will return * the accelerator type offering at the availability zone level returning the * availability zone id.

*/ inline bool LocationTypeHasBeenSet() const { return m_locationTypeHasBeenSet; } /** *

The location type that you want to describe accelerator type offerings for. * It can assume the following values: region: will return the accelerator type * offering at the regional level. availability-zone: will return the accelerator * type offering at the availability zone level. availability-zone-id: will return * the accelerator type offering at the availability zone level returning the * availability zone id.

*/ inline void SetLocationType(const LocationType& value) { m_locationTypeHasBeenSet = true; m_locationType = value; } /** *

The location type that you want to describe accelerator type offerings for. * It can assume the following values: region: will return the accelerator type * offering at the regional level. availability-zone: will return the accelerator * type offering at the availability zone level. availability-zone-id: will return * the accelerator type offering at the availability zone level returning the * availability zone id.

*/ inline void SetLocationType(LocationType&& value) { m_locationTypeHasBeenSet = true; m_locationType = std::move(value); } /** *

The location type that you want to describe accelerator type offerings for. * It can assume the following values: region: will return the accelerator type * offering at the regional level. availability-zone: will return the accelerator * type offering at the availability zone level. availability-zone-id: will return * the accelerator type offering at the availability zone level returning the * availability zone id.

*/ inline DescribeAcceleratorOfferingsRequest& WithLocationType(const LocationType& value) { SetLocationType(value); return *this;} /** *

The location type that you want to describe accelerator type offerings for. * It can assume the following values: region: will return the accelerator type * offering at the regional level. availability-zone: will return the accelerator * type offering at the availability zone level. availability-zone-id: will return * the accelerator type offering at the availability zone level returning the * availability zone id.

*/ inline DescribeAcceleratorOfferingsRequest& WithLocationType(LocationType&& value) { SetLocationType(std::move(value)); return *this;} /** *

The list of accelerator types to describe.

*/ inline const Aws::Vector& GetAcceleratorTypes() const{ return m_acceleratorTypes; } /** *

The list of accelerator types to describe.

*/ inline bool AcceleratorTypesHasBeenSet() const { return m_acceleratorTypesHasBeenSet; } /** *

The list of accelerator types to describe.

*/ inline void SetAcceleratorTypes(const Aws::Vector& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = value; } /** *

The list of accelerator types to describe.

*/ inline void SetAcceleratorTypes(Aws::Vector&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = std::move(value); } /** *

The list of accelerator types to describe.

*/ inline DescribeAcceleratorOfferingsRequest& WithAcceleratorTypes(const Aws::Vector& value) { SetAcceleratorTypes(value); return *this;} /** *

The list of accelerator types to describe.

*/ inline DescribeAcceleratorOfferingsRequest& WithAcceleratorTypes(Aws::Vector&& value) { SetAcceleratorTypes(std::move(value)); return *this;} /** *

The list of accelerator types to describe.

*/ inline DescribeAcceleratorOfferingsRequest& AddAcceleratorTypes(const Aws::String& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(value); return *this; } /** *

The list of accelerator types to describe.

*/ inline DescribeAcceleratorOfferingsRequest& AddAcceleratorTypes(Aws::String&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(std::move(value)); return *this; } /** *

The list of accelerator types to describe.

*/ inline DescribeAcceleratorOfferingsRequest& AddAcceleratorTypes(const char* value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(value); return *this; } private: LocationType m_locationType; bool m_locationTypeHasBeenSet = false; Aws::Vector m_acceleratorTypes; bool m_acceleratorTypesHasBeenSet = false; }; } // namespace Model } // namespace ElasticInference } // namespace Aws