AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CertificateSummary.h
1
6#pragma once
7#include <aws/lightsail/Lightsail_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lightsail/model/Certificate.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/lightsail/model/Tag.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace Lightsail
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_LIGHTSAIL_API CertificateSummary();
39 AWS_LIGHTSAIL_API CertificateSummary(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
49 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
50 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
51 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
52 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
53 inline CertificateSummary& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
54 inline CertificateSummary& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
55 inline CertificateSummary& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
57
59
62 inline const Aws::String& GetCertificateName() const{ return m_certificateName; }
63 inline bool CertificateNameHasBeenSet() const { return m_certificateNameHasBeenSet; }
64 inline void SetCertificateName(const Aws::String& value) { m_certificateNameHasBeenSet = true; m_certificateName = value; }
65 inline void SetCertificateName(Aws::String&& value) { m_certificateNameHasBeenSet = true; m_certificateName = std::move(value); }
66 inline void SetCertificateName(const char* value) { m_certificateNameHasBeenSet = true; m_certificateName.assign(value); }
67 inline CertificateSummary& WithCertificateName(const Aws::String& value) { SetCertificateName(value); return *this;}
68 inline CertificateSummary& WithCertificateName(Aws::String&& value) { SetCertificateName(std::move(value)); return *this;}
69 inline CertificateSummary& WithCertificateName(const char* value) { SetCertificateName(value); return *this;}
71
73
76 inline const Aws::String& GetDomainName() const{ return m_domainName; }
77 inline bool DomainNameHasBeenSet() const { return m_domainNameHasBeenSet; }
78 inline void SetDomainName(const Aws::String& value) { m_domainNameHasBeenSet = true; m_domainName = value; }
79 inline void SetDomainName(Aws::String&& value) { m_domainNameHasBeenSet = true; m_domainName = std::move(value); }
80 inline void SetDomainName(const char* value) { m_domainNameHasBeenSet = true; m_domainName.assign(value); }
81 inline CertificateSummary& WithDomainName(const Aws::String& value) { SetDomainName(value); return *this;}
82 inline CertificateSummary& WithDomainName(Aws::String&& value) { SetDomainName(std::move(value)); return *this;}
83 inline CertificateSummary& WithDomainName(const char* value) { SetDomainName(value); return *this;}
85
87
90 inline const Certificate& GetCertificateDetail() const{ return m_certificateDetail; }
91 inline bool CertificateDetailHasBeenSet() const { return m_certificateDetailHasBeenSet; }
92 inline void SetCertificateDetail(const Certificate& value) { m_certificateDetailHasBeenSet = true; m_certificateDetail = value; }
93 inline void SetCertificateDetail(Certificate&& value) { m_certificateDetailHasBeenSet = true; m_certificateDetail = std::move(value); }
94 inline CertificateSummary& WithCertificateDetail(const Certificate& value) { SetCertificateDetail(value); return *this;}
95 inline CertificateSummary& WithCertificateDetail(Certificate&& value) { SetCertificateDetail(std::move(value)); return *this;}
97
99
105 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
106 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
107 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
108 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
109 inline CertificateSummary& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
110 inline CertificateSummary& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
111 inline CertificateSummary& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
112 inline CertificateSummary& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
114 private:
115
116 Aws::String m_certificateArn;
117 bool m_certificateArnHasBeenSet = false;
118
119 Aws::String m_certificateName;
120 bool m_certificateNameHasBeenSet = false;
121
122 Aws::String m_domainName;
123 bool m_domainNameHasBeenSet = false;
124
125 Certificate m_certificateDetail;
126 bool m_certificateDetailHasBeenSet = false;
127
128 Aws::Vector<Tag> m_tags;
129 bool m_tagsHasBeenSet = false;
130 };
131
132} // namespace Model
133} // namespace Lightsail
134} // namespace Aws
void SetCertificateDetail(const Certificate &value)
CertificateSummary & WithCertificateArn(Aws::String &&value)
AWS_LIGHTSAIL_API CertificateSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
CertificateSummary & AddTags(Tag &&value)
void SetTags(const Aws::Vector< Tag > &value)
CertificateSummary & WithTags(const Aws::Vector< Tag > &value)
CertificateSummary & AddTags(const Tag &value)
CertificateSummary & WithDomainName(const Aws::String &value)
CertificateSummary & WithCertificateArn(const char *value)
CertificateSummary & WithDomainName(const char *value)
const Certificate & GetCertificateDetail() const
CertificateSummary & WithCertificateName(Aws::String &&value)
void SetCertificateName(const Aws::String &value)
CertificateSummary & WithCertificateDetail(Certificate &&value)
CertificateSummary & WithTags(Aws::Vector< Tag > &&value)
const Aws::String & GetCertificateName() const
const Aws::String & GetCertificateArn() const
AWS_LIGHTSAIL_API CertificateSummary(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Vector< Tag > &&value)
CertificateSummary & WithCertificateName(const Aws::String &value)
void SetCertificateArn(const Aws::String &value)
AWS_LIGHTSAIL_API Aws::Utils::Json::JsonValue Jsonize() const
CertificateSummary & WithCertificateArn(const Aws::String &value)
CertificateSummary & WithCertificateName(const char *value)
const Aws::Vector< Tag > & GetTags() const
CertificateSummary & WithCertificateDetail(const Certificate &value)
void SetDomainName(const Aws::String &value)
CertificateSummary & WithDomainName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue