AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename CertificateIdT = Aws::String>
47 void SetCertificateId(CertificateIdT&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::forward<CertificateIdT>(value); }
48 template<typename CertificateIdT = Aws::String>
49 DakCertificateMetadata& WithCertificateId(CertificateIdT&& value) { SetCertificateId(std::forward<CertificateIdT>(value)); return *this;}
51
53
57 inline int GetMaxAllowedSignature() const { return m_maxAllowedSignature; }
58 inline bool MaxAllowedSignatureHasBeenSet() const { return m_maxAllowedSignatureHasBeenSet; }
59 inline void SetMaxAllowedSignature(int value) { m_maxAllowedSignatureHasBeenSet = true; m_maxAllowedSignature = value; }
60 inline DakCertificateMetadata& WithMaxAllowedSignature(int value) { SetMaxAllowedSignature(value); return *this;}
62
64
67 inline bool GetFactorySupport() const { return m_factorySupport; }
68 inline bool FactorySupportHasBeenSet() const { return m_factorySupportHasBeenSet; }
69 inline void SetFactorySupport(bool value) { m_factorySupportHasBeenSet = true; m_factorySupport = value; }
70 inline DakCertificateMetadata& WithFactorySupport(bool value) { SetFactorySupport(value); return *this;}
72
74
78 inline const Aws::String& GetApId() const { return m_apId; }
79 inline bool ApIdHasBeenSet() const { return m_apIdHasBeenSet; }
80 template<typename ApIdT = Aws::String>
81 void SetApId(ApIdT&& value) { m_apIdHasBeenSet = true; m_apId = std::forward<ApIdT>(value); }
82 template<typename ApIdT = Aws::String>
83 DakCertificateMetadata& WithApId(ApIdT&& value) { SetApId(std::forward<ApIdT>(value)); return *this;}
85
87
90 inline const Aws::String& GetDeviceTypeId() const { return m_deviceTypeId; }
91 inline bool DeviceTypeIdHasBeenSet() const { return m_deviceTypeIdHasBeenSet; }
92 template<typename DeviceTypeIdT = Aws::String>
93 void SetDeviceTypeId(DeviceTypeIdT&& value) { m_deviceTypeIdHasBeenSet = true; m_deviceTypeId = std::forward<DeviceTypeIdT>(value); }
94 template<typename DeviceTypeIdT = Aws::String>
95 DakCertificateMetadata& WithDeviceTypeId(DeviceTypeIdT&& value) { SetDeviceTypeId(std::forward<DeviceTypeIdT>(value)); return *this;}
97 private:
98
99 Aws::String m_certificateId;
100 bool m_certificateIdHasBeenSet = false;
101
102 int m_maxAllowedSignature{0};
103 bool m_maxAllowedSignatureHasBeenSet = false;
104
105 bool m_factorySupport{false};
106 bool m_factorySupportHasBeenSet = false;
107
108 Aws::String m_apId;
109 bool m_apIdHasBeenSet = false;
110
111 Aws::String m_deviceTypeId;
112 bool m_deviceTypeIdHasBeenSet = false;
113 };
114
115} // namespace Model
116} // namespace IoTWireless
117} // 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