AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
UploadSigningCertificateResult.h
1
6#pragma once
7#include <aws/iam/IAM_EXPORTS.h>
8#include <aws/iam/model/SigningCertificate.h>
9#include <aws/iam/model/ResponseMetadata.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Xml
20{
21 class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace IAM
25{
26namespace Model
27{
36 {
37 public:
38 AWS_IAM_API UploadSigningCertificateResult() = default;
41
42
44
47 inline const SigningCertificate& GetCertificate() const { return m_certificate; }
48 template<typename CertificateT = SigningCertificate>
49 void SetCertificate(CertificateT&& value) { m_certificateHasBeenSet = true; m_certificate = std::forward<CertificateT>(value); }
50 template<typename CertificateT = SigningCertificate>
51 UploadSigningCertificateResult& WithCertificate(CertificateT&& value) { SetCertificate(std::forward<CertificateT>(value)); return *this;}
53
55
56 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
57 template<typename ResponseMetadataT = ResponseMetadata>
58 void SetResponseMetadata(ResponseMetadataT&& value) { m_responseMetadataHasBeenSet = true; m_responseMetadata = std::forward<ResponseMetadataT>(value); }
59 template<typename ResponseMetadataT = ResponseMetadata>
60 UploadSigningCertificateResult& WithResponseMetadata(ResponseMetadataT&& value) { SetResponseMetadata(std::forward<ResponseMetadataT>(value)); return *this;}
62 private:
63
64 SigningCertificate m_certificate;
65 bool m_certificateHasBeenSet = false;
66
67 ResponseMetadata m_responseMetadata;
68 bool m_responseMetadataHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace IAM
73} // 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