AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename MessageT = Aws::String>
48 void SetMessage(MessageT&& value) { m_messageHasBeenSet = true; m_message = std::forward<MessageT>(value); }
49 template<typename MessageT = Aws::String>
50 IncompatibilityMessage& WithMessage(MessageT&& value) { SetMessage(std::forward<MessageT>(value)); return *this;}
52
54
61 inline DeviceAttribute GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(DeviceAttribute value) { m_typeHasBeenSet = true; m_type = value; }
64 inline IncompatibilityMessage& WithType(DeviceAttribute value) { SetType(value); return *this;}
66 private:
67
68 Aws::String m_message;
69 bool m_messageHasBeenSet = false;
70
72 bool m_typeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace DeviceFarm
77} // namespace Aws
IncompatibilityMessage & WithMessage(MessageT &&value)
AWS_DEVICEFARM_API IncompatibilityMessage(Aws::Utils::Json::JsonView jsonValue)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
IncompatibilityMessage & WithType(DeviceAttribute value)
AWS_DEVICEFARM_API IncompatibilityMessage()=default
AWS_DEVICEFARM_API IncompatibilityMessage & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue