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