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