AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetCertificateRequest.h
1
6#pragma once
7#include <aws/acm/ACM_EXPORTS.h>
8#include <aws/acm/ACMRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace ACM
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_ACM_API GetCertificateRequest();
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_ACM_API Aws::String SerializePayload() const override;
33
35
36
38
45 inline const Aws::String& GetCertificateArn() const{ return m_certificateArn; }
46 inline bool CertificateArnHasBeenSet() const { return m_certificateArnHasBeenSet; }
47 inline void SetCertificateArn(const Aws::String& value) { m_certificateArnHasBeenSet = true; m_certificateArn = value; }
48 inline void SetCertificateArn(Aws::String&& value) { m_certificateArnHasBeenSet = true; m_certificateArn = std::move(value); }
49 inline void SetCertificateArn(const char* value) { m_certificateArnHasBeenSet = true; m_certificateArn.assign(value); }
50 inline GetCertificateRequest& WithCertificateArn(const Aws::String& value) { SetCertificateArn(value); return *this;}
51 inline GetCertificateRequest& WithCertificateArn(Aws::String&& value) { SetCertificateArn(std::move(value)); return *this;}
52 inline GetCertificateRequest& WithCertificateArn(const char* value) { SetCertificateArn(value); return *this;}
54 private:
55
56 Aws::String m_certificateArn;
57 bool m_certificateArnHasBeenSet = false;
58 };
59
60} // namespace Model
61} // namespace ACM
62} // namespace Aws
void SetCertificateArn(const Aws::String &value)
GetCertificateRequest & WithCertificateArn(const char *value)
GetCertificateRequest & WithCertificateArn(Aws::String &&value)
AWS_ACM_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
virtual const char * GetServiceRequestName() const override
AWS_ACM_API Aws::String SerializePayload() const override
const Aws::String & GetCertificateArn() const
GetCertificateRequest & WithCertificateArn(const Aws::String &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String