AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IncompatibilityMessage.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/devicefarm/model/DeviceAttribute.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace DeviceFarm
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_DEVICEFARM_API IncompatibilityMessage();
38 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetMessage() const{ return m_message; }
46 inline bool MessageHasBeenSet() const { return m_messageHasBeenSet; }
47 inline void SetMessage(const Aws::String& value) { m_messageHasBeenSet = true; m_message = value; }
48 inline void SetMessage(Aws::String&& value) { m_messageHasBeenSet = true; m_message = std::move(value); }
49 inline void SetMessage(const char* value) { m_messageHasBeenSet = true; m_message.assign(value); }
50 inline IncompatibilityMessage& WithMessage(const Aws::String& value) { SetMessage(value); return *this;}
51 inline IncompatibilityMessage& WithMessage(Aws::String&& value) { SetMessage(std::move(value)); return *this;}
52 inline IncompatibilityMessage& WithMessage(const char* value) { SetMessage(value); return *this;}
54
56
63 inline const DeviceAttribute& GetType() const{ return m_type; }
64 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
65 inline void SetType(const DeviceAttribute& value) { m_typeHasBeenSet = true; m_type = value; }
66 inline void SetType(DeviceAttribute&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
67 inline IncompatibilityMessage& WithType(const DeviceAttribute& value) { SetType(value); return *this;}
68 inline IncompatibilityMessage& WithType(DeviceAttribute&& value) { SetType(std::move(value)); return *this;}
70 private:
71
72 Aws::String m_message;
73 bool m_messageHasBeenSet = false;
74
75 DeviceAttribute m_type;
76 bool m_typeHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace DeviceFarm
81} // namespace Aws
IncompatibilityMessage & WithMessage(const char *value)
AWS_DEVICEFARM_API IncompatibilityMessage(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
IncompatibilityMessage & WithType(DeviceAttribute &&value)
IncompatibilityMessage & WithMessage(const Aws::String &value)
IncompatibilityMessage & WithType(const DeviceAttribute &value)
AWS_DEVICEFARM_API IncompatibilityMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
IncompatibilityMessage & WithMessage(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue