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

Response to a GetFunctionConfiguration request.

See * Also:

AWS * API Reference

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

Configuration values that override the container image Dockerfile.

*/ inline const ImageConfig& GetImageConfig() const{ return m_imageConfig; } /** *

Configuration values that override the container image Dockerfile.

*/ inline bool ImageConfigHasBeenSet() const { return m_imageConfigHasBeenSet; } /** *

Configuration values that override the container image Dockerfile.

*/ inline void SetImageConfig(const ImageConfig& value) { m_imageConfigHasBeenSet = true; m_imageConfig = value; } /** *

Configuration values that override the container image Dockerfile.

*/ inline void SetImageConfig(ImageConfig&& value) { m_imageConfigHasBeenSet = true; m_imageConfig = std::move(value); } /** *

Configuration values that override the container image Dockerfile.

*/ inline ImageConfigResponse& WithImageConfig(const ImageConfig& value) { SetImageConfig(value); return *this;} /** *

Configuration values that override the container image Dockerfile.

*/ inline ImageConfigResponse& WithImageConfig(ImageConfig&& value) { SetImageConfig(std::move(value)); return *this;} /** *

Error response to GetFunctionConfiguration.

*/ inline const ImageConfigError& GetError() const{ return m_error; } /** *

Error response to GetFunctionConfiguration.

*/ inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; } /** *

Error response to GetFunctionConfiguration.

*/ inline void SetError(const ImageConfigError& value) { m_errorHasBeenSet = true; m_error = value; } /** *

Error response to GetFunctionConfiguration.

*/ inline void SetError(ImageConfigError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); } /** *

Error response to GetFunctionConfiguration.

*/ inline ImageConfigResponse& WithError(const ImageConfigError& value) { SetError(value); return *this;} /** *

Error response to GetFunctionConfiguration.

*/ inline ImageConfigResponse& WithError(ImageConfigError&& value) { SetError(std::move(value)); return *this;} private: ImageConfig m_imageConfig; bool m_imageConfigHasBeenSet = false; ImageConfigError m_error; bool m_errorHasBeenSet = false; }; } // namespace Model } // namespace Lambda } // namespace Aws