/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a version of an Lambda
* layer.See Also:
AWS
* API Reference
The ARN of the layer version.
*/ inline const Aws::String& GetLayerVersionArn() const{ return m_layerVersionArn; } /** *The ARN of the layer version.
*/ inline bool LayerVersionArnHasBeenSet() const { return m_layerVersionArnHasBeenSet; } /** *The ARN of the layer version.
*/ inline void SetLayerVersionArn(const Aws::String& value) { m_layerVersionArnHasBeenSet = true; m_layerVersionArn = value; } /** *The ARN of the layer version.
*/ inline void SetLayerVersionArn(Aws::String&& value) { m_layerVersionArnHasBeenSet = true; m_layerVersionArn = std::move(value); } /** *The ARN of the layer version.
*/ inline void SetLayerVersionArn(const char* value) { m_layerVersionArnHasBeenSet = true; m_layerVersionArn.assign(value); } /** *The ARN of the layer version.
*/ inline LayerVersionsListItem& WithLayerVersionArn(const Aws::String& value) { SetLayerVersionArn(value); return *this;} /** *The ARN of the layer version.
*/ inline LayerVersionsListItem& WithLayerVersionArn(Aws::String&& value) { SetLayerVersionArn(std::move(value)); return *this;} /** *The ARN of the layer version.
*/ inline LayerVersionsListItem& WithLayerVersionArn(const char* value) { SetLayerVersionArn(value); return *this;} /** *The version number.
*/ inline long long GetVersion() const{ return m_version; } /** *The version number.
*/ inline bool VersionHasBeenSet() const { return m_versionHasBeenSet; } /** *The version number.
*/ inline void SetVersion(long long value) { m_versionHasBeenSet = true; m_version = value; } /** *The version number.
*/ inline LayerVersionsListItem& WithVersion(long long value) { SetVersion(value); return *this;} /** *The description of the version.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the version.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the version.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the version.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the version.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the version.
*/ inline LayerVersionsListItem& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the version.
*/ inline LayerVersionsListItem& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the version.
*/ inline LayerVersionsListItem& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The date that the version was created, in ISO 8601 format. For example,
* 2018-11-27T15:10:45.123+0000
.
The date that the version was created, in ISO 8601 format. For example,
* 2018-11-27T15:10:45.123+0000
.
The date that the version was created, in ISO 8601 format. For example,
* 2018-11-27T15:10:45.123+0000
.
The date that the version was created, in ISO 8601 format. For example,
* 2018-11-27T15:10:45.123+0000
.
The date that the version was created, in ISO 8601 format. For example,
* 2018-11-27T15:10:45.123+0000
.
The date that the version was created, in ISO 8601 format. For example,
* 2018-11-27T15:10:45.123+0000
.
The date that the version was created, in ISO 8601 format. For example,
* 2018-11-27T15:10:45.123+0000
.
The date that the version was created, in ISO 8601 format. For example,
* 2018-11-27T15:10:45.123+0000
.
The layer's compatible runtimes.
The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.
*/ inline const Aws::VectorThe layer's compatible runtimes.
The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.
*/ inline bool CompatibleRuntimesHasBeenSet() const { return m_compatibleRuntimesHasBeenSet; } /** *The layer's compatible runtimes.
The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.
*/ inline void SetCompatibleRuntimes(const Aws::VectorThe layer's compatible runtimes.
The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.
*/ inline void SetCompatibleRuntimes(Aws::VectorThe layer's compatible runtimes.
The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.
*/ inline LayerVersionsListItem& WithCompatibleRuntimes(const Aws::VectorThe layer's compatible runtimes.
The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.
*/ inline LayerVersionsListItem& WithCompatibleRuntimes(Aws::VectorThe layer's compatible runtimes.
The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.
*/ inline LayerVersionsListItem& AddCompatibleRuntimes(const Runtime& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(value); return *this; } /** *The layer's compatible runtimes.
The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.
*/ inline LayerVersionsListItem& AddCompatibleRuntimes(Runtime&& value) { m_compatibleRuntimesHasBeenSet = true; m_compatibleRuntimes.push_back(std::move(value)); return *this; } /** *The layer's open-source license.
*/ inline const Aws::String& GetLicenseInfo() const{ return m_licenseInfo; } /** *The layer's open-source license.
*/ inline bool LicenseInfoHasBeenSet() const { return m_licenseInfoHasBeenSet; } /** *The layer's open-source license.
*/ inline void SetLicenseInfo(const Aws::String& value) { m_licenseInfoHasBeenSet = true; m_licenseInfo = value; } /** *The layer's open-source license.
*/ inline void SetLicenseInfo(Aws::String&& value) { m_licenseInfoHasBeenSet = true; m_licenseInfo = std::move(value); } /** *The layer's open-source license.
*/ inline void SetLicenseInfo(const char* value) { m_licenseInfoHasBeenSet = true; m_licenseInfo.assign(value); } /** *The layer's open-source license.
*/ inline LayerVersionsListItem& WithLicenseInfo(const Aws::String& value) { SetLicenseInfo(value); return *this;} /** *The layer's open-source license.
*/ inline LayerVersionsListItem& WithLicenseInfo(Aws::String&& value) { SetLicenseInfo(std::move(value)); return *this;} /** *The layer's open-source license.
*/ inline LayerVersionsListItem& WithLicenseInfo(const char* value) { SetLicenseInfo(value); return *this;} /** *A list of compatible instruction * set architectures.
*/ inline const Aws::VectorA list of compatible instruction * set architectures.
*/ inline bool CompatibleArchitecturesHasBeenSet() const { return m_compatibleArchitecturesHasBeenSet; } /** *A list of compatible instruction * set architectures.
*/ inline void SetCompatibleArchitectures(const Aws::VectorA list of compatible instruction * set architectures.
*/ inline void SetCompatibleArchitectures(Aws::VectorA list of compatible instruction * set architectures.
*/ inline LayerVersionsListItem& WithCompatibleArchitectures(const Aws::VectorA list of compatible instruction * set architectures.
*/ inline LayerVersionsListItem& WithCompatibleArchitectures(Aws::VectorA list of compatible instruction * set architectures.
*/ inline LayerVersionsListItem& AddCompatibleArchitectures(const Architecture& value) { m_compatibleArchitecturesHasBeenSet = true; m_compatibleArchitectures.push_back(value); return *this; } /** *A list of compatible instruction * set architectures.
*/ inline LayerVersionsListItem& AddCompatibleArchitectures(Architecture&& value) { m_compatibleArchitecturesHasBeenSet = true; m_compatibleArchitectures.push_back(std::move(value)); return *this; } private: Aws::String m_layerVersionArn; bool m_layerVersionArnHasBeenSet = false; long long m_version; bool m_versionHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_createdDate; bool m_createdDateHasBeenSet = false; Aws::Vector