AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Lambda {
21namespace Model {
22
30 public:
31 AWS_LAMBDA_API ImageConfigResponse() = default;
34 AWS_LAMBDA_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const ImageConfig& GetImageConfig() const { return m_imageConfig; }
41 inline bool ImageConfigHasBeenSet() const { return m_imageConfigHasBeenSet; }
42 template <typename ImageConfigT = ImageConfig>
43 void SetImageConfig(ImageConfigT&& value) {
44 m_imageConfigHasBeenSet = true;
45 m_imageConfig = std::forward<ImageConfigT>(value);
46 }
47 template <typename ImageConfigT = ImageConfig>
48 ImageConfigResponse& WithImageConfig(ImageConfigT&& value) {
49 SetImageConfig(std::forward<ImageConfigT>(value));
50 return *this;
51 }
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) {
62 m_errorHasBeenSet = true;
63 m_error = std::forward<ErrorT>(value);
64 }
65 template <typename ErrorT = ImageConfigError>
66 ImageConfigResponse& WithError(ErrorT&& value) {
67 SetError(std::forward<ErrorT>(value));
68 return *this;
69 }
71 private:
72 ImageConfig m_imageConfig;
73
74 ImageConfigError m_error;
75 bool m_imageConfigHasBeenSet = false;
76 bool m_errorHasBeenSet = false;
77};
78
79} // namespace Model
80} // namespace Lambda
81} // 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