AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RegisterCertificateWithoutCARequest.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/iot/IoTRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/iot/model/CertificateStatus.h>
11#include <utility>
12
13namespace Aws
14{
15namespace IoT
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_IOT_API RegisterCertificateWithoutCARequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "RegisterCertificateWithoutCA"; }
32
33 AWS_IOT_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetCertificatePem() const { return m_certificatePem; }
41 inline bool CertificatePemHasBeenSet() const { return m_certificatePemHasBeenSet; }
42 template<typename CertificatePemT = Aws::String>
43 void SetCertificatePem(CertificatePemT&& value) { m_certificatePemHasBeenSet = true; m_certificatePem = std::forward<CertificatePemT>(value); }
44 template<typename CertificatePemT = Aws::String>
45 RegisterCertificateWithoutCARequest& WithCertificatePem(CertificatePemT&& value) { SetCertificatePem(std::forward<CertificatePemT>(value)); return *this;}
47
49
52 inline CertificateStatus GetStatus() const { return m_status; }
53 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
54 inline void SetStatus(CertificateStatus value) { m_statusHasBeenSet = true; m_status = value; }
57 private:
58
59 Aws::String m_certificatePem;
60 bool m_certificatePemHasBeenSet = false;
61
63 bool m_statusHasBeenSet = false;
64 };
65
66} // namespace Model
67} // namespace IoT
68} // namespace Aws
RegisterCertificateWithoutCARequest & WithStatus(CertificateStatus value)
RegisterCertificateWithoutCARequest & WithCertificatePem(CertificatePemT &&value)
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String