AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DakCertificateMetadata.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/iotwireless/IoTWireless_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace IoTWireless {
20namespace Model {
21
28 public:
29 AWS_IOTWIRELESS_API DakCertificateMetadata() = default;
30 AWS_IOTWIRELESS_API DakCertificateMetadata(Aws::Utils::Json::JsonView jsonValue);
32 AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
39 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
40 template <typename CertificateIdT = Aws::String>
41 void SetCertificateId(CertificateIdT&& value) {
42 m_certificateIdHasBeenSet = true;
43 m_certificateId = std::forward<CertificateIdT>(value);
44 }
45 template <typename CertificateIdT = Aws::String>
46 DakCertificateMetadata& WithCertificateId(CertificateIdT&& value) {
47 SetCertificateId(std::forward<CertificateIdT>(value));
48 return *this;
49 }
51
53
57 inline int GetMaxAllowedSignature() const { return m_maxAllowedSignature; }
58 inline bool MaxAllowedSignatureHasBeenSet() const { return m_maxAllowedSignatureHasBeenSet; }
59 inline void SetMaxAllowedSignature(int value) {
60 m_maxAllowedSignatureHasBeenSet = true;
61 m_maxAllowedSignature = value;
62 }
65 return *this;
66 }
68
70
73 inline bool GetFactorySupport() const { return m_factorySupport; }
74 inline bool FactorySupportHasBeenSet() const { return m_factorySupportHasBeenSet; }
75 inline void SetFactorySupport(bool value) {
76 m_factorySupportHasBeenSet = true;
77 m_factorySupport = value;
78 }
80 SetFactorySupport(value);
81 return *this;
82 }
84
86
90 inline const Aws::String& GetApId() const { return m_apId; }
91 inline bool ApIdHasBeenSet() const { return m_apIdHasBeenSet; }
92 template <typename ApIdT = Aws::String>
93 void SetApId(ApIdT&& value) {
94 m_apIdHasBeenSet = true;
95 m_apId = std::forward<ApIdT>(value);
96 }
97 template <typename ApIdT = Aws::String>
99 SetApId(std::forward<ApIdT>(value));
100 return *this;
101 }
103
105
108 inline const Aws::String& GetDeviceTypeId() const { return m_deviceTypeId; }
109 inline bool DeviceTypeIdHasBeenSet() const { return m_deviceTypeIdHasBeenSet; }
110 template <typename DeviceTypeIdT = Aws::String>
111 void SetDeviceTypeId(DeviceTypeIdT&& value) {
112 m_deviceTypeIdHasBeenSet = true;
113 m_deviceTypeId = std::forward<DeviceTypeIdT>(value);
114 }
115 template <typename DeviceTypeIdT = Aws::String>
116 DakCertificateMetadata& WithDeviceTypeId(DeviceTypeIdT&& value) {
117 SetDeviceTypeId(std::forward<DeviceTypeIdT>(value));
118 return *this;
119 }
121 private:
122 Aws::String m_certificateId;
123
124 int m_maxAllowedSignature{0};
125
126 bool m_factorySupport{false};
127
128 Aws::String m_apId;
129
130 Aws::String m_deviceTypeId;
131 bool m_certificateIdHasBeenSet = false;
132 bool m_maxAllowedSignatureHasBeenSet = false;
133 bool m_factorySupportHasBeenSet = false;
134 bool m_apIdHasBeenSet = false;
135 bool m_deviceTypeIdHasBeenSet = false;
136};
137
138} // namespace Model
139} // namespace IoTWireless
140} // namespace Aws
AWS_IOTWIRELESS_API DakCertificateMetadata()=default
DakCertificateMetadata & WithApId(ApIdT &&value)
DakCertificateMetadata & WithCertificateId(CertificateIdT &&value)
DakCertificateMetadata & WithDeviceTypeId(DeviceTypeIdT &&value)
AWS_IOTWIRELESS_API DakCertificateMetadata(Aws::Utils::Json::JsonView jsonValue)
DakCertificateMetadata & WithFactorySupport(bool value)
DakCertificateMetadata & WithMaxAllowedSignature(int value)
AWS_IOTWIRELESS_API DakCertificateMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOTWIRELESS_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue