AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeAcceleratorOfferingsRequest.h
1
6#pragma once
7#include <aws/elastic-inference/ElasticInference_EXPORTS.h>
8#include <aws/elastic-inference/ElasticInferenceRequest.h>
9#include <aws/elastic-inference/model/LocationType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace ElasticInference
17{
18namespace Model
19{
20
24 {
25 public:
26 AWS_ELASTICINFERENCE_API DescribeAcceleratorOfferingsRequest();
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "DescribeAcceleratorOfferings"; }
33
34 AWS_ELASTICINFERENCE_API Aws::String SerializePayload() const override;
35
36
38
46 inline const LocationType& GetLocationType() const{ return m_locationType; }
47 inline bool LocationTypeHasBeenSet() const { return m_locationTypeHasBeenSet; }
48 inline void SetLocationType(const LocationType& value) { m_locationTypeHasBeenSet = true; m_locationType = value; }
49 inline void SetLocationType(LocationType&& value) { m_locationTypeHasBeenSet = true; m_locationType = std::move(value); }
51 inline DescribeAcceleratorOfferingsRequest& WithLocationType(LocationType&& value) { SetLocationType(std::move(value)); return *this;}
53
55
58 inline const Aws::Vector<Aws::String>& GetAcceleratorTypes() const{ return m_acceleratorTypes; }
59 inline bool AcceleratorTypesHasBeenSet() const { return m_acceleratorTypesHasBeenSet; }
60 inline void SetAcceleratorTypes(const Aws::Vector<Aws::String>& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = value; }
61 inline void SetAcceleratorTypes(Aws::Vector<Aws::String>&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes = std::move(value); }
64 inline DescribeAcceleratorOfferingsRequest& AddAcceleratorTypes(const Aws::String& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(value); return *this; }
65 inline DescribeAcceleratorOfferingsRequest& AddAcceleratorTypes(Aws::String&& value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(std::move(value)); return *this; }
66 inline DescribeAcceleratorOfferingsRequest& AddAcceleratorTypes(const char* value) { m_acceleratorTypesHasBeenSet = true; m_acceleratorTypes.push_back(value); return *this; }
68 private:
69
70 LocationType m_locationType;
71 bool m_locationTypeHasBeenSet = false;
72
73 Aws::Vector<Aws::String> m_acceleratorTypes;
74 bool m_acceleratorTypesHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace ElasticInference
79} // namespace Aws
DescribeAcceleratorOfferingsRequest & WithAcceleratorTypes(Aws::Vector< Aws::String > &&value)
DescribeAcceleratorOfferingsRequest & WithAcceleratorTypes(const Aws::Vector< Aws::String > &value)
DescribeAcceleratorOfferingsRequest & WithLocationType(LocationType &&value)
DescribeAcceleratorOfferingsRequest & AddAcceleratorTypes(const char *value)
AWS_ELASTICINFERENCE_API Aws::String SerializePayload() const override
DescribeAcceleratorOfferingsRequest & WithLocationType(const LocationType &value)
DescribeAcceleratorOfferingsRequest & AddAcceleratorTypes(Aws::String &&value)
DescribeAcceleratorOfferingsRequest & AddAcceleratorTypes(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector