AWS SDK for C++

AWS SDK for C++ Version 1.11.929

Loading...
Searching...
No Matches
GetManagedThingCapabilitiesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot-managed-integrations/IoTManagedIntegrations_EXPORTS.h>
10#include <aws/iot-managed-integrations/model/CapabilityReport.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoTManagedIntegrations {
24namespace Model {
26 public:
27 AWS_IOTMANAGEDINTEGRATIONS_API GetManagedThingCapabilitiesResult() = default;
29 AWS_IOTMANAGEDINTEGRATIONS_API GetManagedThingCapabilitiesResult& operator=(
31
33
36 inline const Aws::String& GetManagedThingId() const { return m_managedThingId; }
37 template <typename ManagedThingIdT = Aws::String>
38 void SetManagedThingId(ManagedThingIdT&& value) {
39 m_managedThingIdHasBeenSet = true;
40 m_managedThingId = std::forward<ManagedThingIdT>(value);
41 }
42 template <typename ManagedThingIdT = Aws::String>
44 SetManagedThingId(std::forward<ManagedThingIdT>(value));
45 return *this;
46 }
48
50
53 inline const CapabilityReport& GetCapabilityReport() const { return m_capabilityReport; }
54 template <typename CapabilityReportT = CapabilityReport>
55 void SetCapabilityReport(CapabilityReportT&& value) {
56 m_capabilityReportHasBeenSet = true;
57 m_capabilityReport = std::forward<CapabilityReportT>(value);
58 }
59 template <typename CapabilityReportT = CapabilityReport>
61 SetCapabilityReport(std::forward<CapabilityReportT>(value));
62 return *this;
63 }
65
67
68 inline const Aws::String& GetRequestId() const { return m_requestId; }
69 template <typename RequestIdT = Aws::String>
70 void SetRequestId(RequestIdT&& value) {
71 m_requestIdHasBeenSet = true;
72 m_requestId = std::forward<RequestIdT>(value);
73 }
74 template <typename RequestIdT = Aws::String>
76 SetRequestId(std::forward<RequestIdT>(value));
77 return *this;
78 }
80 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
81
82 private:
83 Aws::String m_managedThingId;
84
85 CapabilityReport m_capabilityReport;
86
87 Aws::String m_requestId;
88 Aws::Http::HttpResponseCode m_HttpResponseCode;
89 bool m_managedThingIdHasBeenSet = false;
90 bool m_capabilityReportHasBeenSet = false;
91 bool m_requestIdHasBeenSet = false;
92};
93
94} // namespace Model
95} // namespace IoTManagedIntegrations
96} // namespace Aws
AWS_IOTMANAGEDINTEGRATIONS_API GetManagedThingCapabilitiesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API GetManagedThingCapabilitiesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_IOTMANAGEDINTEGRATIONS_API GetManagedThingCapabilitiesResult()=default
GetManagedThingCapabilitiesResult & WithCapabilityReport(CapabilityReportT &&value)
GetManagedThingCapabilitiesResult & WithManagedThingId(ManagedThingIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue