/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace Lambda { namespace Model { class AWS_LAMBDA_API GetLayerVersionByArnResult { public: GetLayerVersionByArnResult(); GetLayerVersionByArnResult(const Aws::AmazonWebServiceResult& result); GetLayerVersionByArnResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

Details about the layer version.

*/ inline const LayerVersionContentOutput& GetContent() const{ return m_content; } /** *

Details about the layer version.

*/ inline void SetContent(const LayerVersionContentOutput& value) { m_content = value; } /** *

Details about the layer version.

*/ inline void SetContent(LayerVersionContentOutput&& value) { m_content = std::move(value); } /** *

Details about the layer version.

*/ inline GetLayerVersionByArnResult& WithContent(const LayerVersionContentOutput& value) { SetContent(value); return *this;} /** *

Details about the layer version.

*/ inline GetLayerVersionByArnResult& WithContent(LayerVersionContentOutput&& value) { SetContent(std::move(value)); return *this;} /** *

The ARN of the layer.

*/ inline const Aws::String& GetLayerArn() const{ return m_layerArn; } /** *

The ARN of the layer.

*/ inline void SetLayerArn(const Aws::String& value) { m_layerArn = value; } /** *

The ARN of the layer.

*/ inline void SetLayerArn(Aws::String&& value) { m_layerArn = std::move(value); } /** *

The ARN of the layer.

*/ inline void SetLayerArn(const char* value) { m_layerArn.assign(value); } /** *

The ARN of the layer.

*/ inline GetLayerVersionByArnResult& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;} /** *

The ARN of the layer.

*/ inline GetLayerVersionByArnResult& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;} /** *

The ARN of the layer.

*/ inline GetLayerVersionByArnResult& WithLayerArn(const char* value) { SetLayerArn(value); return *this;} /** *

The ARN of the layer version.

*/ inline const Aws::String& GetLayerVersionArn() const{ return m_layerVersionArn; } /** *

The ARN of the layer version.

*/ inline void SetLayerVersionArn(const Aws::String& value) { m_layerVersionArn = value; } /** *

The ARN of the layer version.

*/ inline void SetLayerVersionArn(Aws::String&& value) { m_layerVersionArn = std::move(value); } /** *

The ARN of the layer version.

*/ inline void SetLayerVersionArn(const char* value) { m_layerVersionArn.assign(value); } /** *

The ARN of the layer version.

*/ inline GetLayerVersionByArnResult& WithLayerVersionArn(const Aws::String& value) { SetLayerVersionArn(value); return *this;} /** *

The ARN of the layer version.

*/ inline GetLayerVersionByArnResult& WithLayerVersionArn(Aws::String&& value) { SetLayerVersionArn(std::move(value)); return *this;} /** *

The ARN of the layer version.

*/ inline GetLayerVersionByArnResult& WithLayerVersionArn(const char* value) { SetLayerVersionArn(value); return *this;} /** *

The description of the version.

*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *

The description of the version.

*/ inline void SetDescription(const Aws::String& value) { m_description = value; } /** *

The description of the version.

*/ inline void SetDescription(Aws::String&& value) { m_description = std::move(value); } /** *

The description of the version.

*/ inline void SetDescription(const char* value) { m_description.assign(value); } /** *

The description of the version.

*/ inline GetLayerVersionByArnResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *

The description of the version.

*/ inline GetLayerVersionByArnResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *

The description of the version.

*/ inline GetLayerVersionByArnResult& WithDescription(const char* value) { SetDescription(value); return *this;} /** *

The date that the layer version was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline const Aws::String& GetCreatedDate() const{ return m_createdDate; } /** *

The date that the layer version was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline void SetCreatedDate(const Aws::String& value) { m_createdDate = value; } /** *

The date that the layer version was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline void SetCreatedDate(Aws::String&& value) { m_createdDate = std::move(value); } /** *

The date that the layer version was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline void SetCreatedDate(const char* value) { m_createdDate.assign(value); } /** *

The date that the layer version was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline GetLayerVersionByArnResult& WithCreatedDate(const Aws::String& value) { SetCreatedDate(value); return *this;} /** *

The date that the layer version was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline GetLayerVersionByArnResult& WithCreatedDate(Aws::String&& value) { SetCreatedDate(std::move(value)); return *this;} /** *

The date that the layer version was created, in ISO-8601 format * (YYYY-MM-DDThh:mm:ss.sTZD).

*/ inline GetLayerVersionByArnResult& WithCreatedDate(const char* value) { SetCreatedDate(value); return *this;} /** *

The version number.

*/ inline long long GetVersion() const{ return m_version; } /** *

The version number.

*/ inline void SetVersion(long long value) { m_version = value; } /** *

The version number.

*/ inline GetLayerVersionByArnResult& WithVersion(long long value) { SetVersion(value); return *this;} /** *

The layer's compatible runtimes.

*/ inline const Aws::Vector& GetCompatibleRuntimes() const{ return m_compatibleRuntimes; } /** *

The layer's compatible runtimes.

*/ inline void SetCompatibleRuntimes(const Aws::Vector& value) { m_compatibleRuntimes = value; } /** *

The layer's compatible runtimes.

*/ inline void SetCompatibleRuntimes(Aws::Vector&& value) { m_compatibleRuntimes = std::move(value); } /** *

The layer's compatible runtimes.

*/ inline GetLayerVersionByArnResult& WithCompatibleRuntimes(const Aws::Vector& value) { SetCompatibleRuntimes(value); return *this;} /** *

The layer's compatible runtimes.

*/ inline GetLayerVersionByArnResult& WithCompatibleRuntimes(Aws::Vector&& value) { SetCompatibleRuntimes(std::move(value)); return *this;} /** *

The layer's compatible runtimes.

*/ inline GetLayerVersionByArnResult& AddCompatibleRuntimes(const Runtime& value) { m_compatibleRuntimes.push_back(value); return *this; } /** *

The layer's compatible runtimes.

*/ inline GetLayerVersionByArnResult& AddCompatibleRuntimes(Runtime&& value) { m_compatibleRuntimes.push_back(std::move(value)); return *this; } /** *

The layer's software license.

*/ inline const Aws::String& GetLicenseInfo() const{ return m_licenseInfo; } /** *

The layer's software license.

*/ inline void SetLicenseInfo(const Aws::String& value) { m_licenseInfo = value; } /** *

The layer's software license.

*/ inline void SetLicenseInfo(Aws::String&& value) { m_licenseInfo = std::move(value); } /** *

The layer's software license.

*/ inline void SetLicenseInfo(const char* value) { m_licenseInfo.assign(value); } /** *

The layer's software license.

*/ inline GetLayerVersionByArnResult& WithLicenseInfo(const Aws::String& value) { SetLicenseInfo(value); return *this;} /** *

The layer's software license.

*/ inline GetLayerVersionByArnResult& WithLicenseInfo(Aws::String&& value) { SetLicenseInfo(std::move(value)); return *this;} /** *

The layer's software license.

*/ inline GetLayerVersionByArnResult& WithLicenseInfo(const char* value) { SetLicenseInfo(value); return *this;} private: LayerVersionContentOutput m_content; Aws::String m_layerArn; Aws::String m_layerVersionArn; Aws::String m_description; Aws::String m_createdDate; long long m_version; Aws::Vector m_compatibleRuntimes; Aws::String m_licenseInfo; }; } // namespace Model } // namespace Lambda } // namespace Aws