AWS SDK for C++  1.9.16
AWS SDK for C++
CertificateSummary.h
Go to the documentation of this file.
1 
6 #pragma once
12 #include <utility>
13 
14 namespace Aws
15 {
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21  class JsonView;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lightsail
25 {
26 namespace Model
27 {
28 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
48 
52  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
53 
57  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
58 
62  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
63 
67  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
68 
72  inline CertificateSummary& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
73 
77  inline CertificateSummary& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
78 
82  inline CertificateSummary& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
83 
84 
88  inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
89 
93  inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; }
94 
98  inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; }
99 
103  inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); }
104 
108  inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); }
109 
113  inline CertificateSummary& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;}
114 
118  inline CertificateSummary& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;}
119 
123  inline CertificateSummary& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
124 
125 
129  inline const Aws::String& GetDomainName() const{ return m_domainName; }
130 
134  inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
135 
139  inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
140 
144  inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
145 
149  inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
150 
154  inline CertificateSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
155 
159  inline CertificateSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
160 
164  inline CertificateSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
165 
166 
170  inline const Certificate& GetCertificateDetail() const{ return m_certificateDetail; }
171 
175  inline bool CertificateDetailHasBeenSet() const { return m_certificateDetailHasBeenSet; }
176 
180  inline void SetCertificateDetail(const Certificate& value) { m_certificateDetailHasBeenSet = true; m_certificateDetail = value; }
181 
185  inline void SetCertificateDetail(Certificate&& value) { m_certificateDetailHasBeenSet = true; m_certificateDetail = std::move(value); }
186 
190  inline CertificateSummary& WithCertificateDetail(const Certificate& value) { SetCertificateDetail(value); return *this;}
191 
195  inline CertificateSummary& WithCertificateDetail(Certificate&& value) { SetCertificateDetail(std::move(value)); return *this;}
196 
197 
204  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
205 
212  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
213 
220  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
221 
228  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
229 
236  inline CertificateSummary& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
237 
244  inline CertificateSummary& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
245 
252  inline CertificateSummary& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
253 
260  inline CertificateSummary& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
261 
262  private:
263 
264  Aws::String m_certificateArn;
265  bool m_certificateArnHasBeenSet;
266 
267  Aws::String m_certificateName;
268  bool m_certificateNameHasBeenSet;
269 
270  Aws::String m_domainName;
271  bool m_domainNameHasBeenSet;
272 
273  Certificate m_certificateDetail;
274  bool m_certificateDetailHasBeenSet;
275 
276  Aws::Vector<Tag> m_tags;
277  bool m_tagsHasBeenSet;
278  };
279 
280 } // namespace Model
281 } // namespace Lightsail
282 } // namespace Aws
Aws::Lightsail::Model::CertificateSummary::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: CertificateSummary.h:212
Aws::Lightsail::Model::CertificateSummary::SetCertificateDetail
void SetCertificateDetail(Certificate &&value)
Definition: CertificateSummary.h:185
Aws::Lightsail::Model::CertificateSummary::operator=
CertificateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Lightsail::Model::CertificateSummary::CertificateNameHasBeenSet
bool CertificateNameHasBeenSet() const
Definition: CertificateSummary.h:93
Aws::Lightsail::Model::CertificateSummary::SetCertificateName
void SetCertificateName(Aws::String &&value)
Definition: CertificateSummary.h:103
Aws::Lightsail::Model::CertificateSummary::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Lightsail::Model::CertificateSummary::GetCertificateDetail
const Certificate & GetCertificateDetail() const
Definition: CertificateSummary.h:170
Aws::Lightsail::Model::CertificateSummary::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: CertificateSummary.h:57
Aws::Lightsail::Model::CertificateSummary::GetDomainName
const Aws::String & GetDomainName() const
Definition: CertificateSummary.h:129
Aws::Lightsail::Model::CertificateSummary::WithDomainName
CertificateSummary & WithDomainName(const Aws::String &value)
Definition: CertificateSummary.h:154
Aws::Lightsail::Model::CertificateSummary::WithCertificateArn
CertificateSummary & WithCertificateArn(Aws::String &&value)
Definition: CertificateSummary.h:77
Aws::Lightsail::Model::CertificateSummary::WithDomainName
CertificateSummary & WithDomainName(const char *value)
Definition: CertificateSummary.h:164
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::CertificateSummary::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: CertificateSummary.h:204
Aws::Lightsail::Model::CertificateSummary::WithCertificateDetail
CertificateSummary & WithCertificateDetail(Certificate &&value)
Definition: CertificateSummary.h:195
AWSVector.h
Aws::Lightsail::Model::CertificateSummary::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: CertificateSummary.h:52
Aws::Lightsail::Model::CertificateSummary::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: CertificateSummary.h:62
Aws::Lightsail::Model::CertificateSummary::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: CertificateSummary.h:228
Aws::Lightsail::Model::CertificateSummary::SetCertificateDetail
void SetCertificateDetail(const Certificate &value)
Definition: CertificateSummary.h:180
Aws::Lightsail::Model::CertificateSummary::WithCertificateName
CertificateSummary & WithCertificateName(const char *value)
Definition: CertificateSummary.h:123
Certificate.h
Aws::Lightsail::Model::CertificateSummary::GetCertificateName
const Aws::String & GetCertificateName() const
Definition: CertificateSummary.h:88
Tag.h
Aws::Lightsail::Model::CertificateSummary::WithCertificateArn
CertificateSummary & WithCertificateArn(const char *value)
Definition: CertificateSummary.h:82
Aws::Lightsail::Model::CertificateSummary::CertificateDetailHasBeenSet
bool CertificateDetailHasBeenSet() const
Definition: CertificateSummary.h:175
Aws::Lightsail::Model::CertificateSummary::AddTags
CertificateSummary & AddTags(Tag &&value)
Definition: CertificateSummary.h:260
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::Lightsail::Model::Tag
Definition: Tag.h:35
AWSString.h
Aws::Lightsail::Model::Certificate
Definition: Certificate.h:43
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::Lightsail::Model::CertificateSummary::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: CertificateSummary.h:67
Aws::Lightsail::Model::CertificateSummary::SetDomainName
void SetDomainName(const char *value)
Definition: CertificateSummary.h:149
Aws::Lightsail::Model::CertificateSummary::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: CertificateSummary.h:220
Lightsail_EXPORTS.h
Aws::Lightsail::Model::CertificateSummary::SetCertificateName
void SetCertificateName(const char *value)
Definition: CertificateSummary.h:108
Aws::Lightsail::Model::CertificateSummary::WithCertificateArn
CertificateSummary & WithCertificateArn(const Aws::String &value)
Definition: CertificateSummary.h:72
Aws::Lightsail::Model::CertificateSummary::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: CertificateSummary.h:47
Aws::Lightsail::Model::CertificateSummary::SetDomainName
void SetDomainName(Aws::String &&value)
Definition: CertificateSummary.h:144
Aws::Lightsail::Model::CertificateSummary::WithTags
CertificateSummary & WithTags(const Aws::Vector< Tag > &value)
Definition: CertificateSummary.h:236
Aws::Lightsail::Model::CertificateSummary::WithCertificateName
CertificateSummary & WithCertificateName(const Aws::String &value)
Definition: CertificateSummary.h:113
Aws::Lightsail::Model::CertificateSummary::WithDomainName
CertificateSummary & WithDomainName(Aws::String &&value)
Definition: CertificateSummary.h:159
Aws::Lightsail::Model::CertificateSummary::CertificateSummary
CertificateSummary(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::CertificateSummary::WithTags
CertificateSummary & WithTags(Aws::Vector< Tag > &&value)
Definition: CertificateSummary.h:244
Aws::Lightsail::Model::CertificateSummary::SetDomainName
void SetDomainName(const Aws::String &value)
Definition: CertificateSummary.h:139
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Lightsail::Model::CertificateSummary::WithCertificateName
CertificateSummary & WithCertificateName(Aws::String &&value)
Definition: CertificateSummary.h:118
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::CertificateSummary::DomainNameHasBeenSet
bool DomainNameHasBeenSet() const
Definition: CertificateSummary.h:134
Aws::Lightsail::Model::CertificateSummary::AddTags
CertificateSummary & AddTags(const Tag &value)
Definition: CertificateSummary.h:252
Aws::Lightsail::Model::CertificateSummary
Definition: CertificateSummary.h:36
Aws::Lightsail::Model::CertificateSummary::SetCertificateName
void SetCertificateName(const Aws::String &value)
Definition: CertificateSummary.h:98
Aws::Lightsail::Model::CertificateSummary::CertificateSummary
CertificateSummary()
Aws::Lightsail::Model::CertificateSummary::WithCertificateDetail
CertificateSummary & WithCertificateDetail(const Certificate &value)
Definition: CertificateSummary.h:190