/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Details about a function's deployment package.See Also:
AWS
* API Reference
The service that's hosting the file.
*/ inline const Aws::String& GetRepositoryType() const{ return m_repositoryType; } /** *The service that's hosting the file.
*/ inline bool RepositoryTypeHasBeenSet() const { return m_repositoryTypeHasBeenSet; } /** *The service that's hosting the file.
*/ inline void SetRepositoryType(const Aws::String& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = value; } /** *The service that's hosting the file.
*/ inline void SetRepositoryType(Aws::String&& value) { m_repositoryTypeHasBeenSet = true; m_repositoryType = std::move(value); } /** *The service that's hosting the file.
*/ inline void SetRepositoryType(const char* value) { m_repositoryTypeHasBeenSet = true; m_repositoryType.assign(value); } /** *The service that's hosting the file.
*/ inline FunctionCodeLocation& WithRepositoryType(const Aws::String& value) { SetRepositoryType(value); return *this;} /** *The service that's hosting the file.
*/ inline FunctionCodeLocation& WithRepositoryType(Aws::String&& value) { SetRepositoryType(std::move(value)); return *this;} /** *The service that's hosting the file.
*/ inline FunctionCodeLocation& WithRepositoryType(const char* value) { SetRepositoryType(value); return *this;} /** *A presigned URL that you can use to download the deployment package.
*/ inline const Aws::String& GetLocation() const{ return m_location; } /** *A presigned URL that you can use to download the deployment package.
*/ inline bool LocationHasBeenSet() const { return m_locationHasBeenSet; } /** *A presigned URL that you can use to download the deployment package.
*/ inline void SetLocation(const Aws::String& value) { m_locationHasBeenSet = true; m_location = value; } /** *A presigned URL that you can use to download the deployment package.
*/ inline void SetLocation(Aws::String&& value) { m_locationHasBeenSet = true; m_location = std::move(value); } /** *A presigned URL that you can use to download the deployment package.
*/ inline void SetLocation(const char* value) { m_locationHasBeenSet = true; m_location.assign(value); } /** *A presigned URL that you can use to download the deployment package.
*/ inline FunctionCodeLocation& WithLocation(const Aws::String& value) { SetLocation(value); return *this;} /** *A presigned URL that you can use to download the deployment package.
*/ inline FunctionCodeLocation& WithLocation(Aws::String&& value) { SetLocation(std::move(value)); return *this;} /** *A presigned URL that you can use to download the deployment package.
*/ inline FunctionCodeLocation& WithLocation(const char* value) { SetLocation(value); return *this;} private: Aws::String m_repositoryType; bool m_repositoryTypeHasBeenSet; Aws::String m_location; bool m_locationHasBeenSet; }; } // namespace Model } // namespace Lambda } // namespace Aws