AWS SDK for C++  1.9.129
AWS SDK for C++
RequestTooLargeException.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 
35  {
36  public:
41 
42 
43 
44  inline const Aws::String& GetType() const{ return m_type; }
45 
46 
47  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
48 
49 
50  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
51 
52 
53  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
54 
55 
56  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
57 
58 
59  inline RequestTooLargeException& WithType(const Aws::String& value) { SetType(value); return *this;}
60 
61 
62  inline RequestTooLargeException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
63 
64 
65  inline RequestTooLargeException& WithType(const char* value) { SetType(value); return *this;}
66 
67 
68 
69  inline const Aws::String& GetMessage() const{ return m_message; }
70 
71 
72  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
73 
74 
75  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
76 
77 
78  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
79 
80 
81  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
82 
83 
84  inline RequestTooLargeException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
85 
86 
87  inline RequestTooLargeException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
88 
89 
90  inline RequestTooLargeException& WithMessage(const char* value) { SetMessage(value); return *this;}
91 
92  private:
93 
94  Aws::String m_type;
95  bool m_typeHasBeenSet;
96 
97  Aws::String m_message;
98  bool m_messageHasBeenSet;
99  };
100 
101 } // namespace Model
102 } // namespace Lambda
103 } // namespace Aws
Aws::Lambda::Model::RequestTooLargeException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: RequestTooLargeException.h:72
Aws::Lambda::Model::RequestTooLargeException::SetType
void SetType(const Aws::String &value)
Definition: RequestTooLargeException.h:50
Aws::Lambda::Model::RequestTooLargeException::SetMessage
void SetMessage(const char *value)
Definition: RequestTooLargeException.h:81
Aws::Lambda::Model::RequestTooLargeException
Definition: RequestTooLargeException.h:35
Aws::Lambda::Model::RequestTooLargeException::GetMessage
const Aws::String & GetMessage() const
Definition: RequestTooLargeException.h:69
Aws::Lambda::Model::RequestTooLargeException::WithMessage
RequestTooLargeException & WithMessage(Aws::String &&value)
Definition: RequestTooLargeException.h:87
Aws::Lambda::Model::RequestTooLargeException::WithMessage
RequestTooLargeException & WithMessage(const Aws::String &value)
Definition: RequestTooLargeException.h:84
Aws::Lambda::Model::RequestTooLargeException::WithType
RequestTooLargeException & WithType(const Aws::String &value)
Definition: RequestTooLargeException.h:59
Aws::Lambda::Model::RequestTooLargeException::RequestTooLargeException
RequestTooLargeException()
Aws::Lambda::Model::RequestTooLargeException::RequestTooLargeException
RequestTooLargeException(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::RequestTooLargeException::WithMessage
RequestTooLargeException & WithMessage(const char *value)
Definition: RequestTooLargeException.h:90
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::RequestTooLargeException::SetType
void SetType(Aws::String &&value)
Definition: RequestTooLargeException.h:53
Aws::Lambda::Model::RequestTooLargeException::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: RequestTooLargeException.h:47
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::RequestTooLargeException::operator=
RequestTooLargeException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::RequestTooLargeException::SetMessage
void SetMessage(Aws::String &&value)
Definition: RequestTooLargeException.h:78
Aws::Lambda::Model::RequestTooLargeException::SetType
void SetType(const char *value)
Definition: RequestTooLargeException.h:56
Aws::Lambda::Model::RequestTooLargeException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::RequestTooLargeException::GetType
const Aws::String & GetType() const
Definition: RequestTooLargeException.h:44
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
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::RequestTooLargeException::SetMessage
void SetMessage(const Aws::String &value)
Definition: RequestTooLargeException.h:75
Aws::Lambda::Model::RequestTooLargeException::WithType
RequestTooLargeException & WithType(const char *value)
Definition: RequestTooLargeException.h:65
Aws::Lambda::Model::RequestTooLargeException::WithType
RequestTooLargeException & WithType(Aws::String &&value)
Definition: RequestTooLargeException.h:62
Lambda_EXPORTS.h