AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
CreateCertificateFromCsrResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/IoT_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace IoT {
23namespace Model {
31 public:
32 AWS_IOT_API CreateCertificateFromCsrResult() = default;
35
37
41 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
42 template <typename CertificateArnT = Aws::String>
43 void SetCertificateArn(CertificateArnT&& value) {
44 m_certificateArnHasBeenSet = true;
45 m_certificateArn = std::forward<CertificateArnT>(value);
46 }
47 template <typename CertificateArnT = Aws::String>
49 SetCertificateArn(std::forward<CertificateArnT>(value));
50 return *this;
51 }
53
55
59 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
60 template <typename CertificateIdT = Aws::String>
61 void SetCertificateId(CertificateIdT&& value) {
62 m_certificateIdHasBeenSet = true;
63 m_certificateId = std::forward<CertificateIdT>(value);
64 }
65 template <typename CertificateIdT = Aws::String>
67 SetCertificateId(std::forward<CertificateIdT>(value));
68 return *this;
69 }
71
73
76 inline const Aws::String& GetCertificatePem() const { return m_certificatePem; }
77 template <typename CertificatePemT = Aws::String>
78 void SetCertificatePem(CertificatePemT&& value) {
79 m_certificatePemHasBeenSet = true;
80 m_certificatePem = std::forward<CertificatePemT>(value);
81 }
82 template <typename CertificatePemT = Aws::String>
84 SetCertificatePem(std::forward<CertificatePemT>(value));
85 return *this;
86 }
88
90
91 inline const Aws::String& GetRequestId() const { return m_requestId; }
92 template <typename RequestIdT = Aws::String>
93 void SetRequestId(RequestIdT&& value) {
94 m_requestIdHasBeenSet = true;
95 m_requestId = std::forward<RequestIdT>(value);
96 }
97 template <typename RequestIdT = Aws::String>
99 SetRequestId(std::forward<RequestIdT>(value));
100 return *this;
101 }
103 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
104
105 private:
106 Aws::String m_certificateArn;
107
108 Aws::String m_certificateId;
109
110 Aws::String m_certificatePem;
111
112 Aws::String m_requestId;
113 Aws::Http::HttpResponseCode m_HttpResponseCode;
114 bool m_certificateArnHasBeenSet = false;
115 bool m_certificateIdHasBeenSet = false;
116 bool m_certificatePemHasBeenSet = false;
117 bool m_requestIdHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace IoT
122} // namespace Aws
CreateCertificateFromCsrResult & WithRequestId(RequestIdT &&value)
CreateCertificateFromCsrResult & WithCertificatePem(CertificatePemT &&value)
AWS_IOT_API CreateCertificateFromCsrResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateCertificateFromCsrResult & WithCertificateArn(CertificateArnT &&value)
CreateCertificateFromCsrResult & WithCertificateId(CertificateIdT &&value)
AWS_IOT_API CreateCertificateFromCsrResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue