/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An image semantic version.See Also:
AWS
* API Reference
The Amazon Resource Name (ARN) of the image semantic version.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The Amazon Resource Name (ARN) of the image semantic version.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the image semantic version.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The Amazon Resource Name (ARN) of the image semantic version.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The Amazon Resource Name (ARN) of the image semantic version.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The Amazon Resource Name (ARN) of the image semantic version.
*/ inline ImageVersion& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the image semantic version.
*/ inline ImageVersion& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the image semantic version.
*/ inline ImageVersion& WithArn(const char* value) { SetArn(value); return *this;} /** *The name of the image semantic version.
*/ inline const Aws::String& GetName() const{ return m_name; } /** *The name of the image semantic version.
*/ inline bool NameHasBeenSet() const { return m_nameHasBeenSet; } /** *The name of the image semantic version.
*/ inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; } /** *The name of the image semantic version.
*/ inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); } /** *The name of the image semantic version.
*/ inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); } /** *The name of the image semantic version.
*/ inline ImageVersion& WithName(const Aws::String& value) { SetName(value); return *this;} /** *The name of the image semantic version.
*/ inline ImageVersion& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;} /** *The name of the image semantic version.
*/ inline ImageVersion& WithName(const char* value) { SetName(value); return *this;} /** *The semantic version of the image semantic version.
*/ inline const Aws::String& GetVersion() const{ return m_version; } /** *The semantic version of the image semantic version.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The semantic version of the image semantic version.
*/ inline void SetVersion(const Aws::String& value) { m_versionHasBeenSet = true; m_version = value; } /** *The semantic version of the image semantic version.
*/ inline void SetVersion(Aws::String&& value) { m_versionHasBeenSet = true; m_version = std::move(value); } /** *The semantic version of the image semantic version.
*/ inline void SetVersion(const char* value) { m_versionHasBeenSet = true; m_version.assign(value); } /** *The semantic version of the image semantic version.
*/ inline ImageVersion& WithVersion(const Aws::String& value) { SetVersion(value); return *this;} /** *The semantic version of the image semantic version.
*/ inline ImageVersion& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;} /** *The semantic version of the image semantic version.
*/ inline ImageVersion& WithVersion(const char* value) { SetVersion(value); return *this;} /** *The platform of the image semantic version.
*/ inline const Platform& GetPlatform() const{ return m_platform; } /** *The platform of the image semantic version.
*/ inline bool PlatformHasBeenSet() const { return m_platformHasBeenSet; } /** *The platform of the image semantic version.
*/ inline void SetPlatform(const Platform& value) { m_platformHasBeenSet = true; m_platform = value; } /** *The platform of the image semantic version.
*/ inline void SetPlatform(Platform&& value) { m_platformHasBeenSet = true; m_platform = std::move(value); } /** *The platform of the image semantic version.
*/ inline ImageVersion& WithPlatform(const Platform& value) { SetPlatform(value); return *this;} /** *The platform of the image semantic version.
*/ inline ImageVersion& WithPlatform(Platform&& value) { SetPlatform(std::move(value)); return *this;} /** *The operating system version of the instance. For example, Amazon Linux 2, * Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline const Aws::String& GetOsVersion() const{ return m_osVersion; } /** *The operating system version of the instance. For example, Amazon Linux 2, * Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline bool OsVersionHasBeenSet() const { return m_osVersionHasBeenSet; } /** *The operating system version of the instance. For example, Amazon Linux 2, * Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline void SetOsVersion(const Aws::String& value) { m_osVersionHasBeenSet = true; m_osVersion = value; } /** *The operating system version of the instance. For example, Amazon Linux 2, * Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline void SetOsVersion(Aws::String&& value) { m_osVersionHasBeenSet = true; m_osVersion = std::move(value); } /** *The operating system version of the instance. For example, Amazon Linux 2, * Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline void SetOsVersion(const char* value) { m_osVersionHasBeenSet = true; m_osVersion.assign(value); } /** *The operating system version of the instance. For example, Amazon Linux 2, * Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline ImageVersion& WithOsVersion(const Aws::String& value) { SetOsVersion(value); return *this;} /** *The operating system version of the instance. For example, Amazon Linux 2, * Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline ImageVersion& WithOsVersion(Aws::String&& value) { SetOsVersion(std::move(value)); return *this;} /** *The operating system version of the instance. For example, Amazon Linux 2, * Ubuntu 18, or Microsoft Windows Server 2019.
*/ inline ImageVersion& WithOsVersion(const char* value) { SetOsVersion(value); return *this;} /** *The owner of the image semantic version.
*/ inline const Aws::String& GetOwner() const{ return m_owner; } /** *The owner of the image semantic version.
*/ inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; } /** *The owner of the image semantic version.
*/ inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; } /** *The owner of the image semantic version.
*/ inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); } /** *The owner of the image semantic version.
*/ inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); } /** *The owner of the image semantic version.
*/ inline ImageVersion& WithOwner(const Aws::String& value) { SetOwner(value); return *this;} /** *The owner of the image semantic version.
*/ inline ImageVersion& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;} /** *The owner of the image semantic version.
*/ inline ImageVersion& WithOwner(const char* value) { SetOwner(value); return *this;} /** *The date at which this image semantic version was created.
*/ inline const Aws::String& GetDateCreated() const{ return m_dateCreated; } /** *The date at which this image semantic version was created.
*/ inline bool DateCreatedHasBeenSet() const { return m_dateCreatedHasBeenSet; } /** *The date at which this image semantic version was created.
*/ inline void SetDateCreated(const Aws::String& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = value; } /** *The date at which this image semantic version was created.
*/ inline void SetDateCreated(Aws::String&& value) { m_dateCreatedHasBeenSet = true; m_dateCreated = std::move(value); } /** *The date at which this image semantic version was created.
*/ inline void SetDateCreated(const char* value) { m_dateCreatedHasBeenSet = true; m_dateCreated.assign(value); } /** *The date at which this image semantic version was created.
*/ inline ImageVersion& WithDateCreated(const Aws::String& value) { SetDateCreated(value); return *this;} /** *The date at which this image semantic version was created.
*/ inline ImageVersion& WithDateCreated(Aws::String&& value) { SetDateCreated(std::move(value)); return *this;} /** *The date at which this image semantic version was created.
*/ inline ImageVersion& WithDateCreated(const char* value) { SetDateCreated(value); return *this;} private: Aws::String m_arn; bool m_arnHasBeenSet; Aws::String m_name; bool m_nameHasBeenSet; Aws::String m_version; bool m_versionHasBeenSet; Platform m_platform; bool m_platformHasBeenSet; Aws::String m_osVersion; bool m_osVersionHasBeenSet; Aws::String m_owner; bool m_ownerHasBeenSet; Aws::String m_dateCreated; bool m_dateCreatedHasBeenSet; }; } // namespace Model } // namespace imagebuilder } // namespace Aws