AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateKeysAndCertificateResult.h
1
6#pragma once
7#include <aws/iot/IoT_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/iot/model/KeyPair.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace IoT
25{
26namespace Model
27{
35 {
36 public:
37 AWS_IOT_API CreateKeysAndCertificateResult() = default;
40
41
43
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 CreateKeysAndCertificateResult& 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 CreateKeysAndCertificateResult& 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 CreateKeysAndCertificateResult& WithCertificatePem(CertificatePemT&& value) { SetCertificatePem(std::forward<CertificatePemT>(value)); return *this;}
75
77
80 inline const KeyPair& GetKeyPair() const { return m_keyPair; }
81 template<typename KeyPairT = KeyPair>
82 void SetKeyPair(KeyPairT&& value) { m_keyPairHasBeenSet = true; m_keyPair = std::forward<KeyPairT>(value); }
83 template<typename KeyPairT = KeyPair>
84 CreateKeysAndCertificateResult& WithKeyPair(KeyPairT&& value) { SetKeyPair(std::forward<KeyPairT>(value)); return *this;}
86
88
89 inline const Aws::String& GetRequestId() const { return m_requestId; }
90 template<typename RequestIdT = Aws::String>
91 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
92 template<typename RequestIdT = Aws::String>
93 CreateKeysAndCertificateResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
95 private:
96
97 Aws::String m_certificateArn;
98 bool m_certificateArnHasBeenSet = false;
99
100 Aws::String m_certificateId;
101 bool m_certificateIdHasBeenSet = false;
102
103 Aws::String m_certificatePem;
104 bool m_certificatePemHasBeenSet = false;
105
106 KeyPair m_keyPair;
107 bool m_keyPairHasBeenSet = false;
108
109 Aws::String m_requestId;
110 bool m_requestIdHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace IoT
115} // namespace Aws
CreateKeysAndCertificateResult & WithCertificateId(CertificateIdT &&value)
AWS_IOT_API CreateKeysAndCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKeysAndCertificateResult & WithCertificateArn(CertificateArnT &&value)
CreateKeysAndCertificateResult & WithKeyPair(KeyPairT &&value)
CreateKeysAndCertificateResult & WithCertificatePem(CertificatePemT &&value)
CreateKeysAndCertificateResult & WithRequestId(RequestIdT &&value)
AWS_IOT_API CreateKeysAndCertificateResult & operator=(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