AWS SDK for C++

AWS SDK for C++ Version 1.11.759

Loading...
Searching...
No Matches
UploadSigningCertificateResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/iam/IAM_EXPORTS.h>
9#include <aws/iam/model/ResponseMetadata.h>
10#include <aws/iam/model/SigningCertificate.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Xml {
20class XmlDocument;
21} // namespace Xml
22} // namespace Utils
23namespace IAM {
24namespace Model {
33 public:
34 AWS_IAM_API UploadSigningCertificateResult() = default;
37
39
42 inline const SigningCertificate& GetCertificate() const { return m_certificate; }
43 template <typename CertificateT = SigningCertificate>
44 void SetCertificate(CertificateT&& value) {
45 m_certificateHasBeenSet = true;
46 m_certificate = std::forward<CertificateT>(value);
47 }
48 template <typename CertificateT = SigningCertificate>
50 SetCertificate(std::forward<CertificateT>(value));
51 return *this;
52 }
54
56
57 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
58 template <typename ResponseMetadataT = ResponseMetadata>
59 void SetResponseMetadata(ResponseMetadataT&& value) {
60 m_responseMetadataHasBeenSet = true;
61 m_responseMetadata = std::forward<ResponseMetadataT>(value);
62 }
63 template <typename ResponseMetadataT = ResponseMetadata>
65 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
66 return *this;
67 }
69 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
70
71 private:
72 SigningCertificate m_certificate;
73
74 ResponseMetadata m_responseMetadata;
75 Aws::Http::HttpResponseCode m_HttpResponseCode;
76 bool m_certificateHasBeenSet = false;
77 bool m_responseMetadataHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace IAM
82} // namespace Aws
UploadSigningCertificateResult & WithCertificate(CertificateT &&value)
UploadSigningCertificateResult & WithResponseMetadata(ResponseMetadataT &&value)
AWS_IAM_API UploadSigningCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
AWS_IAM_API UploadSigningCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
Aws::Utils::Xml::XmlDocument XmlDocument