AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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:
36 AWS_IOT_API CreateCertificateFromCsrResult() = default;
39
40
42
46 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
47 template<typename CertificateArnT = Aws::String>
48 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::forward<CertificateArnT>(value); }
49 template<typename CertificateArnT = Aws::String>
50 CreateCertificateFromCsrResult& WithCertificateArn(CertificateArnT&& value) { SetCertificateArn(std::forward<CertificateArnT>(value)); return *this;}
52
54
58 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
59 template<typename CertificateIdT = Aws::String>
60 void SetCertificateId(CertificateIdT&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::forward<CertificateIdT>(value); }
61 template<typename CertificateIdT = Aws::String>
62 CreateCertificateFromCsrResult& WithCertificateId(CertificateIdT&& value) { SetCertificateId(std::forward<CertificateIdT>(value)); return *this;}
64
66
69 inline const Aws::String& GetCertificatePem() const { return m_certificatePem; }
70 template<typename CertificatePemT = Aws::String>
71 void SetCertificatePem(CertificatePemT&& value) { m_certificatePemHasBeenSet = true; m_certificatePem = std::forward<CertificatePemT>(value); }
72 template<typename CertificatePemT = Aws::String>
73 CreateCertificateFromCsrResult& WithCertificatePem(CertificatePemT&& value) { SetCertificatePem(std::forward<CertificatePemT>(value)); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const { return m_requestId; }
79 template<typename RequestIdT = Aws::String>
80 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
81 template<typename RequestIdT = Aws::String>
82 CreateCertificateFromCsrResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
84 private:
85
86 Aws::String m_certificateArn;
87 bool m_certificateArnHasBeenSet = false;
88
89 Aws::String m_certificateId;
90 bool m_certificateIdHasBeenSet = false;
91
92 Aws::String m_certificatePem;
93 bool m_certificatePemHasBeenSet = false;
94
95 Aws::String m_requestId;
96 bool m_requestIdHasBeenSet = false;
97 };
98
99} // namespace Model
100} // namespace IoT
101} // 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