/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Athena { namespace Model { /** *

Contains the application runtime IDs and their supported DPU * sizes.

See Also:

AWS * API Reference

*/ class ApplicationDPUSizes { public: AWS_ATHENA_API ApplicationDPUSizes(); AWS_ATHENA_API ApplicationDPUSizes(Aws::Utils::Json::JsonView jsonValue); AWS_ATHENA_API ApplicationDPUSizes& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_ATHENA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the supported application runtime (for example, Athena * notebook version 1).

*/ inline const Aws::String& GetApplicationRuntimeId() const{ return m_applicationRuntimeId; } /** *

The name of the supported application runtime (for example, Athena * notebook version 1).

*/ inline bool ApplicationRuntimeIdHasBeenSet() const { return m_applicationRuntimeIdHasBeenSet; } /** *

The name of the supported application runtime (for example, Athena * notebook version 1).

*/ inline void SetApplicationRuntimeId(const Aws::String& value) { m_applicationRuntimeIdHasBeenSet = true; m_applicationRuntimeId = value; } /** *

The name of the supported application runtime (for example, Athena * notebook version 1).

*/ inline void SetApplicationRuntimeId(Aws::String&& value) { m_applicationRuntimeIdHasBeenSet = true; m_applicationRuntimeId = std::move(value); } /** *

The name of the supported application runtime (for example, Athena * notebook version 1).

*/ inline void SetApplicationRuntimeId(const char* value) { m_applicationRuntimeIdHasBeenSet = true; m_applicationRuntimeId.assign(value); } /** *

The name of the supported application runtime (for example, Athena * notebook version 1).

*/ inline ApplicationDPUSizes& WithApplicationRuntimeId(const Aws::String& value) { SetApplicationRuntimeId(value); return *this;} /** *

The name of the supported application runtime (for example, Athena * notebook version 1).

*/ inline ApplicationDPUSizes& WithApplicationRuntimeId(Aws::String&& value) { SetApplicationRuntimeId(std::move(value)); return *this;} /** *

The name of the supported application runtime (for example, Athena * notebook version 1).

*/ inline ApplicationDPUSizes& WithApplicationRuntimeId(const char* value) { SetApplicationRuntimeId(value); return *this;} /** *

A list of the supported DPU sizes that the application runtime supports.

*/ inline const Aws::Vector& GetSupportedDPUSizes() const{ return m_supportedDPUSizes; } /** *

A list of the supported DPU sizes that the application runtime supports.

*/ inline bool SupportedDPUSizesHasBeenSet() const { return m_supportedDPUSizesHasBeenSet; } /** *

A list of the supported DPU sizes that the application runtime supports.

*/ inline void SetSupportedDPUSizes(const Aws::Vector& value) { m_supportedDPUSizesHasBeenSet = true; m_supportedDPUSizes = value; } /** *

A list of the supported DPU sizes that the application runtime supports.

*/ inline void SetSupportedDPUSizes(Aws::Vector&& value) { m_supportedDPUSizesHasBeenSet = true; m_supportedDPUSizes = std::move(value); } /** *

A list of the supported DPU sizes that the application runtime supports.

*/ inline ApplicationDPUSizes& WithSupportedDPUSizes(const Aws::Vector& value) { SetSupportedDPUSizes(value); return *this;} /** *

A list of the supported DPU sizes that the application runtime supports.

*/ inline ApplicationDPUSizes& WithSupportedDPUSizes(Aws::Vector&& value) { SetSupportedDPUSizes(std::move(value)); return *this;} /** *

A list of the supported DPU sizes that the application runtime supports.

*/ inline ApplicationDPUSizes& AddSupportedDPUSizes(int value) { m_supportedDPUSizesHasBeenSet = true; m_supportedDPUSizes.push_back(value); return *this; } private: Aws::String m_applicationRuntimeId; bool m_applicationRuntimeIdHasBeenSet = false; Aws::Vector m_supportedDPUSizes; bool m_supportedDPUSizesHasBeenSet = false; }; } // namespace Model } // namespace Athena } // namespace Aws