AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CACertificate.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/CACertificateStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace IoT
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_IOT_API CACertificate() = default;
40
41
43
46 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
47 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
48 template<typename CertificateArnT = Aws::String>
49 void SetCertificateArn(CertificateArnT&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::forward<CertificateArnT>(value); }
50 template<typename CertificateArnT = Aws::String>
51 CACertificate& WithCertificateArn(CertificateArnT&& value) { SetCertificateArn(std::forward<CertificateArnT>(value)); return *this;}
53
55
58 inline const Aws::String& GetCertificateId() const { return m_certificateId; }
59 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
60 template<typename CertificateIdT = Aws::String>
61 void SetCertificateId(CertificateIdT&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::forward<CertificateIdT>(value); }
62 template<typename CertificateIdT = Aws::String>
63 CACertificate& WithCertificateId(CertificateIdT&& value) { SetCertificateId(std::forward<CertificateIdT>(value)); return *this;}
65
67
71 inline CACertificateStatus GetStatus() const { return m_status; }
72 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
73 inline void SetStatus(CACertificateStatus value) { m_statusHasBeenSet = true; m_status = value; }
74 inline CACertificate& WithStatus(CACertificateStatus value) { SetStatus(value); return *this;}
76
78
81 inline const Aws::Utils::DateTime& GetCreationDate() const { return m_creationDate; }
82 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
83 template<typename CreationDateT = Aws::Utils::DateTime>
84 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::forward<CreationDateT>(value); }
85 template<typename CreationDateT = Aws::Utils::DateTime>
86 CACertificate& WithCreationDate(CreationDateT&& value) { SetCreationDate(std::forward<CreationDateT>(value)); return *this;}
88 private:
89
90 Aws::String m_certificateArn;
91 bool m_certificateArnHasBeenSet = false;
92
93 Aws::String m_certificateId;
94 bool m_certificateIdHasBeenSet = false;
95
97 bool m_statusHasBeenSet = false;
98
99 Aws::Utils::DateTime m_creationDate{};
100 bool m_creationDateHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace IoT
105} // namespace Aws
CACertificate & WithStatus(CACertificateStatus value)
void SetStatus(CACertificateStatus value)
AWS_IOT_API CACertificate(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCertificateArn() const
AWS_IOT_API CACertificate()=default
void SetCertificateArn(CertificateArnT &&value)
const Aws::String & GetCertificateId() const
void SetCertificateId(CertificateIdT &&value)
CACertificate & WithCreationDate(CreationDateT &&value)
CACertificate & WithCertificateId(CertificateIdT &&value)
CACertificate & WithCertificateArn(CertificateArnT &&value)
const Aws::Utils::DateTime & GetCreationDate() const
AWS_IOT_API CACertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
CACertificateStatus GetStatus() const
void SetCreationDate(CreationDateT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue