Files
2026-02-28 12:32:28 -05:00

77 lines
2.6 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/lambda/Lambda_EXPORTS.h>
#include <aws/lambda/model/ImageConfig.h>
#include <aws/lambda/model/ImageConfigError.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Lambda
{
namespace Model
{
/**
* <p>Response to a <code>GetFunctionConfiguration</code> request.</p><p><h3>See
* Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ImageConfigResponse">AWS
* API Reference</a></p>
*/
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;
///@{
/**
* <p>Configuration values that override the container image Dockerfile.</p>
*/
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;}
///@}
///@{
/**
* <p>Error response to <code>GetFunctionConfiguration</code>.</p>
*/
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