AWS SDK for C++  1.9.66
AWS SDK for C++
IncompatibilityMessage.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace DeviceFarm
23 {
24 namespace Model
25 {
26 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetMessage() const{ return m_message; }
45 
49  inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
50 
54  inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
55 
59  inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
60 
64  inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
65 
69  inline IncompatibilityMessage& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
70 
74  inline IncompatibilityMessage& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
75 
79  inline IncompatibilityMessage& WithMessage(const char* value) { SetMessage(value); return *this;}
80 
81 
89  inline const DeviceAttribute& GetType() const{ return m_type; }
90 
98  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
99 
107  inline void SetType(const DeviceAttribute& value) { m_typeHasBeenSet = true; m_type = value; }
108 
116  inline void SetType(DeviceAttribute&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
117 
125  inline IncompatibilityMessage& WithType(const DeviceAttribute& value) { SetType(value); return *this;}
126 
134  inline IncompatibilityMessage& WithType(DeviceAttribute&& value) { SetType(std::move(value)); return *this;}
135 
136  private:
137 
138  Aws::String m_message;
139  bool m_messageHasBeenSet;
140 
141  DeviceAttribute m_type;
142  bool m_typeHasBeenSet;
143  };
144 
145 } // namespace Model
146 } // namespace DeviceFarm
147 } // namespace Aws
DeviceAttribute.h
Aws::DeviceFarm::Model::IncompatibilityMessage::WithMessage
IncompatibilityMessage & WithMessage(Aws::String &&value)
Definition: IncompatibilityMessage.h:74
Aws::DeviceFarm::Model::IncompatibilityMessage::IncompatibilityMessage
IncompatibilityMessage(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::IncompatibilityMessage::GetMessage
const Aws::String & GetMessage() const
Definition: IncompatibilityMessage.h:44
Aws::DeviceFarm::Model::IncompatibilityMessage::MessageHasBeenSet
bool MessageHasBeenSet() const
Definition: IncompatibilityMessage.h:49
Aws::DeviceFarm::Model::IncompatibilityMessage::SetMessage
void SetMessage(const Aws::String &value)
Definition: IncompatibilityMessage.h:54
Aws::DeviceFarm::Model::IncompatibilityMessage::SetType
void SetType(DeviceAttribute &&value)
Definition: IncompatibilityMessage.h:116
Aws::DeviceFarm::Model::IncompatibilityMessage::WithType
IncompatibilityMessage & WithType(DeviceAttribute &&value)
Definition: IncompatibilityMessage.h:134
Aws::DeviceFarm::Model::IncompatibilityMessage::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: IncompatibilityMessage.h:98
Aws::DeviceFarm::Model::IncompatibilityMessage::operator=
IncompatibilityMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::DeviceFarm::Model::IncompatibilityMessage::WithMessage
IncompatibilityMessage & WithMessage(const Aws::String &value)
Definition: IncompatibilityMessage.h:69
Aws::DeviceFarm::Model::IncompatibilityMessage::IncompatibilityMessage
IncompatibilityMessage()
Aws::DeviceFarm::Model::IncompatibilityMessage::SetMessage
void SetMessage(Aws::String &&value)
Definition: IncompatibilityMessage.h:59
AWS_DEVICEFARM_API
#define AWS_DEVICEFARM_API
Definition: DeviceFarm_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::DeviceFarm::Model::IncompatibilityMessage::GetType
const DeviceAttribute & GetType() const
Definition: IncompatibilityMessage.h:89
Aws::DeviceFarm::Model::IncompatibilityMessage::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::DeviceFarm::Model::DeviceAttribute
DeviceAttribute
Definition: DeviceAttribute.h:17
Aws
Definition: AccessManagementClient.h:15
DeviceFarm_EXPORTS.h
Aws::DeviceFarm::Model::IncompatibilityMessage::SetMessage
void SetMessage(const char *value)
Definition: IncompatibilityMessage.h:64
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::DeviceFarm::Model::IncompatibilityMessage::SetType
void SetType(const DeviceAttribute &value)
Definition: IncompatibilityMessage.h:107
Aws::DeviceFarm::Model::IncompatibilityMessage::WithMessage
IncompatibilityMessage & WithMessage(const char *value)
Definition: IncompatibilityMessage.h:79
Aws::DeviceFarm::Model::IncompatibilityMessage
Definition: IncompatibilityMessage.h:33
Aws::DeviceFarm::Model::IncompatibilityMessage::WithType
IncompatibilityMessage & WithType(const DeviceAttribute &value)
Definition: IncompatibilityMessage.h:125