AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ImageConfigResponse.h
1
6#pragma once
7#include <aws/lambda/Lambda_EXPORTS.h>
8#include <aws/lambda/model/ImageConfig.h>
9#include <aws/lambda/model/ImageConfigError.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Lambda
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_LAMBDA_API ImageConfigResponse() = default;
39 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ImageConfig& GetImageConfig() const { return m_imageConfig; }
47 inline bool ImageConfigHasBeenSet() const { return m_imageConfigHasBeenSet; }
48 template<typename ImageConfigT = ImageConfig>
49 void SetImageConfig(ImageConfigT&& value) { m_imageConfigHasBeenSet = true; m_imageConfig = std::forward<ImageConfigT>(value); }
50 template<typename ImageConfigT = ImageConfig>
51 ImageConfigResponse& WithImageConfig(ImageConfigT&& value) { SetImageConfig(std::forward<ImageConfigT>(value)); return *this;}
53
55
58 inline const ImageConfigError& GetError() const { return m_error; }
59 inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
60 template<typename ErrorT = ImageConfigError>
61 void SetError(ErrorT&& value) { m_errorHasBeenSet = true; m_error = std::forward<ErrorT>(value); }
62 template<typename ErrorT = ImageConfigError>
63 ImageConfigResponse& WithError(ErrorT&& value) { SetError(std::forward<ErrorT>(value)); return *this;}
65 private:
66
67 ImageConfig m_imageConfig;
68 bool m_imageConfigHasBeenSet = false;
69
70 ImageConfigError m_error;
71 bool m_errorHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace Lambda
76} // namespace Aws
ImageConfigResponse & WithError(ErrorT &&value)
AWS_LAMBDA_API ImageConfigResponse()=default
AWS_LAMBDA_API ImageConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_LAMBDA_API ImageConfigResponse(Aws::Utils::Json::JsonView jsonValue)
ImageConfigResponse & WithImageConfig(ImageConfigT &&value)
const ImageConfig & GetImageConfig() const
const ImageConfigError & GetError() const
AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue