AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DakCertificateMetadata.h
1
6#pragma once
7#include <aws/iotwireless/IoTWireless_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace IoTWireless
22{
23namespace Model
24{
25
32 {
33 public:
34 AWS_IOTWIRELESS_API DakCertificateMetadata();
35 AWS_IOTWIRELESS_API DakCertificateMetadata(Aws::Utils::Json::JsonView jsonValue);
37 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
38
39
41
44 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
45 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
46 inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
47 inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
48 inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
49 inline DakCertificateMetadata& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
50 inline DakCertificateMetadata& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
51 inline DakCertificateMetadata& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
53
55
59 inline int GetMaxAllowedSignature() const{ return m_maxAllowedSignature; }
60 inline bool MaxAllowedSignatureHasBeenSet() const { return m_maxAllowedSignatureHasBeenSet; }
61 inline void SetMaxAllowedSignature(int value) { m_maxAllowedSignatureHasBeenSet = true; m_maxAllowedSignature = value; }
62 inline DakCertificateMetadata& WithMaxAllowedSignature(int value) { SetMaxAllowedSignature(value); return *this;}
64
66
69 inline bool GetFactorySupport() const{ return m_factorySupport; }
70 inline bool FactorySupportHasBeenSet() const { return m_factorySupportHasBeenSet; }
71 inline void SetFactorySupport(bool value) { m_factorySupportHasBeenSet = true; m_factorySupport = value; }
72 inline DakCertificateMetadata& WithFactorySupport(bool value) { SetFactorySupport(value); return *this;}
74
76
80 inline const Aws::String& GetApId() const{ return m_apId; }
81 inline bool ApIdHasBeenSet() const { return m_apIdHasBeenSet; }
82 inline void SetApId(const Aws::String& value) { m_apIdHasBeenSet = true; m_apId = value; }
83 inline void SetApId(Aws::String&& value) { m_apIdHasBeenSet = true; m_apId = std::move(value); }
84 inline void SetApId(const char* value) { m_apIdHasBeenSet = true; m_apId.assign(value); }
85 inline DakCertificateMetadata& WithApId(const Aws::String& value) { SetApId(value); return *this;}
86 inline DakCertificateMetadata& WithApId(Aws::String&& value) { SetApId(std::move(value)); return *this;}
87 inline DakCertificateMetadata& WithApId(const char* value) { SetApId(value); return *this;}
89
91
94 inline const Aws::String& GetDeviceTypeId() const{ return m_deviceTypeId; }
95 inline bool DeviceTypeIdHasBeenSet() const { return m_deviceTypeIdHasBeenSet; }
96 inline void SetDeviceTypeId(const Aws::String& value) { m_deviceTypeIdHasBeenSet = true; m_deviceTypeId = value; }
97 inline void SetDeviceTypeId(Aws::String&& value) { m_deviceTypeIdHasBeenSet = true; m_deviceTypeId = std::move(value); }
98 inline void SetDeviceTypeId(const char* value) { m_deviceTypeIdHasBeenSet = true; m_deviceTypeId.assign(value); }
99 inline DakCertificateMetadata& WithDeviceTypeId(const Aws::String& value) { SetDeviceTypeId(value); return *this;}
100 inline DakCertificateMetadata& WithDeviceTypeId(Aws::String&& value) { SetDeviceTypeId(std::move(value)); return *this;}
101 inline DakCertificateMetadata& WithDeviceTypeId(const char* value) { SetDeviceTypeId(value); return *this;}
103 private:
104
105 Aws::String m_certificateId;
106 bool m_certificateIdHasBeenSet = false;
107
108 int m_maxAllowedSignature;
109 bool m_maxAllowedSignatureHasBeenSet = false;
110
111 bool m_factorySupport;
112 bool m_factorySupportHasBeenSet = false;
113
114 Aws::String m_apId;
115 bool m_apIdHasBeenSet = false;
116
117 Aws::String m_deviceTypeId;
118 bool m_deviceTypeIdHasBeenSet = false;
119 };
120
121} // namespace Model
122} // namespace IoTWireless
123} // namespace Aws
DakCertificateMetadata & WithCertificateId(const char *value)
DakCertificateMetadata & WithApId(const char *value)
DakCertificateMetadata & WithDeviceTypeId(Aws::String &&value)
DakCertificateMetadata & WithDeviceTypeId(const char *value)
AWS_IOTWIRELESS_API DakCertificateMetadata(Aws::Utils::Json::JsonView jsonValue)
DakCertificateMetadata & WithDeviceTypeId(const Aws::String &value)
DakCertificateMetadata & WithApId(Aws::String &&value)
DakCertificateMetadata & WithApId(const Aws::String &value)
DakCertificateMetadata & WithFactorySupport(bool value)
DakCertificateMetadata & WithMaxAllowedSignature(int value)
DakCertificateMetadata & WithCertificateId(Aws::String &&value)
AWS_IOTWIRELESS_API DakCertificateMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
DakCertificateMetadata & WithCertificateId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue