AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
GetCertificateRequest.h
1
6#pragma once
7#include <aws/acm/ACMRequest.h>
8#include <aws/acm/ACM_EXPORTS.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10
11#include <utility>
12
13namespace Aws {
14namespace ACM {
15namespace Model {
16
20 public:
21 AWS_ACM_API GetCertificateRequest() = default;
22
23 // Service request name is the Operation name which will send this request out,
24 // each operation should has unique request name, so that we can get operation's name from this request.
25 // Note: this is not true for response, multiple operations may have the same response name,
26 // so we can not get operation's name from response.
27 inline virtual const char* GetServiceRequestName() const override { return "GetCertificate"; }
28
29 AWS_ACM_API Aws::String SerializePayload() const override;
30
32
34
41 inline const Aws::String& GetCertificateArn() const { return m_certificateArn; }
42 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
43 template <typename CertificateArnT = Aws::String>
44 void SetCertificateArn(CertificateArnT&& value) {
45 m_certificateArnHasBeenSet = true;
46 m_certificateArn = std::forward<CertificateArnT>(value);
47 }
48 template <typename CertificateArnT = Aws::String>
49 GetCertificateRequest& WithCertificateArn(CertificateArnT&& value) {
50 SetCertificateArn(std::forward<CertificateArnT>(value));
51 return *this;
52 }
54 private:
55 Aws::String m_certificateArn;
56 bool m_certificateArnHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace ACM
61} // namespace Aws
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetCertificateArn(CertificateArnT &&value)
virtual const char * GetServiceRequestName() const override
GetCertificateRequest & WithCertificateArn(CertificateArnT &&value)
AWS_ACM_API GetCertificateRequest()=default
AWS_ACM_API Aws::String SerializePayload() const override
const Aws::String & GetCertificateArn() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String