AWS SDK for C++  1.9.20
AWS SDK for C++
InvalidRequestContentException.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& GetType() const{ return m_type; }
44 
48  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
49 
53  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
54 
58  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
59 
63  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
64 
68  inline InvalidRequestContentException& WithType(const Aws::String& value) { SetType(value); return *this;}
69 
73  inline InvalidRequestContentException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
74 
78  inline InvalidRequestContentException& WithType(const char* value) { SetType(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 InvalidRequestContentException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
110 
114  inline InvalidRequestContentException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
115 
119  inline InvalidRequestContentException& WithMessage(const char* value) { SetMessage(value); return *this;}
120 
121  private:
122 
123  Aws::String m_type;
124  bool m_typeHasBeenSet;
125 
126  Aws::String m_message;
127  bool m_messageHasBeenSet;
128  };
129 
130 } // namespace Model
131 } // namespace Lambda
132 } // namespace Aws
Aws::Lambda::Model::InvalidRequestContentException::WithType
InvalidRequestContentException & WithType(Aws::String &&value)
Definition: InvalidRequestContentException.h:73
Aws::Lambda::Model::InvalidRequestContentException::SetMessage
void SetMessage(Aws::String &&value)
Definition: InvalidRequestContentException.h:99
Aws::Lambda::Model::InvalidRequestContentException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::InvalidRequestContentException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: InvalidRequestContentException.h:89
Aws::Lambda::Model::InvalidRequestContentException::WithType
InvalidRequestContentException & WithType(const char *value)
Definition: InvalidRequestContentException.h:78
Aws::Lambda::Model::InvalidRequestContentException::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: InvalidRequestContentException.h:48
Aws::Lambda::Model::InvalidRequestContentException::GetMessage
const Aws::String & GetMessage() const
Definition: InvalidRequestContentException.h:84
Aws::Lambda::Model::InvalidRequestContentException::WithMessage
InvalidRequestContentException & WithMessage(Aws::String &&value)
Definition: InvalidRequestContentException.h:114
Aws::Lambda::Model::InvalidRequestContentException::InvalidRequestContentException
InvalidRequestContentException(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::InvalidRequestContentException::SetMessage
void SetMessage(const char *value)
Definition: InvalidRequestContentException.h:104
Aws::Lambda::Model::InvalidRequestContentException::SetType
void SetType(const char *value)
Definition: InvalidRequestContentException.h:63
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::InvalidRequestContentException::WithMessage
InvalidRequestContentException & WithMessage(const char *value)
Definition: InvalidRequestContentException.h:119
Aws::Lambda::Model::InvalidRequestContentException::operator=
InvalidRequestContentException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::InvalidRequestContentException
Definition: InvalidRequestContentException.h:32
Aws::Lambda::Model::InvalidRequestContentException::WithMessage
InvalidRequestContentException & WithMessage(const Aws::String &value)
Definition: InvalidRequestContentException.h:109
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::InvalidRequestContentException::SetType
void SetType(Aws::String &&value)
Definition: InvalidRequestContentException.h:58
Aws::Lambda::Model::InvalidRequestContentException::WithType
InvalidRequestContentException & WithType(const Aws::String &value)
Definition: InvalidRequestContentException.h:68
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws::Lambda::Model::InvalidRequestContentException::SetType
void SetType(const Aws::String &value)
Definition: InvalidRequestContentException.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::InvalidRequestContentException::SetMessage
void SetMessage(const Aws::String &value)
Definition: InvalidRequestContentException.h:94
Aws::Lambda::Model::InvalidRequestContentException::InvalidRequestContentException
InvalidRequestContentException()
Aws::Lambda::Model::InvalidRequestContentException::GetType
const Aws::String & GetType() const
Definition: InvalidRequestContentException.h:43
Lambda_EXPORTS.h