AWS SDK for C++  1.9.15
AWS SDK for C++
KMSDisabledException.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 KMSDisabledException& WithType(const Aws::String& value) { SetType(value); return *this;}
59 
60 
61  inline KMSDisabledException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
62 
63 
64  inline KMSDisabledException& 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 KMSDisabledException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
84 
85 
86  inline KMSDisabledException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
87 
88 
89  inline KMSDisabledException& 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::KMSDisabledException::KMSDisabledException
KMSDisabledException()
Aws::Lambda::Model::KMSDisabledException::SetMessage
void SetMessage(Aws::String &&value)
Definition: KMSDisabledException.h:77
Aws::Lambda::Model::KMSDisabledException
Definition: KMSDisabledException.h:34
Aws::Lambda::Model::KMSDisabledException::GetMessage
const Aws::String & GetMessage() const
Definition: KMSDisabledException.h:68
Aws::Lambda::Model::KMSDisabledException::SetMessage
void SetMessage(const char *value)
Definition: KMSDisabledException.h:80
Aws::Lambda::Model::KMSDisabledException::WithMessage
KMSDisabledException & WithMessage(Aws::String &&value)
Definition: KMSDisabledException.h:86
Aws::Lambda::Model::KMSDisabledException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: KMSDisabledException.h:71
Aws::Lambda::Model::KMSDisabledException::WithMessage
KMSDisabledException & WithMessage(const char *value)
Definition: KMSDisabledException.h:89
Aws::Lambda::Model::KMSDisabledException::SetType
void SetType(const char *value)
Definition: KMSDisabledException.h:55
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::KMSDisabledException::SetType
void SetType(const Aws::String &value)
Definition: KMSDisabledException.h:49
Aws::Lambda::Model::KMSDisabledException::KMSDisabledException
KMSDisabledException(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lambda::Model::KMSDisabledException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::KMSDisabledException::SetMessage
void SetMessage(const Aws::String &value)
Definition: KMSDisabledException.h:74
Aws::Lambda::Model::KMSDisabledException::WithType
KMSDisabledException & WithType(Aws::String &&value)
Definition: KMSDisabledException.h:61
Aws::Lambda::Model::KMSDisabledException::WithMessage
KMSDisabledException & WithMessage(const Aws::String &value)
Definition: KMSDisabledException.h:83
Aws::Lambda::Model::KMSDisabledException::WithType
KMSDisabledException & WithType(const char *value)
Definition: KMSDisabledException.h:64
Aws::Lambda::Model::KMSDisabledException::operator=
KMSDisabledException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::KMSDisabledException::SetType
void SetType(Aws::String &&value)
Definition: KMSDisabledException.h:52
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::KMSDisabledException::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: KMSDisabledException.h:46
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::KMSDisabledException::WithType
KMSDisabledException & WithType(const Aws::String &value)
Definition: KMSDisabledException.h:58
Lambda_EXPORTS.h
Aws::Lambda::Model::KMSDisabledException::GetType
const Aws::String & GetType() const
Definition: KMSDisabledException.h:43