AWS SDK for C++  1.9.19
AWS SDK for C++
ResourceNotReadyException.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 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetType() const{ return m_type; }
46 
50  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
51 
55  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
56 
60  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
61 
65  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
66 
70  inline ResourceNotReadyException& WithType(const Aws::String& value) { SetType(value); return *this;}
71 
75  inline ResourceNotReadyException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
76 
80  inline ResourceNotReadyException& WithType(const char* value) { SetType(value); return *this;}
81 
82 
86  inline const Aws::String& GetMessage() const{ return m_message; }
87 
91  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
92 
96  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
97 
101  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
102 
106  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
107 
111  inline ResourceNotReadyException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
112 
116  inline ResourceNotReadyException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
117 
121  inline ResourceNotReadyException& WithMessage(const char* value) { SetMessage(value); return *this;}
122 
123  private:
124 
125  Aws::String m_type;
126  bool m_typeHasBeenSet;
127 
128  Aws::String m_message;
129  bool m_messageHasBeenSet;
130  };
131 
132 } // namespace Model
133 } // namespace Lambda
134 } // namespace Aws
Aws::Lambda::Model::ResourceNotReadyException::ResourceNotReadyException
ResourceNotReadyException(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::ResourceNotReadyException::GetType
const Aws::String & GetType() const
Definition: ResourceNotReadyException.h:45
Aws::Lambda::Model::ResourceNotReadyException::SetType
void SetType(const char *value)
Definition: ResourceNotReadyException.h:65
Aws::Lambda::Model::ResourceNotReadyException::WithMessage
ResourceNotReadyException & WithMessage(Aws::String &&value)
Definition: ResourceNotReadyException.h:116
Aws::Lambda::Model::ResourceNotReadyException::ResourceNotReadyException
ResourceNotReadyException()
Aws::Lambda::Model::ResourceNotReadyException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::ResourceNotReadyException::SetMessage
void SetMessage(const char *value)
Definition: ResourceNotReadyException.h:106
Aws::Lambda::Model::ResourceNotReadyException::WithType
ResourceNotReadyException & WithType(Aws::String &&value)
Definition: ResourceNotReadyException.h:75
Aws::Lambda::Model::ResourceNotReadyException::SetMessage
void SetMessage(const Aws::String &value)
Definition: ResourceNotReadyException.h:96
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ResourceNotReadyException::GetMessage
const Aws::String & GetMessage() const
Definition: ResourceNotReadyException.h:86
Aws::Lambda::Model::ResourceNotReadyException::SetType
void SetType(const Aws::String &value)
Definition: ResourceNotReadyException.h:55
Aws::Lambda::Model::ResourceNotReadyException::SetType
void SetType(Aws::String &&value)
Definition: ResourceNotReadyException.h:60
Aws::Lambda::Model::ResourceNotReadyException::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ResourceNotReadyException.h:50
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::ResourceNotReadyException::WithMessage
ResourceNotReadyException & WithMessage(const Aws::String &value)
Definition: ResourceNotReadyException.h:111
Aws::Lambda::Model::ResourceNotReadyException::SetMessage
void SetMessage(Aws::String &&value)
Definition: ResourceNotReadyException.h:101
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ResourceNotReadyException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ResourceNotReadyException.h:91
Aws::Lambda::Model::ResourceNotReadyException::WithType
ResourceNotReadyException & WithType(const char *value)
Definition: ResourceNotReadyException.h:80
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ResourceNotReadyException
Definition: ResourceNotReadyException.h:34
Aws::Lambda::Model::ResourceNotReadyException::WithMessage
ResourceNotReadyException & WithMessage(const char *value)
Definition: ResourceNotReadyException.h:121
Aws::Lambda::Model::ResourceNotReadyException::operator=
ResourceNotReadyException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::ResourceNotReadyException::WithType
ResourceNotReadyException & WithType(const Aws::String &value)
Definition: ResourceNotReadyException.h:70
Lambda_EXPORTS.h