AWS SDK for C++  1.9.129
AWS SDK for C++
CACertificate.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/iot/IoT_EXPORTS.h>
11 #include <utility>
12 
13 namespace Aws
14 {
15 namespace Utils
16 {
17 namespace Json
18 {
19  class JsonValue;
20  class JsonView;
21 } // namespace Json
22 } // namespace Utils
23 namespace IoT
24 {
25 namespace Model
26 {
27 
34  {
35  public:
40 
41 
45  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
46 
50  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
51 
55  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
56 
60  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
61 
65  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
66 
70  inline CACertificate& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
71 
75  inline CACertificate& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
76 
80  inline CACertificate& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
81 
82 
86  inline const Aws::String& GetCertificateId() const{ return m_certificateId; }
87 
91  inline bool CertificateIdHasBeenSet() const { return m_certificateIdHasBeenSet; }
92 
96  inline void SetCertificateId(const Aws::String& value) { m_certificateIdHasBeenSet = true; m_certificateId = value; }
97 
101  inline void SetCertificateId(Aws::String&& value) { m_certificateIdHasBeenSet = true; m_certificateId = std::move(value); }
102 
106  inline void SetCertificateId(const char* value) { m_certificateIdHasBeenSet = true; m_certificateId.assign(value); }
107 
111  inline CACertificate& WithCertificateId(const Aws::String& value) { SetCertificateId(value); return *this;}
112 
116  inline CACertificate& WithCertificateId(Aws::String&& value) { SetCertificateId(std::move(value)); return *this;}
117 
121  inline CACertificate& WithCertificateId(const char* value) { SetCertificateId(value); return *this;}
122 
123 
128  inline const CACertificateStatus& GetStatus() const{ return m_status; }
129 
134  inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
135 
140  inline void SetStatus(const CACertificateStatus& value) { m_statusHasBeenSet = true; m_status = value; }
141 
146  inline void SetStatus(CACertificateStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
147 
152  inline CACertificate& WithStatus(const CACertificateStatus& value) { SetStatus(value); return *this;}
153 
158  inline CACertificate& WithStatus(CACertificateStatus&& value) { SetStatus(std::move(value)); return *this;}
159 
160 
164  inline const Aws::Utils::DateTime& GetCreationDate() const{ return m_creationDate; }
165 
169  inline bool CreationDateHasBeenSet() const { return m_creationDateHasBeenSet; }
170 
174  inline void SetCreationDate(const Aws::Utils::DateTime& value) { m_creationDateHasBeenSet = true; m_creationDate = value; }
175 
179  inline void SetCreationDate(Aws::Utils::DateTime&& value) { m_creationDateHasBeenSet = true; m_creationDate = std::move(value); }
180 
184  inline CACertificate& WithCreationDate(const Aws::Utils::DateTime& value) { SetCreationDate(value); return *this;}
185 
189  inline CACertificate& WithCreationDate(Aws::Utils::DateTime&& value) { SetCreationDate(std::move(value)); return *this;}
190 
191  private:
192 
193  Aws::String m_certificateArn;
194  bool m_certificateArnHasBeenSet;
195 
196  Aws::String m_certificateId;
197  bool m_certificateIdHasBeenSet;
198 
199  CACertificateStatus m_status;
200  bool m_statusHasBeenSet;
201 
202  Aws::Utils::DateTime m_creationDate;
203  bool m_creationDateHasBeenSet;
204  };
205 
206 } // namespace Model
207 } // namespace IoT
208 } // namespace Aws
Aws::IoT::Model::CACertificate::GetCreationDate
const Aws::Utils::DateTime & GetCreationDate() const
Definition: CACertificate.h:164
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::IoT::Model::CACertificate::WithCertificateId
CACertificate & WithCertificateId(const char *value)
Definition: CACertificate.h:121
Aws::IoT::Model::CACertificate::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: CACertificate.h:65
Aws::IoT::Model::CACertificate::CertificateIdHasBeenSet
bool CertificateIdHasBeenSet() const
Definition: CACertificate.h:91
Aws::IoT::Model::CACertificate::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: CACertificate.h:50
Aws::IoT::Model::CACertificate::WithCertificateArn
CACertificate & WithCertificateArn(Aws::String &&value)
Definition: CACertificate.h:75
Aws::IoT::Model::CACertificate::SetCertificateId
void SetCertificateId(Aws::String &&value)
Definition: CACertificate.h:101
Aws::IoT::Model::CACertificate::SetStatus
void SetStatus(const CACertificateStatus &value)
Definition: CACertificate.h:140
Aws::IoT::Model::CACertificate::WithStatus
CACertificate & WithStatus(CACertificateStatus &&value)
Definition: CACertificate.h:158
DateTime.h
Aws::IoT::Model::CACertificate::WithCertificateId
CACertificate & WithCertificateId(Aws::String &&value)
Definition: CACertificate.h:116
Aws::IoT::Model::CACertificate::SetCertificateId
void SetCertificateId(const char *value)
Definition: CACertificate.h:106
Aws::IoT::Model::CACertificate::WithCreationDate
CACertificate & WithCreationDate(const Aws::Utils::DateTime &value)
Definition: CACertificate.h:184
Aws::IoT::Model::CACertificate::GetStatus
const CACertificateStatus & GetStatus() const
Definition: CACertificate.h:128
Aws::IoT::Model::CACertificate::WithCertificateId
CACertificate & WithCertificateId(const Aws::String &value)
Definition: CACertificate.h:111
Aws::IoT::Model::CACertificate::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: CACertificate.h:55
Aws::IoT::Model::CACertificate::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: CACertificate.h:60
CACertificateStatus.h
Aws::IoT::Model::CACertificate::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::IoT::Model::CACertificate::WithStatus
CACertificate & WithStatus(const CACertificateStatus &value)
Definition: CACertificate.h:152
Aws::IoT::Model::CACertificate::WithCertificateArn
CACertificate & WithCertificateArn(const Aws::String &value)
Definition: CACertificate.h:70
Aws::IoT::Model::CACertificate::StatusHasBeenSet
bool StatusHasBeenSet() const
Definition: CACertificate.h:134
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::IoT::Model::CACertificate::SetStatus
void SetStatus(CACertificateStatus &&value)
Definition: CACertificate.h:146
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::IoT::Model::CACertificate
Definition: CACertificate.h:34
Aws::IoT::Model::CACertificate::CACertificate
CACertificate(Aws::Utils::Json::JsonView jsonValue)
Aws::IoT::Model::CACertificateStatus
CACertificateStatus
Definition: CACertificateStatus.h:17
Aws::IoT::Model::CACertificate::SetCreationDate
void SetCreationDate(Aws::Utils::DateTime &&value)
Definition: CACertificate.h:179
Aws::IoT::Model::CACertificate::operator=
CACertificate & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::IoT::Model::CACertificate::SetCertificateId
void SetCertificateId(const Aws::String &value)
Definition: CACertificate.h:96
Aws::IoT::Model::CACertificate::GetCertificateId
const Aws::String & GetCertificateId() const
Definition: CACertificate.h:86
Aws::IoT::Model::CACertificate::WithCreationDate
CACertificate & WithCreationDate(Aws::Utils::DateTime &&value)
Definition: CACertificate.h:189
AWS_IOT_API
#define AWS_IOT_API
Definition: IoT_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::IoT::Model::CACertificate::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: CACertificate.h:45
Aws::IoT::Model::CACertificate::SetCreationDate
void SetCreationDate(const Aws::Utils::DateTime &value)
Definition: CACertificate.h:174
Aws::IoT::Model::CACertificate::CreationDateHasBeenSet
bool CreationDateHasBeenSet() const
Definition: CACertificate.h:169
Aws::IoT::Model::CACertificate::WithCertificateArn
CACertificate & WithCertificateArn(const char *value)
Definition: CACertificate.h:80
IoT_EXPORTS.h
Aws::IoT::Model::CACertificate::CACertificate
CACertificate()