AWS SDK for C++

AWS SDK for C++ Version 1.11.762

Loading...
Searching...
No Matches
RegisterCACertificateResult.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 RegisterCACertificateResult() = default;
35
37
40 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
41 template <typename CertificateArnT = Aws::String>
42 void SetCertificateArn(CertificateArnT&& value) {
43 m_certificateArnHasBeenSet = true;
44 m_certificateArn = std::forward<CertificateArnT>(value);
45 }
46 template <typename CertificateArnT = Aws::String>
48 SetCertificateArn(std::forward<CertificateArnT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
58 template <typename CertificateIdT = Aws::String>
59 void SetCertificateId(CertificateIdT&& value) {
60 m_certificateIdHasBeenSet = true;
61 m_certificateId = std::forward<CertificateIdT>(value);
62 }
63 template <typename CertificateIdT = Aws::String>
65 SetCertificateId(std::forward<CertificateIdT>(value));
66 return *this;
67 }
69
71
72 inline const Aws::String& GetRequestId() const { return m_requestId; }
73 template <typename RequestIdT = Aws::String>
74 void SetRequestId(RequestIdT&& value) {
75 m_requestIdHasBeenSet = true;
76 m_requestId = std::forward<RequestIdT>(value);
77 }
78 template <typename RequestIdT = Aws::String>
80 SetRequestId(std::forward<RequestIdT>(value));
81 return *this;
82 }
84 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
85
86 private:
87 Aws::String m_certificateArn;
88
89 Aws::String m_certificateId;
90
91 Aws::String m_requestId;
92 Aws::Http::HttpResponseCode m_HttpResponseCode;
93 bool m_certificateArnHasBeenSet = false;
94 bool m_certificateIdHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace IoT
100} // namespace Aws
AWS_IOT_API RegisterCACertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_IOT_API RegisterCACertificateResult()=default
RegisterCACertificateResult & WithRequestId(RequestIdT &&value)
RegisterCACertificateResult & WithCertificateArn(CertificateArnT &&value)
AWS_IOT_API RegisterCACertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterCACertificateResult & WithCertificateId(CertificateIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue