AWS SDK for C++  1.9.19
AWS SDK for C++
ImageConfigError.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Lambda
22 {
23 namespace Model
24 {
25 
32  {
33  public:
38 
39 
43  inline const Aws::String& GetErrorCode() const{ return m_errorCode; }
44 
48  inline bool ErrorCodeHasBeenSet() const { return m_errorCodeHasBeenSet; }
49 
53  inline void SetErrorCode(const Aws::String& value) { m_errorCodeHasBeenSet = true; m_errorCode = value; }
54 
58  inline void SetErrorCode(Aws::String&& value) { m_errorCodeHasBeenSet = true; m_errorCode = std::move(value); }
59 
63  inline void SetErrorCode(const char* value) { m_errorCodeHasBeenSet = true; m_errorCode.assign(value); }
64 
68  inline ImageConfigError& WithErrorCode(const Aws::String& value) { SetErrorCode(value); return *this;}
69 
73  inline ImageConfigError& WithErrorCode(Aws::String&& value) { SetErrorCode(std::move(value)); return *this;}
74 
78  inline ImageConfigError& WithErrorCode(const char* value) { SetErrorCode(value); return *this;}
79 
80 
84  inline const Aws::String& GetMessage() const{ return m_message; }
85 
89  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
90 
94  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
95 
99  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
100 
104  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
105 
109  inline ImageConfigError& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
110 
114  inline ImageConfigError& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
115 
119  inline ImageConfigError& WithMessage(const char* value) { SetMessage(value); return *this;}
120 
121  private:
122 
123  Aws::String m_errorCode;
124  bool m_errorCodeHasBeenSet;
125 
126  Aws::String m_message;
127  bool m_messageHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace Lambda
132 } // namespace Aws
Aws::Lambda::Model::ImageConfigError::SetErrorCode
void SetErrorCode(const char *value)
Definition: ImageConfigError.h:63
Aws::Lambda::Model::ImageConfigError::SetMessage
void SetMessage(Aws::String &&value)
Definition: ImageConfigError.h:99
Aws::Lambda::Model::ImageConfigError::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::ImageConfigError::WithErrorCode
ImageConfigError & WithErrorCode(const char *value)
Definition: ImageConfigError.h:78
Aws::Lambda::Model::ImageConfigError::WithMessage
ImageConfigError & WithMessage(Aws::String &&value)
Definition: ImageConfigError.h:114
Aws::Lambda::Model::ImageConfigError::GetMessage
const Aws::String & GetMessage() const
Definition: ImageConfigError.h:84
Aws::Lambda::Model::ImageConfigError::SetErrorCode
void SetErrorCode(const Aws::String &value)
Definition: ImageConfigError.h:53
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ImageConfigError::GetErrorCode
const Aws::String & GetErrorCode() const
Definition: ImageConfigError.h:43
Aws::Lambda::Model::ImageConfigError::WithMessage
ImageConfigError & WithMessage(const Aws::String &value)
Definition: ImageConfigError.h:109
Aws::Lambda::Model::ImageConfigError
Definition: ImageConfigError.h:32
Aws::Lambda::Model::ImageConfigError::WithMessage
ImageConfigError & WithMessage(const char *value)
Definition: ImageConfigError.h:119
Aws::Lambda::Model::ImageConfigError::SetMessage
void SetMessage(const Aws::String &value)
Definition: ImageConfigError.h:94
Aws::Lambda::Model::ImageConfigError::ErrorCodeHasBeenSet
bool ErrorCodeHasBeenSet() const
Definition: ImageConfigError.h:48
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Lambda::Model::ImageConfigError::ImageConfigError
ImageConfigError(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::ImageConfigError::ImageConfigError
ImageConfigError()
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::ImageConfigError::operator=
ImageConfigError & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::ImageConfigError::WithErrorCode
ImageConfigError & WithErrorCode(Aws::String &&value)
Definition: ImageConfigError.h:73
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ImageConfigError::SetErrorCode
void SetErrorCode(Aws::String &&value)
Definition: ImageConfigError.h:58
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ImageConfigError::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ImageConfigError.h:89
Aws::Lambda::Model::ImageConfigError::SetMessage
void SetMessage(const char *value)
Definition: ImageConfigError.h:104
Lambda_EXPORTS.h
Aws::Lambda::Model::ImageConfigError::WithErrorCode
ImageConfigError & WithErrorCode(const Aws::String &value)
Definition: ImageConfigError.h:68