forked from ClickHouse/aws-sdk-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release adds a new exception type to the AWS IoT SetV2LoggingLev…
…el API. This feature allows customers to describe the accelerator types and offerings on any region where Elastic Inference is available. Enable 1hour frequency in the schedule creation for Data LifeCycle Manager.
- Loading branch information
aws-sdk-cpp-automation
committed
Apr 24, 2020
1 parent
cc583e1
commit 6d2ae79
Showing
40 changed files
with
3,717 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
134 changes: 121 additions & 13 deletions
134
aws-cpp-sdk-elastic-inference/include/aws/elastic-inference/ElasticInferenceClient.h
Large diffs are not rendered by default.
Oops, something went wrong.
180 changes: 180 additions & 0 deletions
180
aws-cpp-sdk-elastic-inference/include/aws/elastic-inference/model/AcceleratorType.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,180 @@ | ||
/* | ||
* Copyright 2010-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"). | ||
* You may not use this file except in compliance with the License. | ||
* A copy of the License is located at | ||
* | ||
* http://aws.amazon.com/apache2.0 | ||
* | ||
* or in the "license" file accompanying this file. This file is distributed | ||
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either | ||
* express or implied. See the License for the specific language governing | ||
* permissions and limitations under the License. | ||
*/ | ||
|
||
#pragma once | ||
#include <aws/elastic-inference/ElasticInference_EXPORTS.h> | ||
#include <aws/core/utils/memory/stl/AWSString.h> | ||
#include <aws/elastic-inference/model/MemoryInfo.h> | ||
#include <aws/core/utils/memory/stl/AWSVector.h> | ||
#include <aws/elastic-inference/model/KeyValuePair.h> | ||
#include <utility> | ||
|
||
namespace Aws | ||
{ | ||
namespace Utils | ||
{ | ||
namespace Json | ||
{ | ||
class JsonValue; | ||
class JsonView; | ||
} // namespace Json | ||
} // namespace Utils | ||
namespace ElasticInference | ||
{ | ||
namespace Model | ||
{ | ||
|
||
/** | ||
* <p> The details of an Elastic Inference Accelerator type. </p><p><h3>See | ||
* Also:</h3> <a | ||
* href="http://docs.aws.amazon.com/goto/WebAPI/elastic-inference-2017-07-25/AcceleratorType">AWS | ||
* API Reference</a></p> | ||
*/ | ||
class AWS_ELASTICINFERENCE_API AcceleratorType | ||
{ | ||
public: | ||
AcceleratorType(); | ||
AcceleratorType(Aws::Utils::Json::JsonView jsonValue); | ||
AcceleratorType& operator=(Aws::Utils::Json::JsonView jsonValue); | ||
Aws::Utils::Json::JsonValue Jsonize() const; | ||
|
||
|
||
/** | ||
* <p> The name of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline const Aws::String& GetAcceleratorTypeName() const{ return m_acceleratorTypeName; } | ||
|
||
/** | ||
* <p> The name of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline bool AcceleratorTypeNameHasBeenSet() const { return m_acceleratorTypeNameHasBeenSet; } | ||
|
||
/** | ||
* <p> The name of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline void SetAcceleratorTypeName(const Aws::String& value) { m_acceleratorTypeNameHasBeenSet = true; m_acceleratorTypeName = value; } | ||
|
||
/** | ||
* <p> The name of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline void SetAcceleratorTypeName(Aws::String&& value) { m_acceleratorTypeNameHasBeenSet = true; m_acceleratorTypeName = std::move(value); } | ||
|
||
/** | ||
* <p> The name of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline void SetAcceleratorTypeName(const char* value) { m_acceleratorTypeNameHasBeenSet = true; m_acceleratorTypeName.assign(value); } | ||
|
||
/** | ||
* <p> The name of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline AcceleratorType& WithAcceleratorTypeName(const Aws::String& value) { SetAcceleratorTypeName(value); return *this;} | ||
|
||
/** | ||
* <p> The name of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline AcceleratorType& WithAcceleratorTypeName(Aws::String&& value) { SetAcceleratorTypeName(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p> The name of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline AcceleratorType& WithAcceleratorTypeName(const char* value) { SetAcceleratorTypeName(value); return *this;} | ||
|
||
|
||
/** | ||
* <p> The memory information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline const MemoryInfo& GetMemoryInfo() const{ return m_memoryInfo; } | ||
|
||
/** | ||
* <p> The memory information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline bool MemoryInfoHasBeenSet() const { return m_memoryInfoHasBeenSet; } | ||
|
||
/** | ||
* <p> The memory information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline void SetMemoryInfo(const MemoryInfo& value) { m_memoryInfoHasBeenSet = true; m_memoryInfo = value; } | ||
|
||
/** | ||
* <p> The memory information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline void SetMemoryInfo(MemoryInfo&& value) { m_memoryInfoHasBeenSet = true; m_memoryInfo = std::move(value); } | ||
|
||
/** | ||
* <p> The memory information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline AcceleratorType& WithMemoryInfo(const MemoryInfo& value) { SetMemoryInfo(value); return *this;} | ||
|
||
/** | ||
* <p> The memory information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline AcceleratorType& WithMemoryInfo(MemoryInfo&& value) { SetMemoryInfo(std::move(value)); return *this;} | ||
|
||
|
||
/** | ||
* <p> The throughput information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline const Aws::Vector<KeyValuePair>& GetThroughputInfo() const{ return m_throughputInfo; } | ||
|
||
/** | ||
* <p> The throughput information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline bool ThroughputInfoHasBeenSet() const { return m_throughputInfoHasBeenSet; } | ||
|
||
/** | ||
* <p> The throughput information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline void SetThroughputInfo(const Aws::Vector<KeyValuePair>& value) { m_throughputInfoHasBeenSet = true; m_throughputInfo = value; } | ||
|
||
/** | ||
* <p> The throughput information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline void SetThroughputInfo(Aws::Vector<KeyValuePair>&& value) { m_throughputInfoHasBeenSet = true; m_throughputInfo = std::move(value); } | ||
|
||
/** | ||
* <p> The throughput information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline AcceleratorType& WithThroughputInfo(const Aws::Vector<KeyValuePair>& value) { SetThroughputInfo(value); return *this;} | ||
|
||
/** | ||
* <p> The throughput information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline AcceleratorType& WithThroughputInfo(Aws::Vector<KeyValuePair>&& value) { SetThroughputInfo(std::move(value)); return *this;} | ||
|
||
/** | ||
* <p> The throughput information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline AcceleratorType& AddThroughputInfo(const KeyValuePair& value) { m_throughputInfoHasBeenSet = true; m_throughputInfo.push_back(value); return *this; } | ||
|
||
/** | ||
* <p> The throughput information of the Elastic Inference Accelerator type. </p> | ||
*/ | ||
inline AcceleratorType& AddThroughputInfo(KeyValuePair&& value) { m_throughputInfoHasBeenSet = true; m_throughputInfo.push_back(std::move(value)); return *this; } | ||
|
||
private: | ||
|
||
Aws::String m_acceleratorTypeName; | ||
bool m_acceleratorTypeNameHasBeenSet; | ||
|
||
MemoryInfo m_memoryInfo; | ||
bool m_memoryInfoHasBeenSet; | ||
|
||
Aws::Vector<KeyValuePair> m_throughputInfo; | ||
bool m_throughputInfoHasBeenSet; | ||
}; | ||
|
||
} // namespace Model | ||
} // namespace ElasticInference | ||
} // namespace Aws |
Oops, something went wrong.