/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Lambda { namespace Model { /** *

Details about a version of an Lambda * layer.

See Also:

AWS * API Reference

*/ class LayerVersionContentOutput { public: AWS_LAMBDA_API LayerVersionContentOutput(); AWS_LAMBDA_API LayerVersionContentOutput(Aws::Utils::Json::JsonView jsonValue); AWS_LAMBDA_API LayerVersionContentOutput& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

A link to the layer archive in Amazon S3 that is valid for 10 minutes.

*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *

A link to the layer archive in Amazon S3 that is valid for 10 minutes.

*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *

A link to the layer archive in Amazon S3 that is valid for 10 minutes.

*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *

A link to the layer archive in Amazon S3 that is valid for 10 minutes.

*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *

A link to the layer archive in Amazon S3 that is valid for 10 minutes.

*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *

A link to the layer archive in Amazon S3 that is valid for 10 minutes.

*/ inline LayerVersionContentOutput& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *

A link to the layer archive in Amazon S3 that is valid for 10 minutes.

*/ inline LayerVersionContentOutput& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *

A link to the layer archive in Amazon S3 that is valid for 10 minutes.

*/ inline LayerVersionContentOutput& WithLocation(const char* value) { SetLocation(value); return *this;} /** *

The SHA-256 hash of the layer archive.

*/ inline const Aws::String& GetCodeSha256() const{ return m_codeSha256; } /** *

The SHA-256 hash of the layer archive.

*/ inline bool CodeSha256HasBeenSet() const { return m_codeSha256HasBeenSet; } /** *

The SHA-256 hash of the layer archive.

*/ inline void SetCodeSha256(const Aws::String& value) { m_codeSha256HasBeenSet = true; m_codeSha256 = value; } /** *

The SHA-256 hash of the layer archive.

*/ inline void SetCodeSha256(Aws::String&& value) { m_codeSha256HasBeenSet = true; m_codeSha256 = std::move(value); } /** *

The SHA-256 hash of the layer archive.

*/ inline void SetCodeSha256(const char* value) { m_codeSha256HasBeenSet = true; m_codeSha256.assign(value); } /** *

The SHA-256 hash of the layer archive.

*/ inline LayerVersionContentOutput& WithCodeSha256(const Aws::String& value) { SetCodeSha256(value); return *this;} /** *

The SHA-256 hash of the layer archive.

*/ inline LayerVersionContentOutput& WithCodeSha256(Aws::String&& value) { SetCodeSha256(std::move(value)); return *this;} /** *

The SHA-256 hash of the layer archive.

*/ inline LayerVersionContentOutput& WithCodeSha256(const char* value) { SetCodeSha256(value); return *this;} /** *

The size of the layer archive in bytes.

*/ inline long long GetCodeSize() const{ return m_codeSize; } /** *

The size of the layer archive in bytes.

*/ inline bool CodeSizeHasBeenSet() const { return m_codeSizeHasBeenSet; } /** *

The size of the layer archive in bytes.

*/ inline void SetCodeSize(long long value) { m_codeSizeHasBeenSet = true; m_codeSize = value; } /** *

The size of the layer archive in bytes.

*/ inline LayerVersionContentOutput& WithCodeSize(long long value) { SetCodeSize(value); return *this;} /** *

The Amazon Resource Name (ARN) for a signing profile version.

*/ inline const Aws::String& GetSigningProfileVersionArn() const{ return m_signingProfileVersionArn; } /** *

The Amazon Resource Name (ARN) for a signing profile version.

*/ inline bool SigningProfileVersionArnHasBeenSet() const { return m_signingProfileVersionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for a signing profile version.

*/ inline void SetSigningProfileVersionArn(const Aws::String& value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn = value; } /** *

The Amazon Resource Name (ARN) for a signing profile version.

*/ inline void SetSigningProfileVersionArn(Aws::String&& value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for a signing profile version.

*/ inline void SetSigningProfileVersionArn(const char* value) { m_signingProfileVersionArnHasBeenSet = true; m_signingProfileVersionArn.assign(value); } /** *

The Amazon Resource Name (ARN) for a signing profile version.

*/ inline LayerVersionContentOutput& WithSigningProfileVersionArn(const Aws::String& value) { SetSigningProfileVersionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for a signing profile version.

*/ inline LayerVersionContentOutput& WithSigningProfileVersionArn(Aws::String&& value) { SetSigningProfileVersionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for a signing profile version.

*/ inline LayerVersionContentOutput& WithSigningProfileVersionArn(const char* value) { SetSigningProfileVersionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of a signing job.

*/ inline const Aws::String& GetSigningJobArn() const{ return m_signingJobArn; } /** *

The Amazon Resource Name (ARN) of a signing job.

*/ inline bool SigningJobArnHasBeenSet() const { return m_signingJobArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of a signing job.

*/ inline void SetSigningJobArn(const Aws::String& value) { m_signingJobArnHasBeenSet = true; m_signingJobArn = value; } /** *

The Amazon Resource Name (ARN) of a signing job.

*/ inline void SetSigningJobArn(Aws::String&& value) { m_signingJobArnHasBeenSet = true; m_signingJobArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of a signing job.

*/ inline void SetSigningJobArn(const char* value) { m_signingJobArnHasBeenSet = true; m_signingJobArn.assign(value); } /** *

The Amazon Resource Name (ARN) of a signing job.

*/ inline LayerVersionContentOutput& WithSigningJobArn(const Aws::String& value) { SetSigningJobArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of a signing job.

*/ inline LayerVersionContentOutput& WithSigningJobArn(Aws::String&& value) { SetSigningJobArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of a signing job.

*/ inline LayerVersionContentOutput& WithSigningJobArn(const char* value) { SetSigningJobArn(value); return *this;} private: Aws::String m_location; bool m_locationHasBeenSet = false; Aws::String m_codeSha256; bool m_codeSha256HasBeenSet = false; long long m_codeSize; bool m_codeSizeHasBeenSet = false; Aws::String m_signingProfileVersionArn; bool m_signingProfileVersionArnHasBeenSet = false; Aws::String m_signingJobArn; bool m_signingJobArnHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws