/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the platform for the Amazon ECS service or task. For
* more information about RuntimePlatform
, see RuntimePlatform
* in the Amazon Elastic Container Service Developer Guide.See
* Also:
AWS
* API Reference
The CPU architecture.
You can run your Linux tasks on an ARM-based
* platform by setting the value to ARM64
. This option is available
* for tasks that run on Linux Amazon EC2 instance or Linux containers on
* Fargate.
The CPU architecture.
You can run your Linux tasks on an ARM-based
* platform by setting the value to ARM64
. This option is available
* for tasks that run on Linux Amazon EC2 instance or Linux containers on
* Fargate.
The CPU architecture.
You can run your Linux tasks on an ARM-based
* platform by setting the value to ARM64
. This option is available
* for tasks that run on Linux Amazon EC2 instance or Linux containers on
* Fargate.
The CPU architecture.
You can run your Linux tasks on an ARM-based
* platform by setting the value to ARM64
. This option is available
* for tasks that run on Linux Amazon EC2 instance or Linux containers on
* Fargate.
The CPU architecture.
You can run your Linux tasks on an ARM-based
* platform by setting the value to ARM64
. This option is available
* for tasks that run on Linux Amazon EC2 instance or Linux containers on
* Fargate.
The CPU architecture.
You can run your Linux tasks on an ARM-based
* platform by setting the value to ARM64
. This option is available
* for tasks that run on Linux Amazon EC2 instance or Linux containers on
* Fargate.
The operating system.
*/ inline const OSFamily& GetOperatingSystemFamily() const{ return m_operatingSystemFamily; } /** *The operating system.
*/ inline bool OperatingSystemFamilyHasBeenSet() const { return m_operatingSystemFamilyHasBeenSet; } /** *The operating system.
*/ inline void SetOperatingSystemFamily(const OSFamily& value) { m_operatingSystemFamilyHasBeenSet = true; m_operatingSystemFamily = value; } /** *The operating system.
*/ inline void SetOperatingSystemFamily(OSFamily&& value) { m_operatingSystemFamilyHasBeenSet = true; m_operatingSystemFamily = std::move(value); } /** *The operating system.
*/ inline RuntimePlatform& WithOperatingSystemFamily(const OSFamily& value) { SetOperatingSystemFamily(value); return *this;} /** *The operating system.
*/ inline RuntimePlatform& WithOperatingSystemFamily(OSFamily&& value) { SetOperatingSystemFamily(std::move(value)); return *this;} private: CPUArchitecture m_cpuArchitecture; bool m_cpuArchitectureHasBeenSet = false; OSFamily m_operatingSystemFamily; bool m_operatingSystemFamilyHasBeenSet = false; }; } // namespace Model } // namespace ECS } // namespace Aws