AWS SDK for C++  1.9.73
AWS SDK for C++
GetCertificateRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/acm/ACM_EXPORTS.h>
8 #include <aws/acm/ACMRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace ACM
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "GetCertificate"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
44  inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
45 
53  inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
54 
62  inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
63 
71  inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
72 
80  inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
81 
89  inline GetCertificateRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
90 
98  inline GetCertificateRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
99 
107  inline GetCertificateRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
108 
109  private:
110 
111  Aws::String m_certificateArn;
112  bool m_certificateArnHasBeenSet;
113  };
114 
115 } // namespace Model
116 } // namespace ACM
117 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::ACM::Model::GetCertificateRequest::SetCertificateArn
void SetCertificateArn(const char *value)
Definition: GetCertificateRequest.h:80
Aws::ACM::Model::GetCertificateRequest::GetCertificateArn
const Aws::String & GetCertificateArn() const
Definition: GetCertificateRequest.h:44
Aws::ACM::Model::GetCertificateRequest
Definition: GetCertificateRequest.h:22
Aws::ACM::ACMRequest
Definition: ACMRequest.h:17
Aws::ACM::Model::GetCertificateRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetCertificateRequest.h:30
Aws::ACM::Model::GetCertificateRequest::SetCertificateArn
void SetCertificateArn(const Aws::String &value)
Definition: GetCertificateRequest.h:62
Aws::ACM::Model::GetCertificateRequest::WithCertificateArn
GetCertificateRequest & WithCertificateArn(const Aws::String &value)
Definition: GetCertificateRequest.h:89
Aws::ACM::Model::GetCertificateRequest::GetCertificateRequest
GetCertificateRequest()
AWSString.h
ACMRequest.h
Aws::ACM::Model::GetCertificateRequest::CertificateArnHasBeenSet
bool CertificateArnHasBeenSet() const
Definition: GetCertificateRequest.h:53
Aws::ACM::Model::GetCertificateRequest::WithCertificateArn
GetCertificateRequest & WithCertificateArn(const char *value)
Definition: GetCertificateRequest.h:107
ACM_EXPORTS.h
Aws
Definition: AccessManagementClient.h:15
AWS_ACM_API
#define AWS_ACM_API
Definition: ACM_EXPORTS.h:28
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::ACM::Model::GetCertificateRequest::SetCertificateArn
void SetCertificateArn(Aws::String &&value)
Definition: GetCertificateRequest.h:71
Aws::ACM::Model::GetCertificateRequest::WithCertificateArn
GetCertificateRequest & WithCertificateArn(Aws::String &&value)
Definition: GetCertificateRequest.h:98
Aws::ACM::Model::GetCertificateRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::ACM::Model::GetCertificateRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override