AWS SDK for C++  1.9.104
AWS SDK for C++
CodeStorageExceededException.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 CodeStorageExceededException& WithType(const Aws::String& value) { SetType(value); return *this;}
71 
75  inline CodeStorageExceededException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
76 
80  inline CodeStorageExceededException& WithType(const char* value) { SetType(value); return *this;}
81 
82 
83 
84  inline const Aws::String& GetMessage() const{ return m_message; }
85 
86 
87  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
88 
89 
90  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
91 
92 
93  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
94 
95 
96  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
97 
98 
99  inline CodeStorageExceededException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
100 
101 
102  inline CodeStorageExceededException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
103 
104 
105  inline CodeStorageExceededException& WithMessage(const char* value) { SetMessage(value); return *this;}
106 
107  private:
108 
109  Aws::String m_type;
110  bool m_typeHasBeenSet;
111 
112  Aws::String m_message;
113  bool m_messageHasBeenSet;
114  };
115 
116 } // namespace Model
117 } // namespace Lambda
118 } // namespace Aws
Aws::Lambda::Model::CodeStorageExceededException::GetMessage
const Aws::String & GetMessage() const
Definition: CodeStorageExceededException.h:84
Aws::Lambda::Model::CodeStorageExceededException::SetMessage
void SetMessage(const Aws::String &value)
Definition: CodeStorageExceededException.h:90
Aws::Lambda::Model::CodeStorageExceededException::WithType
CodeStorageExceededException & WithType(Aws::String &&value)
Definition: CodeStorageExceededException.h:75
Aws::Lambda::Model::CodeStorageExceededException::GetType
const Aws::String & GetType() const
Definition: CodeStorageExceededException.h:45
Aws::Lambda::Model::CodeStorageExceededException::WithType
CodeStorageExceededException & WithType(const Aws::String &value)
Definition: CodeStorageExceededException.h:70
Aws::Lambda::Model::CodeStorageExceededException::SetMessage
void SetMessage(Aws::String &&value)
Definition: CodeStorageExceededException.h:93
Aws::Lambda::Model::CodeStorageExceededException::operator=
CodeStorageExceededException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::CodeStorageExceededException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: CodeStorageExceededException.h:87
Aws::Lambda::Model::CodeStorageExceededException::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: CodeStorageExceededException.h:50
Aws::Lambda::Model::CodeStorageExceededException::WithMessage
CodeStorageExceededException & WithMessage(const char *value)
Definition: CodeStorageExceededException.h:105
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::CodeStorageExceededException::WithType
CodeStorageExceededException & WithType(const char *value)
Definition: CodeStorageExceededException.h:80
Aws::Lambda::Model::CodeStorageExceededException::SetType
void SetType(const Aws::String &value)
Definition: CodeStorageExceededException.h:55
Aws::Lambda::Model::CodeStorageExceededException::SetMessage
void SetMessage(const char *value)
Definition: CodeStorageExceededException.h:96
Aws::Lambda::Model::CodeStorageExceededException::CodeStorageExceededException
CodeStorageExceededException()
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::CodeStorageExceededException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::CodeStorageExceededException::SetType
void SetType(Aws::String &&value)
Definition: CodeStorageExceededException.h:60
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::CodeStorageExceededException::WithMessage
CodeStorageExceededException & WithMessage(Aws::String &&value)
Definition: CodeStorageExceededException.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::CodeStorageExceededException::WithMessage
CodeStorageExceededException & WithMessage(const Aws::String &value)
Definition: CodeStorageExceededException.h:99
Aws::Lambda::Model::CodeStorageExceededException
Definition: CodeStorageExceededException.h:34
Lambda_EXPORTS.h
Aws::Lambda::Model::CodeStorageExceededException::CodeStorageExceededException
CodeStorageExceededException(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::CodeStorageExceededException::SetType
void SetType(const char *value)
Definition: CodeStorageExceededException.h:65