/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes supported operating systems in AWS OpsWorks Stacks.See
* Also:
AWS
* API Reference
The name of the operating system, such as Amazon Linux
* 2018.03
.
The name of the operating system, such as Amazon Linux
* 2018.03
.
The name of the operating system, such as Amazon Linux
* 2018.03
.
The name of the operating system, such as Amazon Linux
* 2018.03
.
The name of the operating system, such as Amazon Linux
* 2018.03
.
The name of the operating system, such as Amazon Linux
* 2018.03
.
The name of the operating system, such as Amazon Linux
* 2018.03
.
The name of the operating system, such as Amazon Linux
* 2018.03
.
The ID of a supported operating system, such as Amazon Linux
* 2018.03
.
The ID of a supported operating system, such as Amazon Linux
* 2018.03
.
The ID of a supported operating system, such as Amazon Linux
* 2018.03
.
The ID of a supported operating system, such as Amazon Linux
* 2018.03
.
The ID of a supported operating system, such as Amazon Linux
* 2018.03
.
The ID of a supported operating system, such as Amazon Linux
* 2018.03
.
The ID of a supported operating system, such as Amazon Linux
* 2018.03
.
The ID of a supported operating system, such as Amazon Linux
* 2018.03
.
The type of a supported operating system, either Linux
or
* Windows
.
The type of a supported operating system, either Linux
or
* Windows
.
The type of a supported operating system, either Linux
or
* Windows
.
The type of a supported operating system, either Linux
or
* Windows
.
The type of a supported operating system, either Linux
or
* Windows
.
The type of a supported operating system, either Linux
or
* Windows
.
The type of a supported operating system, either Linux
or
* Windows
.
The type of a supported operating system, either Linux
or
* Windows
.
Supported configuration manager name and versions for an AWS OpsWorks Stacks * operating system.
*/ inline const Aws::VectorSupported configuration manager name and versions for an AWS OpsWorks Stacks * operating system.
*/ inline bool ConfigurationManagersHasBeenSet() const { return m_configurationManagersHasBeenSet; } /** *Supported configuration manager name and versions for an AWS OpsWorks Stacks * operating system.
*/ inline void SetConfigurationManagers(const Aws::VectorSupported configuration manager name and versions for an AWS OpsWorks Stacks * operating system.
*/ inline void SetConfigurationManagers(Aws::VectorSupported configuration manager name and versions for an AWS OpsWorks Stacks * operating system.
*/ inline OperatingSystem& WithConfigurationManagers(const Aws::VectorSupported configuration manager name and versions for an AWS OpsWorks Stacks * operating system.
*/ inline OperatingSystem& WithConfigurationManagers(Aws::VectorSupported configuration manager name and versions for an AWS OpsWorks Stacks * operating system.
*/ inline OperatingSystem& AddConfigurationManagers(const OperatingSystemConfigurationManager& value) { m_configurationManagersHasBeenSet = true; m_configurationManagers.push_back(value); return *this; } /** *Supported configuration manager name and versions for an AWS OpsWorks Stacks * operating system.
*/ inline OperatingSystem& AddConfigurationManagers(OperatingSystemConfigurationManager&& value) { m_configurationManagersHasBeenSet = true; m_configurationManagers.push_back(std::move(value)); return *this; } /** *A short name for the operating system manufacturer.
*/ inline const Aws::String& GetReportedName() const{ return m_reportedName; } /** *A short name for the operating system manufacturer.
*/ inline bool ReportedNameHasBeenSet() const { return m_reportedNameHasBeenSet; } /** *A short name for the operating system manufacturer.
*/ inline void SetReportedName(const Aws::String& value) { m_reportedNameHasBeenSet = true; m_reportedName = value; } /** *A short name for the operating system manufacturer.
*/ inline void SetReportedName(Aws::String&& value) { m_reportedNameHasBeenSet = true; m_reportedName = std::move(value); } /** *A short name for the operating system manufacturer.
*/ inline void SetReportedName(const char* value) { m_reportedNameHasBeenSet = true; m_reportedName.assign(value); } /** *A short name for the operating system manufacturer.
*/ inline OperatingSystem& WithReportedName(const Aws::String& value) { SetReportedName(value); return *this;} /** *A short name for the operating system manufacturer.
*/ inline OperatingSystem& WithReportedName(Aws::String&& value) { SetReportedName(std::move(value)); return *this;} /** *A short name for the operating system manufacturer.
*/ inline OperatingSystem& WithReportedName(const char* value) { SetReportedName(value); return *this;} /** *The version of the operating system, including the release and edition, if * applicable.
*/ inline const Aws::String& GetReportedVersion() const{ return m_reportedVersion; } /** *The version of the operating system, including the release and edition, if * applicable.
*/ inline bool ReportedVersionHasBeenSet() const { return m_reportedVersionHasBeenSet; } /** *The version of the operating system, including the release and edition, if * applicable.
*/ inline void SetReportedVersion(const Aws::String& value) { m_reportedVersionHasBeenSet = true; m_reportedVersion = value; } /** *The version of the operating system, including the release and edition, if * applicable.
*/ inline void SetReportedVersion(Aws::String&& value) { m_reportedVersionHasBeenSet = true; m_reportedVersion = std::move(value); } /** *The version of the operating system, including the release and edition, if * applicable.
*/ inline void SetReportedVersion(const char* value) { m_reportedVersionHasBeenSet = true; m_reportedVersion.assign(value); } /** *The version of the operating system, including the release and edition, if * applicable.
*/ inline OperatingSystem& WithReportedVersion(const Aws::String& value) { SetReportedVersion(value); return *this;} /** *The version of the operating system, including the release and edition, if * applicable.
*/ inline OperatingSystem& WithReportedVersion(Aws::String&& value) { SetReportedVersion(std::move(value)); return *this;} /** *The version of the operating system, including the release and edition, if * applicable.
*/ inline OperatingSystem& WithReportedVersion(const char* value) { SetReportedVersion(value); return *this;} /** *Indicates that an operating system is not supported for new instances.
*/ inline bool GetSupported() const{ return m_supported; } /** *Indicates that an operating system is not supported for new instances.
*/ inline bool SupportedHasBeenSet() const { return m_supportedHasBeenSet; } /** *Indicates that an operating system is not supported for new instances.
*/ inline void SetSupported(bool value) { m_supportedHasBeenSet = true; m_supported = value; } /** *Indicates that an operating system is not supported for new instances.
*/ inline OperatingSystem& WithSupported(bool value) { SetSupported(value); return *this;} private: Aws::String m_name; bool m_nameHasBeenSet = false; Aws::String m_id; bool m_idHasBeenSet = false; Aws::String m_type; bool m_typeHasBeenSet = false; Aws::Vector