AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DevicePoolCompatibilityResult.h
1
6#pragma once
7#include <aws/devicefarm/DeviceFarm_EXPORTS.h>
8#include <aws/devicefarm/model/Device.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/devicefarm/model/IncompatibilityMessage.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace DeviceFarm
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_DEVICEFARM_API DevicePoolCompatibilityResult();
39 AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Device& GetDevice() const{ return m_device; }
47 inline bool DeviceHasBeenSet() const { return m_deviceHasBeenSet; }
48 inline void SetDevice(const Device& value) { m_deviceHasBeenSet = true; m_device = value; }
49 inline void SetDevice(Device&& value) { m_deviceHasBeenSet = true; m_device = std::move(value); }
50 inline DevicePoolCompatibilityResult& WithDevice(const Device& value) { SetDevice(value); return *this;}
51 inline DevicePoolCompatibilityResult& WithDevice(Device&& value) { SetDevice(std::move(value)); return *this;}
53
55
58 inline bool GetCompatible() const{ return m_compatible; }
59 inline bool CompatibleHasBeenSet() const { return m_compatibleHasBeenSet; }
60 inline void SetCompatible(bool value) { m_compatibleHasBeenSet = true; m_compatible = value; }
61 inline DevicePoolCompatibilityResult& WithCompatible(bool value) { SetCompatible(value); return *this;}
63
65
68 inline const Aws::Vector<IncompatibilityMessage>& GetIncompatibilityMessages() const{ return m_incompatibilityMessages; }
69 inline bool IncompatibilityMessagesHasBeenSet() const { return m_incompatibilityMessagesHasBeenSet; }
70 inline void SetIncompatibilityMessages(const Aws::Vector<IncompatibilityMessage>& value) { m_incompatibilityMessagesHasBeenSet = true; m_incompatibilityMessages = value; }
71 inline void SetIncompatibilityMessages(Aws::Vector<IncompatibilityMessage>&& value) { m_incompatibilityMessagesHasBeenSet = true; m_incompatibilityMessages = std::move(value); }
74 inline DevicePoolCompatibilityResult& AddIncompatibilityMessages(const IncompatibilityMessage& value) { m_incompatibilityMessagesHasBeenSet = true; m_incompatibilityMessages.push_back(value); return *this; }
75 inline DevicePoolCompatibilityResult& AddIncompatibilityMessages(IncompatibilityMessage&& value) { m_incompatibilityMessagesHasBeenSet = true; m_incompatibilityMessages.push_back(std::move(value)); return *this; }
77 private:
78
79 Device m_device;
80 bool m_deviceHasBeenSet = false;
81
82 bool m_compatible;
83 bool m_compatibleHasBeenSet = false;
84
85 Aws::Vector<IncompatibilityMessage> m_incompatibilityMessages;
86 bool m_incompatibilityMessagesHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace DeviceFarm
91} // namespace Aws
DevicePoolCompatibilityResult & WithDevice(const Device &value)
DevicePoolCompatibilityResult & WithDevice(Device &&value)
const Aws::Vector< IncompatibilityMessage > & GetIncompatibilityMessages() const
DevicePoolCompatibilityResult & WithIncompatibilityMessages(const Aws::Vector< IncompatibilityMessage > &value)
DevicePoolCompatibilityResult & WithIncompatibilityMessages(Aws::Vector< IncompatibilityMessage > &&value)
DevicePoolCompatibilityResult & AddIncompatibilityMessages(IncompatibilityMessage &&value)
DevicePoolCompatibilityResult & WithCompatible(bool value)
AWS_DEVICEFARM_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_DEVICEFARM_API DevicePoolCompatibilityResult(Aws::Utils::Json::JsonView jsonValue)
DevicePoolCompatibilityResult & AddIncompatibilityMessages(const IncompatibilityMessage &value)
void SetIncompatibilityMessages(Aws::Vector< IncompatibilityMessage > &&value)
void SetIncompatibilityMessages(const Aws::Vector< IncompatibilityMessage > &value)
AWS_DEVICEFARM_API DevicePoolCompatibilityResult & operator=(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue