AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
DeviceDiscoverySummary.h
1
6#pragma once
7#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/model/DiscoveryType.h>
10#include <aws/iot-managed-integrations/model/DeviceDiscoveryStatus.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 IoTManagedIntegrations
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_IOTMANAGEDINTEGRATIONS_API DeviceDiscoverySummary() = default;
38 AWS_IOTMANAGEDINTEGRATIONS_API DeviceDiscoverySummary(Aws::Utils::Json::JsonView jsonValue);
39 AWS_IOTMANAGEDINTEGRATIONS_API DeviceDiscoverySummary& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_IOTMANAGEDINTEGRATIONS_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetId() const { return m_id; }
48 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
49 template<typename IdT = Aws::String>
50 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
51 template<typename IdT = Aws::String>
52 DeviceDiscoverySummary& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
54
56
59 inline DiscoveryType GetDiscoveryType() const { return m_discoveryType; }
60 inline bool DiscoveryTypeHasBeenSet() const { return m_discoveryTypeHasBeenSet; }
61 inline void SetDiscoveryType(DiscoveryType value) { m_discoveryTypeHasBeenSet = true; m_discoveryType = value; }
64
66
69 inline DeviceDiscoveryStatus GetStatus() const { return m_status; }
70 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
71 inline void SetStatus(DeviceDiscoveryStatus value) { m_statusHasBeenSet = true; m_status = value; }
72 inline DeviceDiscoverySummary& WithStatus(DeviceDiscoveryStatus value) { SetStatus(value); return *this;}
74 private:
75
76 Aws::String m_id;
77 bool m_idHasBeenSet = false;
78
80 bool m_discoveryTypeHasBeenSet = false;
81
83 bool m_statusHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace IoTManagedIntegrations
88} // 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