AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ExportCertificateResult.h
1
6#pragma once
7#include <aws/acm/ACM_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 ACM
24{
25namespace Model
26{
28 {
29 public:
33
34
36
39 inline const Aws::String& GetCertificate() const{ return m_certificate; }
40 inline void SetCertificate(const Aws::String& value) { m_certificate = value; }
41 inline void SetCertificate(Aws::String&& value) { m_certificate = std::move(value); }
42 inline void SetCertificate(const char* value) { m_certificate.assign(value); }
43 inline ExportCertificateResult& WithCertificate(const Aws::String& value) { SetCertificate(value); return *this;}
44 inline ExportCertificateResult& WithCertificate(Aws::String&& value) { SetCertificate(std::move(value)); return *this;}
45 inline ExportCertificateResult& WithCertificate(const char* value) { SetCertificate(value); return *this;}
47
49
53 inline const Aws::String& GetCertificateChain() const{ return m_certificateChain; }
54 inline void SetCertificateChain(const Aws::String& value) { m_certificateChain = value; }
55 inline void SetCertificateChain(Aws::String&& value) { m_certificateChain = std::move(value); }
56 inline void SetCertificateChain(const char* value) { m_certificateChain.assign(value); }
57 inline ExportCertificateResult& WithCertificateChain(const Aws::String& value) { SetCertificateChain(value); return *this;}
58 inline ExportCertificateResult& WithCertificateChain(Aws::String&& value) { SetCertificateChain(std::move(value)); return *this;}
59 inline ExportCertificateResult& WithCertificateChain(const char* value) { SetCertificateChain(value); return *this;}
61
63
67 inline const Aws::String& GetPrivateKey() const{ return m_privateKey; }
68 inline void SetPrivateKey(const Aws::String& value) { m_privateKey = value; }
69 inline void SetPrivateKey(Aws::String&& value) { m_privateKey = std::move(value); }
70 inline void SetPrivateKey(const char* value) { m_privateKey.assign(value); }
71 inline ExportCertificateResult& WithPrivateKey(const Aws::String& value) { SetPrivateKey(value); return *this;}
72 inline ExportCertificateResult& WithPrivateKey(Aws::String&& value) { SetPrivateKey(std::move(value)); return *this;}
73 inline ExportCertificateResult& WithPrivateKey(const char* value) { SetPrivateKey(value); return *this;}
75
77
78 inline const Aws::String& GetRequestId() const{ return m_requestId; }
79 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
80 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
81 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
82 inline ExportCertificateResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
83 inline ExportCertificateResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
84 inline ExportCertificateResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
86 private:
87
88 Aws::String m_certificate;
89
90 Aws::String m_certificateChain;
91
92 Aws::String m_privateKey;
93
94 Aws::String m_requestId;
95 };
96
97} // namespace Model
98} // namespace ACM
99} // namespace Aws
ExportCertificateResult & WithCertificateChain(const Aws::String &value)
ExportCertificateResult & WithPrivateKey(const Aws::String &value)
ExportCertificateResult & WithRequestId(const char *value)
ExportCertificateResult & WithPrivateKey(Aws::String &&value)
ExportCertificateResult & WithCertificateChain(const char *value)
ExportCertificateResult & WithRequestId(Aws::String &&value)
void SetCertificateChain(const Aws::String &value)
void SetCertificate(const Aws::String &value)
AWS_ACM_API ExportCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ExportCertificateResult & WithCertificate(const Aws::String &value)
ExportCertificateResult & WithCertificate(const char *value)
ExportCertificateResult & WithCertificateChain(Aws::String &&value)
ExportCertificateResult & WithPrivateKey(const char *value)
ExportCertificateResult & WithCertificate(Aws::String &&value)
AWS_ACM_API ExportCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
ExportCertificateResult & WithRequestId(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue