AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
40
41
43
46 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
47 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
48 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
49 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
50 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
51 inline CACertificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
52 inline CACertificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
53 inline CACertificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
55
57
60 inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
61 inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
62 inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
63 inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
64 inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
65 inline CACertificate& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
66 inline CACertificate& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
67 inline CACertificate& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
69
71
75 inline const CACertificateStatus& GetStatus() const{ return m_status; }
76 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
77 inline void SetStatus(const CACertificateStatus& value) { m_statusHasBeenSet = true; m_status = value; }
78 inline void SetStatus(CACertificateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
79 inline CACertificate& WithStatus(const CACertificateStatus& value) { SetStatus(value); return *this;}
80 inline CACertificate& WithStatus(CACertificateStatus&& value) { SetStatus(std::move(value)); return *this;}
82
84
87 inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
88 inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
89 inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
90 inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
91 inline CACertificate& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
92 inline CACertificate& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
94 private:
95
96 Aws::String m_certificateArn;
97 bool m_certificateArnHasBeenSet = false;
98
99 Aws::String m_certificateId;
100 bool m_certificateIdHasBeenSet = false;
101
102 CACertificateStatus m_status;
103 bool m_statusHasBeenSet = false;
104
105 Aws::Utils::DateTime m_creationDate;
106 bool m_creationDateHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace IoT
111} // namespace Aws
AWS_IOT_API CACertificate(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCertificateArn() const
CACertificate & WithCertificateArn(const Aws::String &value)
CACertificate & WithCertificateArn(const char *value)
const Aws::String & GetCertificateId() const
CACertificate & WithStatus(CACertificateStatus &&value)
void SetCertificateArn(const char *value)
CACertificate & WithCertificateArn(Aws::String &&value)
CACertificate & WithCreationDate(const Aws::Utils::DateTime &value)
void SetStatus(const CACertificateStatus &value)
CACertificate & WithCertificateId(const char *value)
CACertificate & WithCertificateId(Aws::String &&value)
CACertificate & WithCertificateId(const Aws::String &value)
void SetCertificateId(Aws::String &&value)
void SetCertificateId(const Aws::String &value)
CACertificate & WithCreationDate(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreationDate() const
void SetStatus(CACertificateStatus &&value)
AWS_IOT_API CACertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetCertificateArn(const Aws::String &value)
CACertificate & WithStatus(const CACertificateStatus &value)
const CACertificateStatus & GetStatus() const
AWS_IOT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCreationDate(const Aws::Utils::DateTime &value)
void SetCertificateId(const char *value)
void SetCreationDate(Aws::Utils::DateTime &&value)
void SetCertificateArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue