AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ProvisionDeviceResult.h
1
6#pragma once
7#include <aws/panorama/Panorama_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/Array.h>
10#include <aws/panorama/model/DeviceStatus.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace Panorama
26{
27namespace Model
28{
30 {
31 public:
32 AWS_PANORAMA_API ProvisionDeviceResult();
35
36
38
41 inline const Aws::String& GetArn() const{ return m_arn; }
42 inline void SetArn(const Aws::String& value) { m_arn = value; }
43 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
44 inline void SetArn(const char* value) { m_arn.assign(value); }
45 inline ProvisionDeviceResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
46 inline ProvisionDeviceResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
47 inline ProvisionDeviceResult& WithArn(const char* value) { SetArn(value); return *this;}
49
51
54 inline const Aws::Utils::ByteBuffer& GetCertificates() const{ return m_certificates; }
55 inline void SetCertificates(const Aws::Utils::ByteBuffer& value) { m_certificates = value; }
56 inline void SetCertificates(Aws::Utils::ByteBuffer&& value) { m_certificates = std::move(value); }
58 inline ProvisionDeviceResult& WithCertificates(Aws::Utils::ByteBuffer&& value) { SetCertificates(std::move(value)); return *this;}
60
62
65 inline const Aws::String& GetDeviceId() const{ return m_deviceId; }
66 inline void SetDeviceId(const Aws::String& value) { m_deviceId = value; }
67 inline void SetDeviceId(Aws::String&& value) { m_deviceId = std::move(value); }
68 inline void SetDeviceId(const char* value) { m_deviceId.assign(value); }
69 inline ProvisionDeviceResult& WithDeviceId(const Aws::String& value) { SetDeviceId(value); return *this;}
70 inline ProvisionDeviceResult& WithDeviceId(Aws::String&& value) { SetDeviceId(std::move(value)); return *this;}
71 inline ProvisionDeviceResult& WithDeviceId(const char* value) { SetDeviceId(value); return *this;}
73
75
78 inline const Aws::String& GetIotThingName() const{ return m_iotThingName; }
79 inline void SetIotThingName(const Aws::String& value) { m_iotThingName = value; }
80 inline void SetIotThingName(Aws::String&& value) { m_iotThingName = std::move(value); }
81 inline void SetIotThingName(const char* value) { m_iotThingName.assign(value); }
82 inline ProvisionDeviceResult& WithIotThingName(const Aws::String& value) { SetIotThingName(value); return *this;}
83 inline ProvisionDeviceResult& WithIotThingName(Aws::String&& value) { SetIotThingName(std::move(value)); return *this;}
84 inline ProvisionDeviceResult& WithIotThingName(const char* value) { SetIotThingName(value); return *this;}
86
88
91 inline const DeviceStatus& GetStatus() const{ return m_status; }
92 inline void SetStatus(const DeviceStatus& value) { m_status = value; }
93 inline void SetStatus(DeviceStatus&& value) { m_status = std::move(value); }
94 inline ProvisionDeviceResult& WithStatus(const DeviceStatus& value) { SetStatus(value); return *this;}
95 inline ProvisionDeviceResult& WithStatus(DeviceStatus&& value) { SetStatus(std::move(value)); return *this;}
97
99
100 inline const Aws::String& GetRequestId() const{ return m_requestId; }
101 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
102 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
103 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
104 inline ProvisionDeviceResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
105 inline ProvisionDeviceResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
106 inline ProvisionDeviceResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
108 private:
109
110 Aws::String m_arn;
111
112 Aws::Utils::ByteBuffer m_certificates;
113
114 Aws::String m_deviceId;
115
116 Aws::String m_iotThingName;
117
118 DeviceStatus m_status;
119
120 Aws::String m_requestId;
121 };
122
123} // namespace Model
124} // namespace Panorama
125} // namespace Aws
ProvisionDeviceResult & WithRequestId(const char *value)
ProvisionDeviceResult & WithStatus(DeviceStatus &&value)
ProvisionDeviceResult & WithArn(const Aws::String &value)
ProvisionDeviceResult & WithIotThingName(Aws::String &&value)
ProvisionDeviceResult & WithDeviceId(const Aws::String &value)
AWS_PANORAMA_API ProvisionDeviceResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ProvisionDeviceResult & WithStatus(const DeviceStatus &value)
ProvisionDeviceResult & WithDeviceId(Aws::String &&value)
void SetCertificates(const Aws::Utils::ByteBuffer &value)
ProvisionDeviceResult & WithArn(const char *value)
const Aws::Utils::ByteBuffer & GetCertificates() const
ProvisionDeviceResult & WithIotThingName(const Aws::String &value)
ProvisionDeviceResult & WithCertificates(const Aws::Utils::ByteBuffer &value)
AWS_PANORAMA_API ProvisionDeviceResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ProvisionDeviceResult & WithCertificates(Aws::Utils::ByteBuffer &&value)
ProvisionDeviceResult & WithArn(Aws::String &&value)
ProvisionDeviceResult & WithDeviceId(const char *value)
void SetCertificates(Aws::Utils::ByteBuffer &&value)
ProvisionDeviceResult & WithIotThingName(const char *value)
ProvisionDeviceResult & WithRequestId(const Aws::String &value)
ProvisionDeviceResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue