AWS SDK for C++

AWS SDK for C++ Version 1.11.938

Loading...
Searching...
No Matches
CertificateAssociation.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/elb-proxy/ELBProxy_EXPORTS.h>
11#include <aws/elb-proxy/model/CertificateAssociationStatus.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Cbor {
18class CborValue;
19} // namespace Cbor
20} // namespace Utils
21namespace ELBProxy {
22namespace Model {
23
31 public:
32 AWS_ELBPROXY_API CertificateAssociation() = default;
33 AWS_ELBPROXY_API CertificateAssociation(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_ELBPROXY_API CertificateAssociation& operator=(const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
35 AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder) const;
36
38
41 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
42 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
43 template <typename CertificateArnT = Aws::String>
44 void SetCertificateArn(CertificateArnT&& value) {
45 m_certificateArnHasBeenSet = true;
46 m_certificateArn = std::forward<CertificateArnT>(value);
47 }
48 template <typename CertificateArnT = Aws::String>
49 CertificateAssociation& WithCertificateArn(CertificateArnT&& value) {
50 SetCertificateArn(std::forward<CertificateArnT>(value));
51 return *this;
52 }
54
56
59 inline const CertificateAssociationStatus& GetStatus() const { return m_status; }
60 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
61 template <typename StatusT = CertificateAssociationStatus>
62 void SetStatus(StatusT&& value) {
63 m_statusHasBeenSet = true;
64 m_status = std::forward<StatusT>(value);
65 }
66 template <typename StatusT = CertificateAssociationStatus>
68 SetStatus(std::forward<StatusT>(value));
69 return *this;
70 }
72
74
77 inline const Aws::Utils::DateTime& GetCreatedAt() const { return m_createdAt; }
78 inline bool CreatedAtHasBeenSet() const { return m_createdAtHasBeenSet; }
79 template <typename CreatedAtT = Aws::Utils::DateTime>
80 void SetCreatedAt(CreatedAtT&& value) {
81 m_createdAtHasBeenSet = true;
82 m_createdAt = std::forward<CreatedAtT>(value);
83 }
84 template <typename CreatedAtT = Aws::Utils::DateTime>
86 SetCreatedAt(std::forward<CreatedAtT>(value));
87 return *this;
88 }
90 private:
91 Aws::String m_certificateArn;
92
94
95 Aws::Utils::DateTime m_createdAt{};
96 bool m_certificateArnHasBeenSet = false;
97 bool m_statusHasBeenSet = false;
98 bool m_createdAtHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace ELBProxy
103} // namespace Aws
const CertificateAssociationStatus & GetStatus() const
CertificateAssociation & WithCertificateArn(CertificateArnT &&value)
AWS_ELBPROXY_API CertificateAssociation(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
CertificateAssociation & WithStatus(StatusT &&value)
AWS_ELBPROXY_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::Utils::DateTime & GetCreatedAt() const
AWS_ELBPROXY_API CertificateAssociation & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
CertificateAssociation & WithCreatedAt(CreatedAtT &&value)
AWS_ELBPROXY_API CertificateAssociation()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String