AWS SDK for C++  1.9.16
AWS SDK for C++
GetCertificatesResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace Lightsail
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const Aws::Vector<CertificateSummary>& GetCertificates() const{ return m_certificates; }
40 
44  inline void SetCertificates(const Aws::Vector<CertificateSummary>& value) { m_certificates = value; }
45 
49  inline void SetCertificates(Aws::Vector<CertificateSummary>&& value) { m_certificates = std::move(value); }
50 
54  inline GetCertificatesResult& WithCertificates(const Aws::Vector<CertificateSummary>& value) { SetCertificates(value); return *this;}
55 
59  inline GetCertificatesResult& WithCertificates(Aws::Vector<CertificateSummary>&& value) { SetCertificates(std::move(value)); return *this;}
60 
64  inline GetCertificatesResult& AddCertificates(const CertificateSummary& value) { m_certificates.push_back(value); return *this; }
65 
69  inline GetCertificatesResult& AddCertificates(CertificateSummary&& value) { m_certificates.push_back(std::move(value)); return *this; }
70 
71  private:
72 
73  Aws::Vector<CertificateSummary> m_certificates;
74  };
75 
76 } // namespace Model
77 } // namespace Lightsail
78 } // namespace Aws
Aws::Lightsail::Model::GetCertificatesResult::SetCertificates
void SetCertificates(Aws::Vector< CertificateSummary > &&value)
Definition: GetCertificatesResult.h:49
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::GetCertificatesResult::GetCertificates
const Aws::Vector< CertificateSummary > & GetCertificates() const
Definition: GetCertificatesResult.h:39
Aws::Lightsail::Model::GetCertificatesResult::WithCertificates
GetCertificatesResult & WithCertificates(const Aws::Vector< CertificateSummary > &value)
Definition: GetCertificatesResult.h:54
CertificateSummary.h
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::Lightsail::Model::GetCertificatesResult::GetCertificatesResult
GetCertificatesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSVector.h
Aws::Lightsail::Model::GetCertificatesResult
Definition: GetCertificatesResult.h:29
Aws::Lightsail::Model::GetCertificatesResult::AddCertificates
GetCertificatesResult & AddCertificates(const CertificateSummary &value)
Definition: GetCertificatesResult.h:64
Aws::Lightsail::Model::GetCertificatesResult::AddCertificates
GetCertificatesResult & AddCertificates(CertificateSummary &&value)
Definition: GetCertificatesResult.h:69
Lightsail_EXPORTS.h
Aws::Lightsail::Model::GetCertificatesResult::GetCertificatesResult
GetCertificatesResult()
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::GetCertificatesResult::WithCertificates
GetCertificatesResult & WithCertificates(Aws::Vector< CertificateSummary > &&value)
Definition: GetCertificatesResult.h:59
Aws::Lightsail::Model::GetCertificatesResult::operator=
GetCertificatesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Aws::Lightsail::Model::GetCertificatesResult::SetCertificates
void SetCertificates(const Aws::Vector< CertificateSummary > &value)
Definition: GetCertificatesResult.h:44
Aws::Lightsail::Model::CertificateSummary
Definition: CertificateSummary.h:36