AWS SDK for C++  1.9.123
AWS SDK for C++
ResourceConflictException.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 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetType() const{ return m_type; }
45 
49  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
50 
54  inline void SetType(const Aws::String& value) { m_typeHasBeenSet = true; m_type = value; }
55 
59  inline void SetType(Aws::String&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
60 
64  inline void SetType(const char* value) { m_typeHasBeenSet = true; m_type.assign(value); }
65 
69  inline ResourceConflictException& WithType(const Aws::String& value) { SetType(value); return *this;}
70 
74  inline ResourceConflictException& WithType(Aws::String&& value) { SetType(std::move(value)); return *this;}
75 
79  inline ResourceConflictException& WithType(const char* value) { SetType(value); return *this;}
80 
81 
85  inline const Aws::String& GetMessage() const{ return m_message; }
86 
90  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
91 
95  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
96 
100  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
101 
105  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
106 
110  inline ResourceConflictException& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
111 
115  inline ResourceConflictException& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
116 
120  inline ResourceConflictException& WithMessage(const char* value) { SetMessage(value); return *this;}
121 
122  private:
123 
124  Aws::String m_type;
125  bool m_typeHasBeenSet;
126 
127  Aws::String m_message;
128  bool m_messageHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace Lambda
133 } // namespace Aws
Aws::Lambda::Model::ResourceConflictException::SetType
void SetType(Aws::String &&value)
Definition: ResourceConflictException.h:59
Aws::Lambda::Model::ResourceConflictException::operator=
ResourceConflictException & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::ResourceConflictException::GetType
const Aws::String & GetType() const
Definition: ResourceConflictException.h:44
Aws::Lambda::Model::ResourceConflictException::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: ResourceConflictException.h:90
Aws::Lambda::Model::ResourceConflictException::SetMessage
void SetMessage(const Aws::String &value)
Definition: ResourceConflictException.h:95
Aws::Lambda::Model::ResourceConflictException
Definition: ResourceConflictException.h:33
Aws::Lambda::Model::ResourceConflictException::WithType
ResourceConflictException & WithType(const Aws::String &value)
Definition: ResourceConflictException.h:69
Aws::Lambda::Model::ResourceConflictException::GetMessage
const Aws::String & GetMessage() const
Definition: ResourceConflictException.h:85
AWS_LAMBDA_API
#define AWS_LAMBDA_API
Definition: Lambda_EXPORTS.h:28
Aws::Lambda::Model::ResourceConflictException::SetMessage
void SetMessage(const char *value)
Definition: ResourceConflictException.h:105
Aws::Lambda::Model::ResourceConflictException::SetType
void SetType(const char *value)
Definition: ResourceConflictException.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Lambda::Model::ResourceConflictException::ResourceConflictException
ResourceConflictException()
Aws::Lambda::Model::ResourceConflictException::SetType
void SetType(const Aws::String &value)
Definition: ResourceConflictException.h:54
Aws::Lambda::Model::ResourceConflictException::ResourceConflictException
ResourceConflictException(Aws::Utils::Json::JsonView jsonValue)
Aws::Lambda::Model::ResourceConflictException::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: ResourceConflictException.h:49
Aws::Lambda::Model::ResourceConflictException::WithMessage
ResourceConflictException & WithMessage(const Aws::String &value)
Definition: ResourceConflictException.h:110
Aws::CodePipeline::Model::ExecutorType::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::Lambda::Model::ResourceConflictException::WithMessage
ResourceConflictException & WithMessage(const char *value)
Definition: ResourceConflictException.h:120
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lambda::Model::ResourceConflictException::WithMessage
ResourceConflictException & WithMessage(Aws::String &&value)
Definition: ResourceConflictException.h:115
Aws::Lambda::Model::ResourceConflictException::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lambda::Model::ResourceConflictException::WithType
ResourceConflictException & WithType(const char *value)
Definition: ResourceConflictException.h:79
Lambda_EXPORTS.h
Aws::Lambda::Model::ResourceConflictException::SetMessage
void SetMessage(Aws::String &&value)
Definition: ResourceConflictException.h:100
Aws::Lambda::Model::ResourceConflictException::WithType
ResourceConflictException & WithType(Aws::String &&value)
Definition: ResourceConflictException.h:74