AWS SDK for C++  1.9.156
AWS SDK for C++
DescribeCertificateResult.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 template<typename RESULT_TYPE>
14 class AmazonWebServiceResult;
15 
16 namespace Utils
17 {
18 namespace Json
19 {
20  class JsonValue;
21 } // namespace Json
22 } // namespace Utils
23 namespace DirectoryService
24 {
25 namespace Model
26 {
28  {
29  public:
33 
34 
40  inline const Certificate& GetCertificate() const{ return m_certificate; }
41 
47  inline void SetCertificate(const Certificate& value) { m_certificate = value; }
48 
54  inline void SetCertificate(Certificate&& value) { m_certificate = std::move(value); }
55 
61  inline DescribeCertificateResult& WithCertificate(const Certificate& value) { SetCertificate(value); return *this;}
62 
68  inline DescribeCertificateResult& WithCertificate(Certificate&& value) { SetCertificate(std::move(value)); return *this;}
69 
70  private:
71 
72  Certificate m_certificate;
73  };
74 
75 } // namespace Model
76 } // namespace DirectoryService
77 } // namespace Aws
Aws::DirectoryService::Model::DescribeCertificateResult::DescribeCertificateResult
DescribeCertificateResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_DIRECTORYSERVICE_API
#define AWS_DIRECTORYSERVICE_API
Definition: DirectoryService_EXPORTS.h:28
Aws::DirectoryService::Model::Certificate
Definition: Certificate.h:36
DirectoryService_EXPORTS.h
Aws::DirectoryService::Model::DescribeCertificateResult::GetCertificate
const Certificate & GetCertificate() const
Definition: DescribeCertificateResult.h:40
Aws::DirectoryService::Model::DescribeCertificateResult::SetCertificate
void SetCertificate(const Certificate &value)
Definition: DescribeCertificateResult.h:47
Aws::DirectoryService::Model::DescribeCertificateResult::operator=
DescribeCertificateResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::DirectoryService::Model::DescribeCertificateResult::WithCertificate
DescribeCertificateResult & WithCertificate(const Certificate &value)
Definition: DescribeCertificateResult.h:61
Aws::DirectoryService::Model::DescribeCertificateResult::SetCertificate
void SetCertificate(Certificate &&value)
Definition: DescribeCertificateResult.h:54
Aws::DirectoryService::Model::DescribeCertificateResult::DescribeCertificateResult
DescribeCertificateResult()
Aws::DirectoryService::Model::DescribeCertificateResult
Definition: DescribeCertificateResult.h:28
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::DirectoryService::Model::DescribeCertificateResult::WithCertificate
DescribeCertificateResult & WithCertificate(Certificate &&value)
Definition: DescribeCertificateResult.h:68
Certificate.h