AWS SDK for C++  1.9.106
AWS SDK for C++
CreateCertificateResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace Lightsail
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
40  inline const CertificateSummary& GetCertificate() const{ return m_certificate; }
41 
45  inline void SetCertificate(const CertificateSummary& value) { m_certificate = value; }
46 
50  inline void SetCertificate(CertificateSummary&& value) { m_certificate = std::move(value); }
51 
55  inline CreateCertificateResult& WithCertificate(const CertificateSummary& value) { SetCertificate(value); return *this;}
56 
60  inline CreateCertificateResult& WithCertificate(CertificateSummary&& value) { SetCertificate(std::move(value)); return *this;}
61 
62 
68  inline const Aws::Vector<Operation>& GetOperations() const{ return m_operations; }
69 
75  inline void SetOperations(const Aws::Vector<Operation>& value) { m_operations = value; }
76 
82  inline void SetOperations(Aws::Vector<Operation>&& value) { m_operations = std::move(value); }
83 
89  inline CreateCertificateResult& WithOperations(const Aws::Vector<Operation>& value) { SetOperations(value); return *this;}
90 
96  inline CreateCertificateResult& WithOperations(Aws::Vector<Operation>&& value) { SetOperations(std::move(value)); return *this;}
97 
103  inline CreateCertificateResult& AddOperations(const Operation& value) { m_operations.push_back(value); return *this; }
104 
110  inline CreateCertificateResult& AddOperations(Operation&& value) { m_operations.push_back(std::move(value)); return *this; }
111 
112  private:
113 
114  CertificateSummary m_certificate;
115 
116  Aws::Vector<Operation> m_operations;
117  };
118 
119 } // namespace Model
120 } // namespace Lightsail
121 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::Lightsail::Model::CreateCertificateResult
Definition: CreateCertificateResult.h:30
CertificateSummary.h
Aws::Lightsail::Model::Operation
Definition: Operation.h:37
Aws::Lightsail::Model::CreateCertificateResult::AddOperations
CreateCertificateResult & AddOperations(Operation &&value)
Definition: CreateCertificateResult.h:110
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::Lightsail::Model::CreateCertificateResult::GetOperations
const Aws::Vector< Operation > & GetOperations() const
Definition: CreateCertificateResult.h:68
Aws::Lightsail::Model::CreateCertificateResult::GetCertificate
const CertificateSummary & GetCertificate() const
Definition: CreateCertificateResult.h:40
Aws::Lightsail::Model::CreateCertificateResult::CreateCertificateResult
CreateCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::CreateCertificateResult::SetOperations
void SetOperations(Aws::Vector< Operation > &&value)
Definition: CreateCertificateResult.h:82
Aws::Lightsail::Model::CreateCertificateResult::SetCertificate
void SetCertificate(CertificateSummary &&value)
Definition: CreateCertificateResult.h:50
Lightsail_EXPORTS.h
Aws::Lightsail::Model::CreateCertificateResult::WithOperations
CreateCertificateResult & WithOperations(Aws::Vector< Operation > &&value)
Definition: CreateCertificateResult.h:96
Aws::Lightsail::Model::CreateCertificateResult::CreateCertificateResult
CreateCertificateResult()
Aws::Lightsail::Model::CreateCertificateResult::AddOperations
CreateCertificateResult & AddOperations(const Operation &value)
Definition: CreateCertificateResult.h:103
Aws::Lightsail::Model::CreateCertificateResult::WithOperations
CreateCertificateResult & WithOperations(const Aws::Vector< Operation > &value)
Definition: CreateCertificateResult.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::Lightsail::Model::CreateCertificateResult::SetOperations
void SetOperations(const Aws::Vector< Operation > &value)
Definition: CreateCertificateResult.h:75
AWS_LIGHTSAIL_API
#define AWS_LIGHTSAIL_API
Definition: Lightsail_EXPORTS.h:28
Operation.h
Aws::Lightsail::Model::CreateCertificateResult::WithCertificate
CreateCertificateResult & WithCertificate(CertificateSummary &&value)
Definition: CreateCertificateResult.h:60
Aws::Lightsail::Model::CertificateSummary
Definition: CertificateSummary.h:36
Aws::Lightsail::Model::CreateCertificateResult::SetCertificate
void SetCertificate(const CertificateSummary &value)
Definition: CreateCertificateResult.h:45
Aws::Lightsail::Model::CreateCertificateResult::operator=
CreateCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Lightsail::Model::CreateCertificateResult::WithCertificate
CreateCertificateResult & WithCertificate(const CertificateSummary &value)
Definition: CreateCertificateResult.h:55