AWS SDK for C++  1.9.126
AWS SDK for C++
ImageConfigResponse.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Lambda
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const ImageConfig& GetImageConfig() const{ return m_imageConfig; }
45 
49  inline bool ImageConfigHasBeenSet() const { return m_imageConfigHasBeenSet; }
50 
54  inline void SetImageConfig(const ImageConfig& value) { m_imageConfigHasBeenSet = true; m_imageConfig = value; }
55 
59  inline void SetImageConfig(ImageConfig&& value) { m_imageConfigHasBeenSet = true; m_imageConfig = std::move(value); }
60 
64  inline ImageConfigResponse& WithImageConfig(const ImageConfig& value) { SetImageConfig(value); return *this;}
65 
69  inline ImageConfigResponse& WithImageConfig(ImageConfig&& value) { SetImageConfig(std::move(value)); return *this;}
70 
71 
75  inline const ImageConfigError& GetError() const{ return m_error; }
76 
80  inline bool ErrorHasBeenSet() const { return m_errorHasBeenSet; }
81 
85  inline void SetError(const ImageConfigError& value) { m_errorHasBeenSet = true; m_error = value; }
86 
90  inline void SetError(ImageConfigError&& value) { m_errorHasBeenSet = true; m_error = std::move(value); }
91 
95  inline ImageConfigResponse& WithError(const ImageConfigError& value) { SetError(value); return *this;}
96 
100  inline ImageConfigResponse& WithError(ImageConfigError&& value) { SetError(std::move(value)); return *this;}
101 
102  private:
103 
104  ImageConfig m_imageConfig;
105  bool m_imageConfigHasBeenSet;
106 
107  ImageConfigError m_error;
108  bool m_errorHasBeenSet;
109  };
110 
111 } // namespace Model
112 } // namespace Lambda
113 } // namespace Aws
Aws::Lambda::Model::ImageConfigResponse::ImageConfigHasBeenSet
bool ImageConfigHasBeenSet() const
Definition: ImageConfigResponse.h:49
ImageConfig.h
Aws::Lambda::Model::ImageConfigResponse::ErrorHasBeenSet
bool ErrorHasBeenSet() const
Definition: ImageConfigResponse.h:80
Aws::Lambda::Model::ImageConfigResponse::WithImageConfig
ImageConfigResponse & WithImageConfig(const ImageConfig &value)
Definition: ImageConfigResponse.h:64
Aws::Lambda::Model::ImageConfigResponse::SetImageConfig
void SetImageConfig(ImageConfig &&value)
Definition: ImageConfigResponse.h:59
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ImageConfigResponse::WithImageConfig
ImageConfigResponse & WithImageConfig(ImageConfig &&value)
Definition: ImageConfigResponse.h:69
Aws::Lambda::Model::ImageConfigResponse
Definition: ImageConfigResponse.h:33
Aws::Lambda::Model::ImageConfigError
Definition: ImageConfigError.h:32
ImageConfigError.h
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::ImageConfigResponse::SetError
void SetError(const ImageConfigError &value)
Definition: ImageConfigResponse.h:85
Aws::Lambda::Model::ImageConfigResponse::GetImageConfig
const ImageConfig & GetImageConfig() const
Definition: ImageConfigResponse.h:44
Aws::Lambda::Model::ImageConfigResponse::operator=
ImageConfigResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::ImageConfigResponse::WithError
ImageConfigResponse & WithError(const ImageConfigError &value)
Definition: ImageConfigResponse.h:95
Aws::Lambda::Model::ImageConfigResponse::ImageConfigResponse
ImageConfigResponse(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::ImageConfigResponse::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ImageConfig
Definition: ImageConfig.h:36
Aws::Lambda::Model::ImageConfigResponse::ImageConfigResponse
ImageConfigResponse()
Aws::Lambda::Model::ImageConfigResponse::SetImageConfig
void SetImageConfig(const ImageConfig &value)
Definition: ImageConfigResponse.h:54
Lambda_EXPORTS.h
Aws::Lambda::Model::ImageConfigResponse::GetError
const ImageConfigError & GetError() const
Definition: ImageConfigResponse.h:75
Aws::Lambda::Model::ImageConfigResponse::WithError
ImageConfigResponse & WithError(ImageConfigError &&value)
Definition: ImageConfigResponse.h:100
Aws::Lambda::Model::ImageConfigResponse::SetError
void SetError(ImageConfigError &&value)
Definition: ImageConfigResponse.h:90