AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
CreateKeysAndCertificateResult.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#include <aws/iot/model/KeyPair.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace IoT {
24namespace Model {
32 public:
33 AWS_IOT_API CreateKeysAndCertificateResult() = default;
36
38
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
93 inline const KeyPair& GetKeyPair() const { return m_keyPair; }
94 template <typename KeyPairT = KeyPair>
95 void SetKeyPair(KeyPairT&& value) {
96 m_keyPairHasBeenSet = true;
97 m_keyPair = std::forward<KeyPairT>(value);
98 }
99 template <typename KeyPairT = KeyPair>
101 SetKeyPair(std::forward<KeyPairT>(value));
102 return *this;
103 }
105
107
108 inline const Aws::String& GetRequestId() const { return m_requestId; }
109 template <typename RequestIdT = Aws::String>
110 void SetRequestId(RequestIdT&& value) {
111 m_requestIdHasBeenSet = true;
112 m_requestId = std::forward<RequestIdT>(value);
113 }
114 template <typename RequestIdT = Aws::String>
116 SetRequestId(std::forward<RequestIdT>(value));
117 return *this;
118 }
120 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
121
122 private:
123 Aws::String m_certificateArn;
124
125 Aws::String m_certificateId;
126
127 Aws::String m_certificatePem;
128
129 KeyPair m_keyPair;
130
131 Aws::String m_requestId;
132 Aws::Http::HttpResponseCode m_HttpResponseCode;
133 bool m_certificateArnHasBeenSet = false;
134 bool m_certificateIdHasBeenSet = false;
135 bool m_certificatePemHasBeenSet = false;
136 bool m_keyPairHasBeenSet = false;
137 bool m_requestIdHasBeenSet = false;
138};
139
140} // namespace Model
141} // namespace IoT
142} // 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