AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetCertificatePem(const Aws::String& value) { m_certificatePemHasBeenSet = true; m_certificatePem = value; }
43 inline void SetCertificatePem(Aws::String&& value) { m_certificatePemHasBeenSet = true; m_certificatePem = std::move(value); }
44 inline void SetCertificatePem(const char* value) { m_certificatePemHasBeenSet = true; m_certificatePem.assign(value); }
46 inline RegisterCertificateWithoutCARequest& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
47 inline RegisterCertificateWithoutCARequest& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
49
51
54 inline const CertificateStatus& GetStatus() const{ return m_status; }
55 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
56 inline void SetStatus(const CertificateStatus& value) { m_statusHasBeenSet = true; m_status = value; }
57 inline void SetStatus(CertificateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
58 inline RegisterCertificateWithoutCARequest& WithStatus(const CertificateStatus& value) { SetStatus(value); return *this;}
59 inline RegisterCertificateWithoutCARequest& WithStatus(CertificateStatus&& value) { SetStatus(std::move(value)); return *this;}
61 private:
62
63 Aws::String m_certificatePem;
64 bool m_certificatePemHasBeenSet = false;
65
66 CertificateStatus m_status;
67 bool m_statusHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace IoT
72} // namespace Aws
RegisterCertificateWithoutCARequest & WithCertificatePem(const Aws::String &value)
RegisterCertificateWithoutCARequest & WithCertificatePem(Aws::String &&value)
RegisterCertificateWithoutCARequest & WithStatus(CertificateStatus &&value)
RegisterCertificateWithoutCARequest & WithStatus(const CertificateStatus &value)
RegisterCertificateWithoutCARequest & WithCertificatePem(const char *value)
AWS_IOT_API Aws::String SerializePayload() const override
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String