/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #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 GetLayerVersionByArnResult { public: AWS_LAMBDA_API GetLayerVersionByArnResult(); AWS_LAMBDA_API GetLayerVersionByArnResult(const Aws::AmazonWebServiceResult& result); AWS_LAMBDA_API 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.

The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.

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

The layer's compatible runtimes.

The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.

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

The layer's compatible runtimes.

The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.

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

The layer's compatible runtimes.

The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.

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

The layer's compatible runtimes.

The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.

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

The layer's compatible runtimes.

The following list includes * deprecated runtimes. For more information, see Runtime * deprecation policy.

*/ inline GetLayerVersionByArnResult& AddCompatibleRuntimes(const Runtime& value) { 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 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;} /** *

A list of compatible instruction * set architectures.

*/ inline const Aws::Vector& GetCompatibleArchitectures() const{ return m_compatibleArchitectures; } /** *

A list of compatible instruction * set architectures.

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

A list of compatible instruction * set architectures.

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

A list of compatible instruction * set architectures.

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

A list of compatible instruction * set architectures.

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

A list of compatible instruction * set architectures.

*/ inline GetLayerVersionByArnResult& AddCompatibleArchitectures(const Architecture& value) { m_compatibleArchitectures.push_back(value); return *this; } /** *

A list of compatible instruction * set architectures.

*/ inline GetLayerVersionByArnResult& AddCompatibleArchitectures(Architecture&& value) { m_compatibleArchitectures.push_back(std::move(value)); return *this; } inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetLayerVersionByArnResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetLayerVersionByArnResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetLayerVersionByArnResult& WithRequestId(const char* value) { SetRequestId(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; Aws::Vector m_compatibleArchitectures; Aws::String m_requestId; }; } // namespace Model } // namespace Lambda } // namespace Aws