AWS SDK for C++

AWS SDK for C++ Version 1.11.613

Loading...
Searching...
No Matches
GetDeviceDiscoveryResult.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 <aws/core/utils/DateTime.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace IoTManagedIntegrations
27{
28namespace Model
29{
31 {
32 public:
33 AWS_IOTMANAGEDINTEGRATIONS_API GetDeviceDiscoveryResult() = default;
36
37
39
42 inline const Aws::String& GetId() const { return m_id; }
43 template<typename IdT = Aws::String>
44 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
45 template<typename IdT = Aws::String>
46 GetDeviceDiscoveryResult& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
48
50
53 inline const Aws::String& GetArn() const { return m_arn; }
54 template<typename ArnT = Aws::String>
55 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
56 template<typename ArnT = Aws::String>
57 GetDeviceDiscoveryResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
59
61
65 inline DiscoveryType GetDiscoveryType() const { return m_discoveryType; }
66 inline void SetDiscoveryType(DiscoveryType value) { m_discoveryTypeHasBeenSet = true; m_discoveryType = value; }
69
71
74 inline DeviceDiscoveryStatus GetStatus() const { return m_status; }
75 inline void SetStatus(DeviceDiscoveryStatus value) { m_statusHasBeenSet = true; m_status = value; }
78
80
83 inline const Aws::Utils::DateTime& GetStartedAt() const { return m_startedAt; }
84 template<typename StartedAtT = Aws::Utils::DateTime>
85 void SetStartedAt(StartedAtT&& value) { m_startedAtHasBeenSet = true; m_startedAt = std::forward<StartedAtT>(value); }
86 template<typename StartedAtT = Aws::Utils::DateTime>
87 GetDeviceDiscoveryResult& WithStartedAt(StartedAtT&& value) { SetStartedAt(std::forward<StartedAtT>(value)); return *this;}
89
91
94 inline const Aws::String& GetControllerId() const { return m_controllerId; }
95 template<typename ControllerIdT = Aws::String>
96 void SetControllerId(ControllerIdT&& value) { m_controllerIdHasBeenSet = true; m_controllerId = std::forward<ControllerIdT>(value); }
97 template<typename ControllerIdT = Aws::String>
98 GetDeviceDiscoveryResult& WithControllerId(ControllerIdT&& value) { SetControllerId(std::forward<ControllerIdT>(value)); return *this;}
100
102
105 inline const Aws::String& GetAccountAssociationId() const { return m_accountAssociationId; }
106 template<typename AccountAssociationIdT = Aws::String>
107 void SetAccountAssociationId(AccountAssociationIdT&& value) { m_accountAssociationIdHasBeenSet = true; m_accountAssociationId = std::forward<AccountAssociationIdT>(value); }
108 template<typename AccountAssociationIdT = Aws::String>
109 GetDeviceDiscoveryResult& WithAccountAssociationId(AccountAssociationIdT&& value) { SetAccountAssociationId(std::forward<AccountAssociationIdT>(value)); return *this;}
111
113
116 inline const Aws::Utils::DateTime& GetFinishedAt() const { return m_finishedAt; }
117 template<typename FinishedAtT = Aws::Utils::DateTime>
118 void SetFinishedAt(FinishedAtT&& value) { m_finishedAtHasBeenSet = true; m_finishedAt = std::forward<FinishedAtT>(value); }
119 template<typename FinishedAtT = Aws::Utils::DateTime>
120 GetDeviceDiscoveryResult& WithFinishedAt(FinishedAtT&& value) { SetFinishedAt(std::forward<FinishedAtT>(value)); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const { return m_requestId; }
126 template<typename RequestIdT = Aws::String>
127 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
128 template<typename RequestIdT = Aws::String>
129 GetDeviceDiscoveryResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
131 private:
132
133 Aws::String m_id;
134 bool m_idHasBeenSet = false;
135
136 Aws::String m_arn;
137 bool m_arnHasBeenSet = false;
138
139 DiscoveryType m_discoveryType{DiscoveryType::NOT_SET};
140 bool m_discoveryTypeHasBeenSet = false;
141
143 bool m_statusHasBeenSet = false;
144
145 Aws::Utils::DateTime m_startedAt{};
146 bool m_startedAtHasBeenSet = false;
147
148 Aws::String m_controllerId;
149 bool m_controllerIdHasBeenSet = false;
150
151 Aws::String m_accountAssociationId;
152 bool m_accountAssociationIdHasBeenSet = false;
153
154 Aws::Utils::DateTime m_finishedAt{};
155 bool m_finishedAtHasBeenSet = false;
156
157 Aws::String m_requestId;
158 bool m_requestIdHasBeenSet = false;
159 };
160
161} // namespace Model
162} // namespace IoTManagedIntegrations
163} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API GetDeviceDiscoveryResult()=default
GetDeviceDiscoveryResult & WithDiscoveryType(DiscoveryType value)
GetDeviceDiscoveryResult & WithControllerId(ControllerIdT &&value)
AWS_IOTMANAGEDINTEGRATIONS_API GetDeviceDiscoveryResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API GetDeviceDiscoveryResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDeviceDiscoveryResult & WithStartedAt(StartedAtT &&value)
GetDeviceDiscoveryResult & WithFinishedAt(FinishedAtT &&value)
GetDeviceDiscoveryResult & WithRequestId(RequestIdT &&value)
GetDeviceDiscoveryResult & WithStatus(DeviceDiscoveryStatus value)
GetDeviceDiscoveryResult & WithAccountAssociationId(AccountAssociationIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue