/**
* 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; }
inline bool ImageConfigHasBeenSet() const { return m_imageConfigHasBeenSet; }
inline void SetImageConfig(const ImageConfig& value) { m_imageConfigHasBeenSet = true; m_imageConfig = value; }
inline void SetImageConfig(ImageConfig&& value) { m_imageConfigHasBeenSet = true; m_imageConfig = std::move(value); }
inline ImageConfigResponse& WithImageConfig(const ImageConfig& value) { SetImageConfig(value); return *this;}
inline ImageConfigResponse& WithImageConfig(ImageConfig&& value) { SetImageConfig(std::move(value)); return *this;}
///@}
///@{
/**
* Error response to GetFunctionConfiguration.
*/
inline const ImageConfigError& GetError() const{ return m_error; }
inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
inline void SetError(const ImageConfigError& value) { m_errorHasBeenSet = true; m_error = value; }
inline void SetError(ImageConfigError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
inline ImageConfigResponse& WithError(const ImageConfigError& value) { SetError(value); return *this;}
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