AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
DeviceDiscoverySummary.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
9#include <aws/iot-managed-integrations/model/DeviceDiscoveryStatus.h>
10#include <aws/iot-managed-integrations/model/DiscoveryType.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTManagedIntegrations {
22namespace Model {
23
31 public:
32 AWS_IOTMANAGEDINTEGRATIONS_API DeviceDiscoverySummary() = default;
33 AWS_IOTMANAGEDINTEGRATIONS_API DeviceDiscoverySummary(Aws::Utils::Json::JsonView jsonValue);
34 AWS_IOTMANAGEDINTEGRATIONS_API DeviceDiscoverySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
35 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetId() const { return m_id; }
42 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
43 template <typename IdT = Aws::String>
44 void SetId(IdT&& value) {
45 m_idHasBeenSet = true;
46 m_id = std::forward<IdT>(value);
47 }
48 template <typename IdT = Aws::String>
50 SetId(std::forward<IdT>(value));
51 return *this;
52 }
54
56
59 inline DiscoveryType GetDiscoveryType() const { return m_discoveryType; }
60 inline bool DiscoveryTypeHasBeenSet() const { return m_discoveryTypeHasBeenSet; }
61 inline void SetDiscoveryType(DiscoveryType value) {
62 m_discoveryTypeHasBeenSet = true;
63 m_discoveryType = value;
64 }
66 SetDiscoveryType(value);
67 return *this;
68 }
70
72
75 inline DeviceDiscoveryStatus GetStatus() const { return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(DeviceDiscoveryStatus value) {
78 m_statusHasBeenSet = true;
79 m_status = value;
80 }
82 SetStatus(value);
83 return *this;
84 }
86 private:
87 Aws::String m_id;
88
90
92 bool m_idHasBeenSet = false;
93 bool m_discoveryTypeHasBeenSet = false;
94 bool m_statusHasBeenSet = false;
95};
96
97} // namespace Model
98} // namespace IoTManagedIntegrations
99} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API DeviceDiscoverySummary & operator=(Aws::Utils::Json::JsonView jsonValue)
DeviceDiscoverySummary & WithStatus(DeviceDiscoveryStatus value)
AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_IOTMANAGEDINTEGRATIONS_API DeviceDiscoverySummary(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTMANAGEDINTEGRATIONS_API DeviceDiscoverySummary()=default
DeviceDiscoverySummary & WithDiscoveryType(DiscoveryType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue