AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateCertificateFromCsrResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
34 {
35 public:
39
40
42
46 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
47 inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; }
48 inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); }
49 inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); }
51 inline CreateCertificateFromCsrResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
52 inline CreateCertificateFromCsrResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
54
56
60 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
61 inline void SetCertificateId(const Aws::String& value) { m_certificateId = value; }
62 inline void SetCertificateId(Aws::String&& value) { m_certificateId = std::move(value); }
63 inline void SetCertificateId(const char* value) { m_certificateId.assign(value); }
65 inline CreateCertificateFromCsrResult& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
66 inline CreateCertificateFromCsrResult& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
68
70
73 inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; }
74 inline void SetCertificatePem(const Aws::String& value) { m_certificatePem = value; }
75 inline void SetCertificatePem(Aws::String&& value) { m_certificatePem = std::move(value); }
76 inline void SetCertificatePem(const char* value) { m_certificatePem.assign(value); }
78 inline CreateCertificateFromCsrResult& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
79 inline CreateCertificateFromCsrResult& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline CreateCertificateFromCsrResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline CreateCertificateFromCsrResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline CreateCertificateFromCsrResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::String m_certificateArn;
95
96 Aws::String m_certificateId;
97
98 Aws::String m_certificatePem;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace IoT
105} // namespace Aws
CreateCertificateFromCsrResult & WithRequestId(const char *value)
CreateCertificateFromCsrResult & WithCertificateId(const Aws::String &value)
CreateCertificateFromCsrResult & WithCertificateId(const char *value)
CreateCertificateFromCsrResult & WithRequestId(Aws::String &&value)
AWS_IOT_API CreateCertificateFromCsrResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCertificateFromCsrResult & WithCertificateArn(Aws::String &&value)
CreateCertificateFromCsrResult & WithCertificateId(Aws::String &&value)
CreateCertificateFromCsrResult & WithCertificateArn(const Aws::String &value)
CreateCertificateFromCsrResult & WithCertificatePem(const char *value)
CreateCertificateFromCsrResult & WithCertificatePem(Aws::String &&value)
CreateCertificateFromCsrResult & WithRequestId(const Aws::String &value)
CreateCertificateFromCsrResult & WithCertificatePem(const Aws::String &value)
AWS_IOT_API CreateCertificateFromCsrResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCertificateFromCsrResult & WithCertificateArn(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue