AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
40
41
43
46 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
47 inline void SetCertificateArn(const Aws::String& value) { m_certificateArn = value; }
48 inline void SetCertificateArn(Aws::String&& value) { m_certificateArn = std::move(value); }
49 inline void SetCertificateArn(const char* value) { m_certificateArn.assign(value); }
51 inline CreateKeysAndCertificateResult& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
52 inline CreateKeysAndCertificateResult& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
54
56
60 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
61 inline void SetCertificateId(const Aws::String& value) { m_certificateId = value; }
62 inline void SetCertificateId(Aws::String&& value) { m_certificateId = std::move(value); }
63 inline void SetCertificateId(const char* value) { m_certificateId.assign(value); }
65 inline CreateKeysAndCertificateResult& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
66 inline CreateKeysAndCertificateResult& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
68
70
73 inline const Aws::String& GetCertificatePem() const{ return m_certificatePem; }
74 inline void SetCertificatePem(const Aws::String& value) { m_certificatePem = value; }
75 inline void SetCertificatePem(Aws::String&& value) { m_certificatePem = std::move(value); }
76 inline void SetCertificatePem(const char* value) { m_certificatePem.assign(value); }
78 inline CreateKeysAndCertificateResult& WithCertificatePem(Aws::String&& value) { SetCertificatePem(std::move(value)); return *this;}
79 inline CreateKeysAndCertificateResult& WithCertificatePem(const char* value) { SetCertificatePem(value); return *this;}
81
83
86 inline const KeyPair& GetKeyPair() const{ return m_keyPair; }
87 inline void SetKeyPair(const KeyPair& value) { m_keyPair = value; }
88 inline void SetKeyPair(KeyPair&& value) { m_keyPair = std::move(value); }
89 inline CreateKeysAndCertificateResult& WithKeyPair(const KeyPair& value) { SetKeyPair(value); return *this;}
90 inline CreateKeysAndCertificateResult& WithKeyPair(KeyPair&& value) { SetKeyPair(std::move(value)); return *this;}
92
94
95 inline const Aws::String& GetRequestId() const{ return m_requestId; }
96 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
97 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
98 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
99 inline CreateKeysAndCertificateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
100 inline CreateKeysAndCertificateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
101 inline CreateKeysAndCertificateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
103 private:
104
105 Aws::String m_certificateArn;
106
107 Aws::String m_certificateId;
108
109 Aws::String m_certificatePem;
110
111 KeyPair m_keyPair;
112
113 Aws::String m_requestId;
114 };
115
116} // namespace Model
117} // namespace IoT
118} // namespace Aws
AWS_IOT_API CreateKeysAndCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKeysAndCertificateResult & WithCertificatePem(const char *value)
CreateKeysAndCertificateResult & WithRequestId(Aws::String &&value)
CreateKeysAndCertificateResult & WithKeyPair(KeyPair &&value)
CreateKeysAndCertificateResult & WithCertificatePem(Aws::String &&value)
CreateKeysAndCertificateResult & WithCertificatePem(const Aws::String &value)
CreateKeysAndCertificateResult & WithRequestId(const Aws::String &value)
CreateKeysAndCertificateResult & WithCertificateId(Aws::String &&value)
CreateKeysAndCertificateResult & WithCertificateId(const Aws::String &value)
CreateKeysAndCertificateResult & WithCertificateArn(const char *value)
CreateKeysAndCertificateResult & WithCertificateArn(Aws::String &&value)
CreateKeysAndCertificateResult & WithCertificateId(const char *value)
AWS_IOT_API CreateKeysAndCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateKeysAndCertificateResult & WithCertificateArn(const Aws::String &value)
CreateKeysAndCertificateResult & WithKeyPair(const KeyPair &value)
CreateKeysAndCertificateResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue