/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about an Lambda
* layer.See Also:
AWS
* API Reference
The name of the layer.
*/ inline const Aws::String& GetLayerName() const{ return m_layerName; } /** *The name of the layer.
*/ inline bool LayerNameHasBeenSet() const { return m_layerNameHasBeenSet; } /** *The name of the layer.
*/ inline void SetLayerName(const Aws::String& value) { m_layerNameHasBeenSet = true; m_layerName = value; } /** *The name of the layer.
*/ inline void SetLayerName(Aws::String&& value) { m_layerNameHasBeenSet = true; m_layerName = std::move(value); } /** *The name of the layer.
*/ inline void SetLayerName(const char* value) { m_layerNameHasBeenSet = true; m_layerName.assign(value); } /** *The name of the layer.
*/ inline LayersListItem& WithLayerName(const Aws::String& value) { SetLayerName(value); return *this;} /** *The name of the layer.
*/ inline LayersListItem& WithLayerName(Aws::String&& value) { SetLayerName(std::move(value)); return *this;} /** *The name of the layer.
*/ inline LayersListItem& WithLayerName(const char* value) { SetLayerName(value); return *this;} /** *The Amazon Resource Name (ARN) of the function layer.
*/ inline const Aws::String& GetLayerArn() const{ return m_layerArn; } /** *The Amazon Resource Name (ARN) of the function layer.
*/ inline bool LayerArnHasBeenSet() const { return m_layerArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the function layer.
*/ inline void SetLayerArn(const Aws::String& value) { m_layerArnHasBeenSet = true; m_layerArn = value; } /** *The Amazon Resource Name (ARN) of the function layer.
*/ inline void SetLayerArn(Aws::String&& value) { m_layerArnHasBeenSet = true; m_layerArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the function layer.
*/ inline void SetLayerArn(const char* value) { m_layerArnHasBeenSet = true; m_layerArn.assign(value); } /** *The Amazon Resource Name (ARN) of the function layer.
*/ inline LayersListItem& WithLayerArn(const Aws::String& value) { SetLayerArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the function layer.
*/ inline LayersListItem& WithLayerArn(Aws::String&& value) { SetLayerArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the function layer.
*/ inline LayersListItem& WithLayerArn(const char* value) { SetLayerArn(value); return *this;} /** *The newest version of the layer.
*/ inline const LayerVersionsListItem& GetLatestMatchingVersion() const{ return m_latestMatchingVersion; } /** *The newest version of the layer.
*/ inline bool LatestMatchingVersionHasBeenSet() const { return m_latestMatchingVersionHasBeenSet; } /** *The newest version of the layer.
*/ inline void SetLatestMatchingVersion(const LayerVersionsListItem& value) { m_latestMatchingVersionHasBeenSet = true; m_latestMatchingVersion = value; } /** *The newest version of the layer.
*/ inline void SetLatestMatchingVersion(LayerVersionsListItem&& value) { m_latestMatchingVersionHasBeenSet = true; m_latestMatchingVersion = std::move(value); } /** *The newest version of the layer.
*/ inline LayersListItem& WithLatestMatchingVersion(const LayerVersionsListItem& value) { SetLatestMatchingVersion(value); return *this;} /** *The newest version of the layer.
*/ inline LayersListItem& WithLatestMatchingVersion(LayerVersionsListItem&& value) { SetLatestMatchingVersion(std::move(value)); return *this;} private: Aws::String m_layerName; bool m_layerNameHasBeenSet = false; Aws::String m_layerArn; bool m_layerArnHasBeenSet = false; LayerVersionsListItem m_latestMatchingVersion; bool m_latestMatchingVersionHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws